Unity build is not parallel safe (-j 4 fails)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Invalid
|
Undecided
|
Unassigned | ||
unity (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Trying to build unity trunk (r1497) with make -j4 some of the build fails due to misisng unity-core-4.0, which is built a few seconds later. Building in serial rather than parallel completes just fine.
Probably only reproducible on pristine builds.
Linking CXX executable test-minimize-
/usr/bin/ld: cannot find -lunity-core-4.0
Linking CXX executable test-input-remover
/usr/bin/ld: cannot find -lunity-core-4.0
Are the two specific targets that I saw error out, but others may be missing a dependency as well.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: unity 4.12.0-0ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-10-generic i686
Architecture: i386
CompizPlugins: [core,bailer,
Date: Tue Sep 6 17:49:39 2011
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: unity
UpgradeStatus: Upgraded to oneiric on 2011-08-10 (27 days ago)
failed for me with -j2 as well.