Richard Melville escreveu:
Hi

I'd really appreciate some help from somebody. I'm trying to build LFS 6.1 with errata. Chapter 5 seems to have built OK, but glibc, the first package to be compiled in chapter 6, fails to configure, complaining that there is no such file as /tools/bin/gcc, when there clearly is.

The sanity check fails, as does gcc -dumpmachine. However, if I exit the chroot environment and run the sanity check again, all is well. The sanity check returns /tools/lib/ld-linux.so.2 and gcc -dumpmachine returns i686-pc-linux-gnu.

Is it a compiler problem? If so can I rebuild gcc-3.4.3 again at this stage? The glibc config.log reads *cannot compute suffix of object files: cannot compile*. I did run the test suite on gcc-3.4.3 in chapter 5, and apart from precompiled header failures it seemed OK.

BTW I'm using the live cd.

Many thanks in advance.

Richard Melville
Try to compile the sanity check program (used after the first glibc
build) inside the chroot environment and see what error message the
compiler gives you.


--
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