[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Spurious "write error" on parallel builds

From: Carl-Johan Kjellander
Subject: Spurious "write error" on parallel builds
Date: Tue, 29 Jul 2014 15:12:22 +0200

I'm trying to set up a new build system for our company but I've hit a snag. Spurious "write error" keep the compile from happening 95% of the time.

I'm doing 'make -j12' in order to maximize my 8 cores but if I go over -j2, which seems to work most of the time, any more parallelism triggers the "write error" on one of the sub-makes and it stops the build.

Our main makefile is here:

The sub-makefile is a variant of:

Here is a working compile (only happens 5% of the time):

Here is one that fails on .../mysql and notice that there is no
"make[1]: Entering directory `/home/cjk/git/campanja/superdev/apps/mysql'":

Here is one where even the "write error" is missing, it just stops:

So something is amiss with stdout on heavy parallel builds. All builds were on a fully build directory so I was just checking that nothing else was being built a second time, but the builds all came back with random faults.

System Ubuntu 12.04LTS on x64_86. This happens in both gnome-terminal and in a text-vt so it is not connected to the graphical system.

Any ideas why make has problems with stdout on parallel builds?

ps please cc as I'm not on the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]