On 3/22/06, Richard Melville <[EMAIL PROTECTED]> wrote:
>
> 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.

First, what's the exact error give when you attempt the sanity check
in the chroot?

Second, are you sure you have all the proper symlinks in place from
Creating Essential Symlinks?

Third, let's try a souped up sanity check similar to the one in the SVN book.
http://www.linuxfromscratch.org/lfs/view/development/chapter06/readjusting.html

echo 'main(){}' > dummy.c
cc dummy.c -Wl,--verbose &> dummy.log

readelf -l a.out | grep 'ld-linux'
grep 'libc.so.6' dummy.log
grep 'SEARCH_DIR' dummy.log
grep 'crt[1in].*succeeded' dummy.log
grep 'found' dummy.log

That should help get to the bottom of this mess.

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