This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Symbol was GLOBAL DEFAULT, now it's LOCAL HIDDEN.
- From: Carlos O'Donell <carlos at baldric dot uwo dot ca>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 28 Jan 2003 13:05:38 -0500
- Subject: Symbol was GLOBAL DEFAULT, now it's LOCAL HIDDEN.
libc-alpha,
Just a quick question about symbols and their leaking. On HPPA we had a
number of symbol visibility bugs with binutils. These have been recently
fixed, and as such it seem that this has broken a few programs that
required relocations against these symbols that are now hidden.
The victim /usr/bin/wget :
Relocation section '.rela.dyn' at offset 0x1814 contains 6 entries:
Offset Info Type Sym.Value Sym. Name + Addend
00060ca4 00007801 R_PARISC_DIR32 00000000 __clz_tab + 0
...
120: 00000000 256 OBJECT GLOBAL DEFAULT UND __clz_tab
...
The old library /usr/lib/libcrypto.so.0.9.6:
1422: 000c97d4 256 OBJECT GLOBAL DEFAULT 11 __clz_tab
The new library before stripping:
1292: 000c6edc 256 OBJECT LOCAL HIDDEN 11 __clz_tab
# wget
wget: relocation error: wget: undefined symbol: __clz_tab
Is the solution to add a compat symbol in glibc?
Thank you for your help.
Cheers,
Carlos.