shared lib problem with atexit
H . J . Lu
hjl@lucon.org
Tue May 8 08:43:00 GMT 2001
On Tue, May 08, 2001 at 08:31:46AM -0700, Ulrich Drepper wrote:
> Bruno Haible <haible@ilog.fr> writes:
>
> > With recent glibc, I'm getting a link error when trying to build applications
> > using libqt. I don't understand where the problem lies - in libc or in the
> > linker.
>
> Kick the qt people. They most definitely have built the DSO without
> linking with libc.
That is probably true. However, it does break DSOs compiled against
glibc 2.0.x. I am thinking if we should add a libc-compat.a or
something like that. We can build it with
# $(CC) -nostdlib -nostartfiles -r libc-compat.a atexit.oS
If people have to use those DSOs, they can add -lc_compat.
H.J.
More information about the Libc-alpha
mailing list