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
   
 
Priority:  * 5 - Unprioritized Severity:  3 - Normal
Status:  Not Autoconf Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Operating System:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 03 Dec 2023 09:51:59 AM UTC, comment #2: 

I am the original submitter of this bug report and I cannot find a way to close it either. Furthermore, I cannot change any status fields, it looks like I can only add comments.

R. Diez <rdiez>
Sun 03 Dec 2023 04:06:50 AM UTC, comment #1: 

not sure why this was reported to autoconf.  this was addressed in automake:
https://git.savannah.gnu.org/cgit/automake.git/commit/?h=8cdbdda5aec652c356fe6dbba96810202176ae75

i'd close the bug but i don't seem to have permissions to do so

Mike Frysinger <vapier>
Group Member
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 zackw (Updated the item)
  • -email is unavailable- added by vapier (Posted a comment)
  • -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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-12-03 zackw Open/ClosedOpen Closed
    2023-12-03 vapier StatusNone Not Autoconf

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code