bug-make
[Top][All Lists]
Advanced

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

fix for make gaining jobserver tokens


From: Tim Newsome
Subject: fix for make gaining jobserver tokens
Date: Tue, 25 Oct 2011 13:34:55 -0700

We do a lot of builds (as in double-digit servers building non-stop). Sometimes, when a part of the build fails, make -j8 would die with:
make: INTERNAL: Exiting with 9 jobserver tokens available; should be 8

With -j16 the error would be 17 instead of 16, etc. I think it's simply an off-by-one error in cleanup code that is almost never run. Attached is a patch that fixes it. We've been running with it for over 5 days now and haven't noticed any problems.

Tim

Attachment: arista-clean_jobserver.patch
Description: Text Data


reply via email to

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