PATCH: Handle undefined symbol in DSO from DT_NEEDED

H . J . Lu hjl@lucon.org
Tue May 8 21:30:00 GMT 2001


On Tue, May 08, 2001 at 09:25:42PM -0700, Ulrich Drepper wrote:
> "H . J . Lu" <hjl@lucon.org> writes:
> 
> > glibc 2.2.3 changes atexit from default to hidden. DSOs with
> > unversioned references to atexit fail to link if they are loaded
> > in via a DT_NEEDED entry. This patch makes it non-fatal. I will
> > check it in if I don't hear any objections by Thursday.
> 
> Why should the linker ignore bugs?  Don't work around problems users
> introduced.  Make them fix their code.
> 

DSOs compiled against glibc 2.0 may have unversioned references to
atexit. I won't blame people for compiling DSOs against glibc 2.0.


H.J.



More information about the Libc-alpha mailing list