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

 
 

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

Submitted by:  Christoph Schulz <kristovschulz>
Submitted on:  Wed 17 Aug 2016 08:29:05 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: FixedPrivacy: Public
Assigned to: Paul D. Smith <psmith>Open/Closed: Closed
Component Version: 4.2Operating System: Any
Fixed Release: SCMTriage Status: Small Effort

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
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
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by kristovschulz (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 26 Dec 2016 02:30:45 PM UTCpsmithStatusNone=>Fixed
      Assigned toNone=>psmith
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>SCM
      Triage StatusNone=>Small Effort
    Wed 17 Aug 2016 08:29:05 PM UTCkristovschulzAttached File-=>Added 9003-jobserver-compat.patch, #38244

    Back to the top


    Powered by Savane 3.1-cleanup1