really strange problem

James Iwanek chthon at chthon-uk.com
Fri Feb 7 15:20:17 PST 2003


i just built the latest LFS cvs (20030205) all worked fine except for the
second glibc compile which failed with the error:

-----------
Start Exert
-----------
gcc -lm  -shared -static-libgcc -Wl,-O1
-Wl,-dynamic-linker=/lib/ld-linux.so.2  -B../csu/ 
-Wl,--version-script=../libm.map -Wl,-soname=libm.so.6 -Wl,-z,combreloc 
-L.. -L. -L../elf
-L../dlfcn -L../nss -L../nis -L../rt -L../resolv -L../crypt
-L../linuxthreads
-Wl,-rpath-link=..:.:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
-o libm.so.new
../csu/abi-note.o -Wl,--verbose
 2>&1 | sed -e '/^=========/,/^=========/!d;/^=========/d' -e 's/^.*\.hash[    
]*:.*$/  .note.ABI-tag : { *(.note.ABI-tag) } &/' > libm.so.lds
rm -f libm.so.new
gcc -lm  -shared -static-libgcc -Wl,-O1 
-Wl,-dynamic-linker=/lib/ld-linux.so.2  -B../csu/ 
-Wl,--version-script=../libm.map -Wl,-soname=libm.so.6 -Wl,-z,combreloc 
-L.. -L. -L../elf
-L../dlfcn -L../nss -L../nis -L../rt -L../resolv -L../crypt
-L../linuxthreads
-Wl,-rpath-link=..:.:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads
-o libm.so -T
libm.so.lds ../csu/abi-note.o -Wl,--whole-archive libm_pic.a
-Wl,--no-whole-archive ../elf/interp.os ../libc.so ../libc_nonshared.a
./libm.so: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [libm.so] Error 1

---------
End Exert
---------

(see attachment if the error is wrapped

btw - sorry to everyone that dosn't like more than 80cols

anyway turns out that the file libm.so was missing from the glibc-build/math
directory - so i copied the version built at the start over the missing
version - started the make again and this time it just overwrote it with
libm.so.new

either glibc has a major attitude problem or ive got a REALLY strange system
;-) - everything installed properly AFAIK couple of updates (latest stable
gnu bits) and coreutils-4.5.6

anyone got any ideas whats wrong?

/me looks at greg *hint* *hint* ;-)

-----
Jay
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: error
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20030207/94d124a1/attachment.ksh>


More information about the lfs-dev mailing list