[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#156157: libc6: Several _dl_ symbols cannot be resolved.



Please use <stephen@xemacs.org> to reply if at all convenient.  The
@tleepslib address seems to not be working (the University CC won't
give me an MX? or maybe it's our packet filcher).  If not, I'll check
the website, but I won't respond as quickly in that case.

>>>>> "ben" = Ben Collins <bcollins@debian.org> writes

    ben> Run this with verbose output. I can't replicate the
    ben> problem. Maybe you have some local brokeness?

Only in the sense that you can't replicate it, so it must be specific
to my system, I think.

With the exception of the kernel, which is a local config from stock
Linus (or Allen Cox?) sources with _no_ patches:

Linux tleepslib 2.2.18 #1 SMP Tue Dec 26 11:36:10 JST 2000 i686 unknown unknown GNU/Linux

my toolchain is stock Debian unstable.  The only other locally built
stuff I use is Emacs, XEmacs, Coda (file system), and Ghostscript
... nothing likely to affect the build of that trivial program.

Other information: there was a similar report involving _dl_* symbols
(I've looked but can't find it) on an XEmacs channel involving Red Hat
Linux (IIRC).  The poster followed up to explain "it was a library
incompatibility, not an XEmacs problem," but unfortunately that's all
I know about it.  If I find the post I'll try to get more information.

I've tried downgrading the libc6, libc6-dev, gcc-2.95, and binutils
packages to

binutils_2.12.90.0.14-1_i386.deb
libc6_2.2.5-12_i386.deb
libc6-dev_2.2.5-12_i386.deb
gcc-2.95_1%3a2.95.4-10_i386.deb

with no luck (ie, the same results as below).  The dates on these
"older" .debs in /var/cache/apt/archive indicate that they were all
installed _later_ than the last build I can confirm on this box
(07/16; gcc 2.95.4-10 is dated 07/15 but the update that downloaded it
was probably on 07/21).  So whatever changed probably happened between
July 1 and July 20.

nm shows those symbols in libc-2.2.5.so (all "U") and in ld-2.2.5.so
(all "B" or "T") only, for the dynamic libraries in /lib.

Here are the verbose versions (this time I include gcc-3 output just
in case, but it looks the same to me) -- I hope gcc -v is what you
meant by "verbose".

-------------------------------- gcc 2.95.4 --------------------------------
bash-2.05b$ gcc -v test.c
Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)
 /usr/lib/gcc-lib/i386-linux/2.95.4/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -D__ELF__ -Dunix -D__i386__ -Dlinux -D__ELF__ -D__unix__ -D__i386__ -D__linux__ -D__unix -D__linux -Asystem(posix) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ test.c /tmp/ccyOEkBI.i
GNU CPP version 2.95.4 20011002 (Debian prerelease) (i386 Linux/ELF)
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/2.95.4/include
 /usr/include
End of search list.
The following default directories have been omitted from the search path:
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3
 /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../i386-linux/include
End of omitted list.
 /usr/lib/gcc-lib/i386-linux/2.95.4/cc1 /tmp/ccyOEkBI.i -quiet -dumpbase test.c -version -o /tmp/ccQvCokl.s
GNU C version 2.95.4 20011002 (Debian prerelease) (i386-linux) compiled by GNU C version 2.95.4 20011002 (Debian prerelease).
 as -V -Qy -o /tmp/ccm2UnDZ.o /tmp/ccQvCokl.s
GNU assembler version 2.12.90.0.15 (i386-linux) using BFD version 2.12.90.0.15 20020717 Debian GNU/Linux
 /usr/lib/gcc-lib/i386-linux/2.95.4/collect2 -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i386-linux/2.95.4/crtbegin.o -L/usr/lib/gcc-lib/i386-linux/2.95.4 /tmp/ccm2UnDZ.o -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-linux/2.95.4/crtend.o /usr/lib/crtn.o
/lib/libc.so.6: undefined reference to `_dl_clktck@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_pagesize@GLIBC_2.2'
collect2: ld returned 1 exit status
bash-2.05b$ 

-------------------------------- gcc 3.0.4 --------------------------------
bash-2.05b$ gcc-3.0 -v test.c
Reading specs from /usr/lib/gcc-lib/i386-linux/3.0.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,objc --prefix=/usr --infodir=/share/info --mandir=/share/man --enable-shared --with-gnu-as --with-gnu-ld --with-system-zlib --enable-long-long --enable-nls --without-included-gettext --disable-checking --enable-threads=posix --enable-java-gc=boehm --with-cpp-install-dir=bin --enable-objc-gc i386-linux
Thread model: posix
gcc version 3.0.4
 /usr/lib/gcc-lib/i386-linux/3.0.4/cc1 -lang-c -v -D__GNUC__=3 -D__GNUC_MINOR__=0 -D__GNUC_PATCHLEVEL__=4 -D__ELF__ -Dunix -Dlinux -D__ELF__ -D__unix__ -D__linux__ -D__unix -D__linux -Asystem=posix -D__NO_INLINE__ -D__STDC_HOSTED__=1 -Acpu=i386 -Amachine=i386 -Di386 -D__i386 -D__i386__ -D__tune_i386__ test.c -quiet -dumpbase test.c -version -o /tmp/ccWN5dp1.s
GNU CPP version 3.0.4 (cpplib) (i386 Linux/ELF)
GNU C version 3.0.4 (i386-linux)
        compiled by GNU C version 3.0.4.
ignoring nonexistent directory "/usr/i386-linux/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc-lib/i386-linux/3.0.4/include
 /usr/include
End of search list.
 as -V -Qy -o /tmp/cc61bbB8.o /tmp/ccWN5dp1.s
GNU assembler version 2.12.90.0.15 (i386-linux) using BFD version 2.12.90.0.15 20020717 Debian GNU/Linux
 /usr/lib/gcc-lib/i386-linux/3.0.4/collect2 -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/gcc-lib/i386-linux/3.0.4/../../../crt1.o /usr/lib/gcc-lib/i386-linux/3.0.4/../../../crti.o /usr/lib/gcc-lib/i386-linux/3.0.4/crtbegin.o -L/usr/lib/gcc-lib/i386-linux/3.0.4 -L/usr/lib/gcc-lib/i386-linux/3.0.4/../../.. /tmp/cc61bbB8.o -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-linux/3.0.4/crtend.o /usr/lib/gcc-lib/i386-linux/3.0.4/../../../crtn.o
/lib/libc.so.6: undefined reference to `_dl_clktck@GLIBC_2.2'
/lib/libc.so.6: undefined reference to `_dl_debug_mask@GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_debug_printf@GLIBC_2.2.3'
/lib/libc.so.6: undefined reference to `_dl_pagesize@GLIBC_2.2'
collect2: ld returned 1 exit status
bash-2.05b$ 


-- 
Institute of Policy and Planning Sciences     http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
 My nostalgia for Icon makes me forget about any of the bad things.  I don't
have much nostalgia for Perl, so its faults I remember.  Scott Gilbert c.l.py



Reply to: