LFS 6.5 chapter 8.3.1

Jan-Christoph Bornschlegel trollfood at googlemail.com
Thu Dec 3 01:45:02 PST 2009

Am Donnerstag 03 Dezember 2009 10:32:56 schrieb stosss:
> Did everything get built using
> GCC on the host? If it did then this entire LFS build is toast.

Well, if you compiled _anything_ successfully and don't have a working gcc in 
your chroot environment, the question is, how could you use the host's gcc at 

Could something be wrong with your working environment? Something from the 
host sys bind-mounted into the chroot?
Do a "cat /proc/mounts" to be sure. If anything beyond dev, devpts, shm, proc, 
sysfs is mounted to $LFS  this is mighty suspicious [0]

Or maybe you chroot'ed to the wrong place (and thus messed up your host 
maybe?). Maybe LFS isn't set?

You can get clarity if you check the creation dates of your host's gcc, for 
ls -l `which gcc`
on your host.

[0] http://www.linuxfromscratch.org/lfs/view/stable/chapter06/kernfs.html

More information about the lfs-support mailing list