[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #48809] renaming --jobserver-fds to --jobserver-auth breaks jobserv
From: |
Christoph Schulz |
Subject: |
[bug #48809] renaming --jobserver-fds to --jobserver-auth breaks jobserver interoperability |
Date: |
Wed, 17 Aug 2016 20:29:07 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0 |
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/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #48809] renaming --jobserver-fds to --jobserver-auth breaks jobserver interoperability,
Christoph Schulz <=