/ 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.
Nikolai
Inside the chroot environment dummy.c will not compile and returns
*/tools/bin/cc: no such file or directory*, but it does, in reality, exist.
Robert
I put the symlink into a script so that every time I rebooted it was recreated.
I just checked again to be on the safe side and it is still there.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page