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: shared lib problem with atexit


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


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