Problem with shared lib built with glibc-2.2.2-3
I just built and the latest glibc 2.2.2-3 from incoming and
then proceeded to rebuild and installed zlib 1.1.3-13.
After that I tried to build gdm, but this fails with
...
make[2]: Entering directory `/home/rsch/incoming/Debian/foo/gdm-2.0/build-tree/gdm-2.0beta4/daemon'
/bin/sh ../libtool --mode=link gcc -g -O2 -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o gdm gdm.o slave.o server.o verify.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -lXdmcp -lXau -lX11 -lpam -lnsl /usr/lib/libwrap.a
gcc -g -O2 -g -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -o gdm gdm.o slave.o server.o verify.o misc.o auth.o cookie.o xdmcp.o choose.o filecheck.o md5.o -rdynamic -L/usr/lib -L/usr/X11R6/lib -lgnome -lgnomesupport -lesd -laudiofile -lm -ldb -lglib -ldl -lXdmcp -lXau -lX11 -lpam -lnsl /usr/lib/libwrap.a
/usr/lib/libz.so.1: undefined reference to `atexit'
collect2: ld returned 1 exit status
If I reinstall zlib 1.1.3-12 which was build against glibc <= 2.2.2-1
the link succeeds. The failure is probably not specific to gdm.
Note that no explicit `-lz' is present in the link command -
libz gets pulled in by libgnome. If I add `-lz´ to the link
it succeeds.
Comparing the glibc_2.2.2-{1,3} diffs I see that atexit was moved
from libc.so.6 to libc_nonshared.a.
Relevant package versions:
ii libc6 2.2.2-3
ii libc6-dev 2.2.2-3
ii kernel-headers-2.4.2 2.4.2-1
ii binutils 2.11.90.0.1-1
ii gcc-2.95 2.95.3-8
Cheers, Roderich
--
Mulder: What ever tape you found in the VCR, it isn't mine.
Scully: Good, because I put it back in the drawer
with all the other tapes which aren't yours.
-- The X Files
Roderich Schupp mailto:rsch@ExperTeam.de
ExperTeam GmbH http://www.experteam.de/
Munich, Germany
Reply to: