Undefined weak symbol bug
Roland McGrath
roland@redhat.com
Sat Mar 29 03:32:00 GMT 2003
I am not convinced there is any dynamic linker bug here. There are
definitely ld bugs. I don't see what would still be wrong if those were
fixed, however. Because of the hidden visiblity, both symbols ought to
have been resolved to zero at link time.
The "main_hidden" case shows an ld bug in producing a local .bss value in
the executable as if for a copy reloc. The R_386_NONE reloc generated is
probably the remnant of the R_386_COPY it thought it was going to produce.
The "shared_hidden" case shows an ld bug in producing a .dynsym entry at all
rather than resolving it to zero at link time.
More information about the Libc-alpha
mailing list