shared lib problem with atexit
Jakub Jelinek
jakub@redhat.com
Wed May 9 06:14:00 GMT 2001
On Wed, May 09, 2001 at 02:50:13PM +0200, Bruno Haible wrote:
> Copy the files to a glibc-2.2.3 system under /root.
...
> # gcc -shared -O -Wall low.c -o liblow.so
^^^ what gcc is this?
If it is not gcc 2.95.4 CVS, gcc-2.96-RH of recent vintage, gcc-3_0-branch
of recent vintage or recent gcc CVS head, then it will not work as you
describe on ia32. The issue is that those gcc's referenced atexit (as
workaround for some libc 5 bugs I think) in crtendS.o (and as this is
always after -lc, atexit.oS from libc_nonshared.a simply was not brought
in).
I'd say it is a user bug not to use one of the above compilers with
glibc 2.2.3.
Jakub
More information about the Libc-alpha
mailing list