By trial and error I have found that any action that takes more than one SBU in LFS is better off with -j1.
BLFS packages are more agreeable with -j2 switch. On my dual core machine only kernel compiles flawlessly with -j2 switch. Binutils and compiled against them gcc and glibc were all faulty with -j2. I have discovered it early enough, at the entering the chroot environment. It may be a peculiarity of my abacus, of course. However, I'd stick with recommendation not to use -j2 in production environment. On 15 May 2012 18:07, Yasser Zamani <[email protected]> wrote: > > > > Date: Mon, 14 May 2012 23:05:28 +0100 > > From: [email protected] > > To: [email protected] > > Subject: Re: [lfs-support] LFS-7.1: 6.37. Automake-1.11.3 (TEST FAILURE)! > > > > On Mon, May 14, 2012 at 10:56:10PM +0430, Yasser Zamani wrote: > > > > > > Is this failure expected or is a fatal error (and the process could > not be continued before resolving it)?! Or do you think that eliminating > '-j2' switch will resolve it (I should know before trying because it's test > take 31 minutes to complete(i.e. 1 hour without -j2!))? > > > > > > Thanks in advance! > > > > > > -Yasser > > > > > > > A few general points, since I don't have any test results from 7.1 > > handy (I generally only run full tests when building a new set of > > versions, and I've upgraded to new machines after confirming 7.1 was > > g ood) : > > 3. If it only takes an hour to rerun make -j1 check, it's probably > > going to be more efficient for you to try that rather than wait for > > mailing list responses. I've only recently got multiprocessor > > desktops ( on my old single processor machines, make -j2 often took > > longer then make -j1 ) and so far I've found about half a dozen > > packages in my whole desktop build where make -j1 is needed. Often, > > the results are obvious, but occasionally the failures are sporadic > > with very misleading error messages. > > *I tried configure, make and make check again without -j2 switch and > however it took 52 minutes, but all tests passed (behaved as expected) :), > Thanks! > -Yasser* > > -- > http://linuxfromscratch.org/mailman/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/lfs/faq.html > Unsubscribe: See the above information page > >
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
