http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55556
Bug #: 55556 Summary: gcc/exec-tool.in isn't parallel build safe in combined tree Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap AssignedTo: unassig...@gcc.gnu.org ReportedBy: hjl.to...@gmail.com When bootstrap GCC and binutils in a combined-tree, prev-gcc/as has ORIGINAL_AS_FOR_TARGET="../gas/as-new" ... dir=gas prog=as-new if test -x $scriptdir/../$dir/$prog; then exec $scriptdir/../$dir/$prog else exec $scriptdir/../prev-$dir/$prog fi When we are building gas parallel with bintils, gold, gprof and ld, we may run into race condition that prev-gcc/as checks ../gas/as-new at the same time when we are creating it.