URL: <http://savannah.gnu.org/bugs/?48809>
Summary: renaming --jobserver-fds to --jobserver-auth breaks jobserver interoperability Project: make Submitted by: kristovschulz Submitted on: Wed 17 Aug 2016 10:29:05 PM CEST Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: 4.2 Operating System: Any Fixed Release: None Triage Status: None _______________________________________________________ Details: If make < 4.2 calls a sub-make >= 4.2, jobserver information is not passed due to the parameter having been renamed from --jobserver-fds to --jobserver-auth. If the top-level make is parallelizing (i.e. in jobserver mode), the sub-make inherits the "-j" in MAKEFLAGS but receives no jobserver pipe, thereby the sub-make parallelizes jobs without an upper limit which leads to rapid resource exhaustion when doing builds of big software packages (e.g. gcc). The patch attached has been tested to successfully solve the problem in GNU make >= 4.2. It simply handles the old --jobserver-fds parameter in addition to the new --jobserver-auth one. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Wed 17 Aug 2016 10:29:05 PM CEST Name: 9003-jobserver-compat.patch Size: 531B By: kristovschulz (re)enables parsing of --jobserver-fds <http://savannah.gnu.org/bugs/download.php?file_id=38244> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?48809> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make