glibc64 install failure

Peter Lawthers Peter.Lawthers at datadomain.com
Fri Nov 18 14:27:36 PST 2005


I'm trying to use gcc 3.4.4 and glibc 2.3.5 in a multi-lib compile for 
amd64. When
I get to the chroot phase doing the install of glibc64, I get an 
installation
error that I've tracked down to the perl script that tests the installation.
The 32 bit version works fine.

root:/sources/glibc-2.3.5#  CC="gcc -m64" /tools/bin/perl 
scripts/test-installation.pl /sources/glibc-build/
Use of uninitialized value in string ne at scripts/test-installation.pl 
line 163, <LDD> line 18.
Library libgcc_s is not correctly installed.
Please check your installation!
Offending line of ldd output:   libgcc_s.so.1 => 
/tools/lib64/libgcc_s.so.1 (0x00002aaaabf2e000)

If I do an ldd on the test program, it looks like the last line is 
incorrect.

root:/sources/glibc-2.3.5# ldd /tmp/test-prg24963
         libdl.so.2 => /tools/lib64/libdl.so.2 (0x00002aaaaabc1000)
         libnss_files.so.2 => /tools/lib64/libnss_files.so.2 
(0x00002aaaaacc4000)
         libBrokenLocale.so.1 => /tools/lib64/libBrokenLocale.so.1 
(0x00002aaaaadd0000)
         libnss_nisplus.so.2 => /tools/lib64/libnss_nisplus.so.2 
(0x00002aaaaaed2000)
         libresolv.so.2 => /tools/lib64/libresolv.so.2 (0x00002aaaaafde000)
         libm.so.6 => /tools/lib64/libm.so.6 (0x00002aaaab0f3000)
         libanl.so.1 => /tools/lib64/libanl.so.1 (0x00002aaaab279000)
         libnss_dns.so.2 => /tools/lib64/libnss_dns.so.2 
(0x00002aaaab37d000)
         libc.so.6 => /tools/lib64/libc.so.6 (0x00002aaaab483000)
         librt.so.1 => /tools/lib64/librt.so.1 (0x00002aaaab6a8000)
         libcrypt.so.1 => /tools/lib64/libcrypt.so.1 (0x00002aaaab7b1000)
         libnsl.so.1 => /tools/lib64/libnsl.so.1 (0x00002aaaab8e6000)
         libnss_nis.so.2 => /tools/lib64/libnss_nis.so.2 
(0x00002aaaab9fc000)
         libnss_compat.so.2 => /tools/lib64/libnss_compat.so.2 
(0x00002aaaabb07000)
         libutil.so.1 => /tools/lib64/libutil.so.1 (0x00002aaaabc10000)
         libpthread.so.0 => /tools/lib64/libpthread.so.0 
(0x00002aaaabd13000)
         libnss_hesiod.so.2 => /tools/lib64/libnss_hesiod.so.2 
(0x00002aaaabe28000)
         libgcc_s.so.1 => /tools/lib64/libgcc_s.so.1 (0x00002aaaabf2e000)
         /tools/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)

Anyone have any ideas?



More information about the cross-lfs mailing list