This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: Handle undefined symbol in DSO from DT_NEEDED


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]