DescriptionPrevent a possible deadlock in the linker script when using goma.
Make (and now ninja) run ld under flock. Goma allows only a limited
number N of local gcc processes, which it does by running a custom gcc.
If N gcc processes are trying to run a link, N-1 will be waiting on
flock. The Nth process then tries to call an N+1th gcc process to determine the
bitness of the system, which blocks.
As a workaround, use getconf to determine bitness instead.
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=122292
Patch Set 1 #Messages
Total messages: 5 (0 generated)
|