Simply reporting so nobody else wastes time on this. May be it could be added to the FAQ that describes this problem.

if '/usr/lib/gcc/i686-pc-linux-gnu/specs' exists on the host system, the binaries compiled in chapter 5, even with the specs patch properly applied in gcc-pass2, will be linked to '/lib/ld-linux.so.2' and chroot will fail at the beginning of chapter 6 giving: '/tools/bin/env: no such file or directory'

Simply ensure no host specs overrides the build in chapter 5.

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

Reply via email to