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

 
 

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

Submitter:  None
Submitted:  Fri 07 Apr 2017 06:46:42 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.1 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

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

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

    Date Changed by Updated Field Previous Value => Replaced by
    2017-04-16 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code