On Thu, Jul 20, 2006 at 10:14:03AM -0700, Dan Nicholson wrote: > On 7/20/06, Richard Melville <[EMAIL PROTECTED]> wrote: > > > >I'm hoping somebody can help as I can find no other threads relating to > >this. I'm getting a lot of test failures in *locate* and *xargs*, but > >*find* was OK, and Findutils seems to compile OK. I can't see that this > >is too much of a problem (it doesn't appear that this package is a > >dependency for anything else) and I was thinking of ploughing on > >regardless. However, I'm concerned that it might be symptomatic of some > >other unseen problem. I did have a few failures in glibc but gcc test > >results were better than the book. > We had this on CLFS at one time, when we were building in a slightly different order than LFS. Our xargs failures were because /bin/echo didn't exist, and the locate failure seems to have been related to 'sort' - I think the installed script was using /tools/bin/sort (ouch!), but the tests used /usr/bin/sort.
Our problem was because we built coreutils too late, but it only came to light with findutils-4.2.25 which has rewritten tests. Are you perhaps using newer versions of some of the packages ? The problem shouldn't really apply to LFS-6.1.1, so if you haven't accidentally missed some of the packages or otherwise deviated from the book I'll go with Dan's guess that it's the dreaded via-and-gcc-disagree-about-i686 problem (no 'cmov' instruction, I believe - marked as optional in the technical docs, but gcc assumes it exists) - you might need to look at the crosscompiling-x86.txt hint and build for i486 (ISTR Alan Cox saying that 486 code was faster than 586 on via cpus). If that is indeed the problem, you can perhaps see a segfault if you run /bin/echo "hello world!" (you need to specify the path because echo is a built-in in bash) - if you *don't* see an error from /bin/echo, or any other evidence that i686 binaries are failing, then building for i486 is probably not going to help. Ken -- das eine Mal als Tragödie, das andere Mal als Farce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
