bugmake - Bugs: bug #48809, renaming --jobserver-fds to...

 
 

bug #48809: renaming --jobserver-fds to --jobserver-auth breaks jobserver interoperability

Submitter:  Christoph Schulz <kristovschulz>
Submitted:  Wed 17 Aug 2016 08:29:05 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Fixed Privacy:  Public
Assigned to:  psmith Open/Closed:  Closed
Component Version:  4.2 Operating System:  Any
Fixed Release:  4.3 Triage Status:  Small Effort
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 26 Dec 2016 02:30:45 PM UTC, comment #1: 

Fix pushed.  Thanks for the report!  Note that it will work to invoke a newer version of GNU make from an older version, but not vice versa...

Paul D. Smith <psmith>
Group administrator
Wed 17 Aug 2016 08:29:05 PM UTC, original submission:  

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.

Christoph Schulz <kristovschulz>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #38244:  9003-jobserver-compat.patch added by kristovschulz (531B - text/x-patch - (re)enables parsing of --jobserver-fds)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by kristovschulz (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-26 psmith StatusNone Fixed
        Assigned toNone psmith
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.3
        Triage StatusNone Small Effort
    2016-08-17 kristovschulz Attached File- Added 9003-jobserver-compat.patch, #38244

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code