[Top][All Lists]

[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


                 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



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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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