bugmake - Bugs: bug #50754, Archive member rules and GNU ar's...

 
 

bug #50754: Archive member rules and GNU ar's deterministic (-D) option

Submitted by:  None
Submitted on:  Fri 07 Apr 2017 06:46:42 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: 4.1Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sun 16 Apr 2017 06:10:36 PM UTC, comment #1:

Unfortunately there's nothing we can do about this in GNU make. This is a bug in the distribution's default configuration of binutils. Please file a bug with them.

I've already asked the binutils team to remove the configure option that enables deterministic ar by default, so that it won't tempt distributions to set it as the default behavior. That flag was never meant to be used by distributions in their general packaging: it was meant to be used by people who may build their own binutils for specialized purposes.

People who want to build deterministic object files should be setting the flag that requests it. Distributions should not change the default behavior that has existed for decades and is relied on by other tools, if it's needed only for limited, specialized results.

We can't deprecate archive member rules in make, because the POSIX definition of make requires them.

Paul D. Smith <psmith>
Project Administrator
Fri 07 Apr 2017 06:46:42 PM UTC, original submission:

Linux distributions are beginning to enable the deterministic option when using GNU's ar. Among other things, that zeros the time field, breaking archive member rules dependence management and generating warning messages with the rules' default ar flags.

I'm not sure there is a user-transparent way to keep the succinct archive member rules and deal with the new behavior. Not deleting the generated object files may be one, but half of (my) reason for sticking with archive member rules is the resulting cleanliness.

It may be time to deprecate archive member rules. I like them for small projects

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

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)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 16 Apr 2017 06:10:36 PM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1