mainAutoconf - Support: sr #110476, ar: `u' modifier ignored since `D'...

 
 

sr #110476: ar: `u' modifier ignored since `D' is the default (see `U')

Submitter:  R. Diez <rdiez>
Submitted:  Thu 22 Apr 2021 07:41:44 AM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 22 Apr 2021 07:41:44 AM UTC, original submission:  

I recently added a very simple library called libAtmelSoftwareFramework.a to this cross-compilation project of mine:

https://github.com/rdiez/JtagDue/blob/master/Project/Makefile.am

So I immediately got this warning:

ar: `u' modifier ignored since `D' is the default (see `U')

This has been a known issue for years. There are many discussions on the Internet. As a new Autoconf user, you have to search for the error message and read here and there. Some people present their opinions about possible ways to fix this problem, with possible caveats.

I came up with this workaround for my project:

# By default, Automake is using $(AR) $(ARFLAGS), and ARFLAGS defaults to "cru".
  libAtmelSoftwareFramework_a_AR := $(AR) cr

I think it is time for Autoconf to do something about this, instead of letting everybody waste time all over the place.

At the very least, this shortcoming should be documented in the Autoconf manual. Failing that, the FAQ page should mention it.

The best thing to do is to modify Autoconf somehow in order to prevent this warning.

R. Diez <rdiez>

 

(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 rdiez (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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.12