octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ar: `u' modifier ignored during linking


From: Daniel J Sebald
Subject: Re: ar: `u' modifier ignored during linking
Date: Fri, 14 Apr 2017 16:18:14 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0

On 04/14/2017 04:11 PM, Rik wrote:
4/14/17

I'm getting these annoying message every time a link is done during the
build process.

  CXXLD    liboctave/cruft/libcruft.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    liboctave/numeric/libnumeric.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    liboctave/operators/liboperators.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    liboctave/system/libsystem.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    liboctave/util/libutil.la
  CCLD     liboctave/wrappers/libwrappers.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    libgui/qterminal/libqterminal.la
  CXXLD    libgui/src/libgui-src.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    libgui/graphics/libgui-graphics.la
ar: `u' modifier ignored since `D' is the default (see `U')
  DVIPS    doc/liboctave/liboctave.ps
  CXXLD    libinterp/corefcn/libcorefcn.la
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    src/mkoctfile
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    src/octave
ar: `u' modifier ignored since `D' is the default (see `U')
  TEXI2PDF doc/liboctave/liboctave.pdf
ar: `u' modifier ignored since `D' is the default (see `U')
  CXXLD    src/octave-config
ar: `u' modifier ignored since `D' is the default (see `U')

This is on Mint 18.1 (Ubuntu 16.04-derived distribution).  Are other people
getting these warnings?  Are you just ignoring them?

I'd like to shut these warnings up because they are so numerous it could
hide a real problem with the build process.

This seems to be a known issue with Automake.  See
https://bugzilla.redhat.com/show_bug.cgi?id=1155273.

If I do

setenv AR_FLAGS cr

before running configure I can get rid of the warning.  Should we be doing
something permanent in configure.ac to set AR_FLAGS?

--Rik

Rik,

I did a quick grep, and there is a comment about this in the source tree in

gnulib/ChangeLog

2015-07-01  ##### #####  <address@hidden>

        gnulib-common.m4: change the ARFLAGS default to 'cr'
        In some GNU/Linux distributions people started to compile 'ar'
        binary with --enable-deterministic-archives (binutils project).
        That, however, in combination with previous autotools long time
        working default AR{_,}FLAGS=cru causes warnings on such
        installations:
        ar: `u' modifier ignored since `D' is the default (see `U')
        * m4/gnulib-common.m4 (gl_PROG_AR_RANLIB): Set ARFLAGS='cr' if not
        set already.

Is that relevant?

Dan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]