On Tue, Jan 10, 2012 at 10:50 AM, Andrew Benton <b3n...@gmail.com> wrote: > 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 > true, however we have no idea if MAKEFLAGS has been set actually, read the fist post, he is using MAKEFLAGS="-j8"
and I too have no issues compiling gcc with -j14 ( yes 14 ) in any case -j1 removes the doubt from the equation, is it a make race condition or not? also -j1 makes it much easier to read what went wrong, you are reading just one job and not 4 , 5 or 6 jobs at the same time. And, yes I'f I recall correctly one of his earlier posts last week mentioned use of a VM ( windows hosting slackware ) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page