Sanity check output from 6.12 GCC is identical to output from 6.10 Toolchain

Alex Winfield lordadonis at gmail.com
Sat Feb 24 23:03:05 PST 2007


Sanity check output from 6.12 GCC is identical to output from 6.10 Toolchain

Output is as follows:
root:/sources# echo 'main(){}' > dummy.c
root:/sources# cc dummy.c -Wl,--verbose &> dummy.log
root:/sources# readelf -l a.out | grep ': /lib'
      [Requesting program interpreter: /lib/ld- linux.so.2]
root:/sources# grep -o '/usr/lib.*/crt[1in].* .*' dummy.log
/usr/lib/crt1.o succeeded
/usr/lib/crti.o succeeded
/usr/lib/crtn.o succeeded
root:/sources# grep 'SEARCH.*/usr/lib' dummy.log |sed 's|; |\n|g'
SEARCH_DIR("/tools/i686-pc-linux-gnu/lib")
SEARCH_DIR("/usr/lib")
SEARCH_DIR("/lib");
root:/sources# grep "/lib/libc.so.6 " dummy.log
attempt to open /lib/libc.so.6 succeeded
root:/sources# grep found dummy.log
found ld-linux.so.2 at /lib/ld-linux.so.2


Using LFS 6.2.  Output up until this point has been flawless.  This 
error has consistently occurred after 3 attempts.  Any help would be 
appreciated.




More information about the lfs-support mailing list