* 2.6.18 intermittent parallel build failure
@ 2006-10-11 11:25 andrew
2006-10-12 7:52 ` andrew
0 siblings, 1 reply; 2+ messages in thread
From: andrew @ 2006-10-11 11:25 UTC (permalink / raw)
To: linux-kernel
When compiling the kernel on a Sun T1000 ( Niagra - 6 cores/24
threads) with
make -j12
I occasionally see failures like:
CC drivers/net/pppox.mod.o
CC drivers/net/r8169.mod.o
CC drivers/net/sk98lin/sk98lin.mod.o
CC drivers/net/skge.mod.o
CC drivers/net/slhc.mod.o
gcc: no input files
make[1]: *** [drivers/net/slhc.mod.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [modules] Error 2
Restarting the make command completes the build successfully.
I am using the latest make 3.81 (which had a scary list of BACKWARDS
COMPATIBILITY warnings in the NEWS file) in case that might be
relevant.
Hope thats useful
Andrew Walrond
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: 2.6.18 intermittent parallel build failure
2006-10-11 11:25 2.6.18 intermittent parallel build failure andrew
@ 2006-10-12 7:52 ` andrew
0 siblings, 0 replies; 2+ messages in thread
From: andrew @ 2006-10-12 7:52 UTC (permalink / raw)
To: linux-kernel
On Wed, Oct 11, 2006 at 11:25:58AM +0000, andrew@walrond.org wrote:
> When compiling the kernel on a Sun T1000 ( Niagra - 6 cores/24
> threads) with
>
> make -j12
>
> I occasionally see failures like:
>
This was due a serious bug in gnu make; see
https://savannah.gnu.org/bugs/?14853
This effects most of the recent make releases, and is _not_
sun/sparc/solaris specific, so don't stop reading the bug report at
the first line ;)
I've posted a patch against make-3.81 which fixes it for me.
Symptoms: Random crashing of make worker sub-processes at high -j#.
More pronounced when threads are waiting on i/o (make enables SIGCHLD
interrupts for short periods which can interrupt read(2) in the worker
threads and EINTR isn't handled)
This will likely effect anyone using large -j# on larger
multi-core/multi-processor machines, so BEWARE!
Andrew Walrond
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-10-12 7:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-11 11:25 2.6.18 intermittent parallel build failure andrew
2006-10-12 7:52 ` andrew
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®