>On Fri, 02 Apr 2010 07:26:59 -0400 >[email protected] wrote: > > > 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
First off, you should include more information about your failure. This is a failure of the gcc test suite. You built GCC succesfuly, you tested your build, and it reported some failures. To see which, issue the command /path/to/your/gcc-sources/contrib/test_summary | grep -A7 Summ This is from the gcc build directory. The details are explained in Chapter 6.16 of the current stable LFS book (vers. 6.6). To summarise, some failures in the test stage are "normal". They occur frequently, and have not been linked to end-system instability. Some others are not. But first you have to see which are the failing tests and include that information. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
