On Tue, 10 Jan 2012 09:21:01 +0000
Firerat <fire...@googlemail.com> wrote:

> I find that if a make fails first time, but completes (or gets further ) on
> second run it is due to some race condition where you have multiple jobs
> and a new job thread is dependent on something that hasn't completed.
> The simplest way around this is to flag the make with -j1

FWIW I've never had a problem compiling gcc with make -j4
Also, if you read his script he doesn't use multiple jobs when he runs:
make -k check

> If you are having trouble with slow builds then have a look at top on your
> host system and see if anything is eating CPU and/or memory.
> I have had problems with polkitd and nautilus on Ubuntu (bad pulseaudio
> setup)
> Chrome is also a mem/CPU hog, especially if flash is enabled

Are you compiling in a virtual machine? If so, perhaps it is not making
all the system's resources available?

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