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: Ulrich Drepper <drepper at cygnus dot com>
- Subject: Re: PATCH: Handle undefined symbol in DSO from DT_NEEDED
- From: Dale Scheetz <dwarf at polaris dot net>
- Date: Wed, 9 May 2001 08:40:30 -0400 (EDT)
- cc: "H . J . Lu" <hjl at lucon dot org>, binutils at sourceware dot cygnus dot com, libc-alpha at sources dot redhat dot com
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.
According to this spec glibc is flawed in not presenting this interface.
Fix your code!
Luck,
Dwarf
--
_-_-_-_-_- Author of "Dwarf's Guide to Debian GNU/Linux" _-_-_-_-_-_-
_- _-
_- aka Dale Scheetz Phone: 1 (850) 656-9769 _-
_- Flexible Software 11000 McCrackin Road _-
_- e-mail: dwarf@polaris.net Tallahassee, FL 32308 _-
_- _-
_-_-_-_-_- Released under the GNU Free Documentation License _-_-_-_-
available at: http://www.polaris.net/~dwarf/