SOURCES: elfutils-gcc34.patch - stage 5, NFY (6 of 31 tests failed).

Paweł Sikora pluto w ds14.agh.edu.pl
Pią, 2 Kwi 2004, 15:10:57 CEST


On Friday 02 of April 2004 14:48, pluto wrote:
> Author: pluto                        Date: Fri Apr  2 12:48:13 2004 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - stage 5, NFY (6 of 31 tests failed).

zarowno pod gcc3.3.3 jak i gcc3.4 sypie sie 6 testow
z okazji memory fault.

[pluto]-[~/rpm/BUILD/elfutils-0.94/tests]
# ldd ./get-pubnames

libdw.so.1 
=> /home/users/pluto/rpm/BUILD/elfutils-0.94/tests/../libdw/libdw.so.1
(0x4001f000)
libelf.so.1
=> /home/users/pluto/rpm/BUILD/elfutils-0.94/tests/../libelf/libelf.so.1
(0x4002a000)
libc.so.6 => /lib/libc.so.6 (0x4004e000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


co ciekawe, powodem wysypki nie sa same testy, a linker!

# ./get-pubnames ../libelf/libelf.so && echo $?
0

# ld get-pubnames ../libdw/libdw.so ../libelf/libelf.so

../libdw/libdw.so(.dynamic+0x0): multiple definition of
 `_DYNAMIC' get-pubnames(.dynamic+0x0): first defined here
../libdw/libdw.so(.got.plt+0x0): multiple definition of 
`_GLOBAL_OFFSET_TABLE_' get-pubnames(.got+0x0): first defined here
Naruszenie ochrony pamięci

wyglada na to, ze (systemowy) ld (aktualnie ten z elfutils-0.89)
wyklada sie przy relinku bibliotek, z ktorymi binarka juz jest zlinkowana.
ktos ma pomysla?

-- 
If you think of MS-DOS as mono, and Windows as stereo,
  then Linux is Dolby Digital and all the music is free...



Więcej informacji o liście dyskusyjnej pld-devel-pl