This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Handle undefined symbol in DSO from DT_NEEDED
- To: Dale Scheetz <dwarf at polaris dot net>
- Subject: Re: PATCH: Handle undefined symbol in DSO from DT_NEEDED
- From: Andreas Jaeger <aj at suse dot de>
- Date: 09 May 2001 14:48:22 +0200
- Cc: Ulrich Drepper <drepper at cygnus dot com>,"H . J . Lu" <hjl at lucon dot org>, binutils at sourceware dot cygnus dot com,libc-alpha at sources dot redhat dot com
- References: <Pine.LNX.3.96.1010509083817.423W-100000@dwarf>
Dale Scheetz <dwarf@polaris.net> writes:
> On 8 May 2001, 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.
>
> The current SUS (draft 6) clearly specifies atexit as a visible interface.
2.2.3 has still atexit as interface but it's moved from libc.so to
libc_nonshared.so.
>
> According to this spec glibc is flawed in not presenting this interface.
>
>
> Fix your code!
Get the facts right before you flame, glibc 2.2.3 is fine - the
problem are broken libs.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj