Hi i am using the LFS 6.6 book to build my LFS, but now im kinda stuck.

I have compiled GCC but when i run the tests i get this:

make: *** [do-check] Error 2
make: Target `check“ not remade because of errors.

Then i make installed it and did the symlinks.


 The first test checks out right.
[Requesting program interpreter: /lib/ld-linux.so.2]

The second test gives me: 
/usr/lib/crt1.o succeeded
/usr/lib/crti.o succeeded
/usr/lib/crtn.o succeeded

But the book says it should be something like:
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../crt1.o succeeded
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../crti.o succeeded
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../crtn.o succeeded

The third test: grep -B4 '^ /usr/include' dummy.log
/tools/libexec/gcc/i686-pc-linux-gnu/4.4.3/cc1 -quiet -v -isystem /usr/include
dummy.c -quiet -dumpbase dummy.c -mtune=generic -auxbase dummy -version -o 
/tmp/cckbdRPw.s
ignoring nonexistent directory "/tools/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../
#include "..." search starts here:
#include <...> search starts here:
/usr/include

The book says:
#include <...> search starts here:
/usr/local/include
/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.3/include
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include-fixed
/usr/include

The fourth test: 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");

Book says:
SEARCH_DIR("/usr/i686-pc-linux-gnu/lib")
SEARCH_DIR("/usr/local/lib")
SEARCH_DIR("/lib")
SEARCH_DIR("/usr/lib");

Fifth test: grep "/lib.*/libc.so.6 " dummy.log
attempt to open /lib/libc.so.6 succeeded

Sixth test: grep found dummy.log
found ld-linux.so.2 at /lib/ld-linux.so.2

I guess this is a cause for concern, am i right?
and I tried recompiling gcc 4 times.

Where did i go wrong, and how far should i go back to fix this?
 
Thanks
//Mastah



-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to