shared lib problem with atexit

Ben Collins bcollins@debian.org
Tue May 8 18:26:00 GMT 2001


On Tue, May 08, 2001 at 07:24:40PM +0200, Bruno Haible wrote:
> Ulrich Drepper writes:
> 
> > Kick the qt people.  They most definitely have built the DSO without
> > linking with libc.
> 
> Why should they build their libqt with "-lc"? It is necessary to give
> all the dependencies on the link command line on AIX. But in ELF this
> has not been necessary since 1995.

They don't have to. However, they use "ld" to link the objects instead
of gcc. With ld, -lc is not implicit, as it is with gcc as the linker.

That is their mistake.

Ben

-- 
 -----------=======-=-======-=========-----------=====------------=-=------
/  Ben Collins  --  ...on that fantastic voyage...  --  Debian GNU/Linux   \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



More information about the Libc-alpha mailing list