Binutils: Check if AR works with --plugin and rc
Check if AR works with --plugin and rc before passing --plugin to AR and RANLIB. bfd/ PR ld/27173 binutils/ PR ld/27173 * configure: Regenerated. gas/ PR ld/27173 * configure: Regenerated. gprof/ PR ld/27173 * configure: Regenerated. ld/ PR ld/27173 * configure: Regenerated. libctf/ PR ld/27173 * configure: Regenerated. opcodes/ PR ld/27173 * configure: Regenerated.
This commit is contained in:
parent
03c02f3116
commit
83b33c6cb9
14 changed files with 112 additions and 21 deletions
|
@ -1,3 +1,8 @@
|
|||
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/27173
|
||||
* configure: Regenerated.
|
||||
|
||||
2021-01-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* po/fr.po: Updated French translation.
|
||||
|
|
12
bfd/configure
vendored
12
bfd/configure
vendored
|
@ -6932,8 +6932,16 @@ fi
|
|||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
|
||||
|
@ -11742,7 +11750,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11745 "configure"
|
||||
#line 11753 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11848,7 +11856,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11851 "configure"
|
||||
#line 11859 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/27173
|
||||
* configure: Regenerated.
|
||||
|
||||
2021-01-11 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* po/pt.po: Updated Portuguese translation.
|
||||
|
|
12
binutils/configure
vendored
12
binutils/configure
vendored
|
@ -6728,8 +6728,16 @@ fi
|
|||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
|
||||
|
@ -11569,7 +11577,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11572 "configure"
|
||||
#line 11580 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11675,7 +11683,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11678 "configure"
|
||||
#line 11686 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/27173
|
||||
* configure: Regenerated.
|
||||
|
||||
2021-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* NEWS: Remove CSRE.
|
||||
|
|
12
gas/configure
vendored
12
gas/configure
vendored
|
@ -6516,8 +6516,16 @@ fi
|
|||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
|
||||
|
@ -11357,7 +11365,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11360 "configure"
|
||||
#line 11368 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11463,7 +11471,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11466 "configure"
|
||||
#line 11474 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/27173
|
||||
* configure: Regenerated.
|
||||
|
||||
2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* configure: Regenerated.
|
||||
|
|
12
gprof/configure
vendored
12
gprof/configure
vendored
|
@ -6363,8 +6363,16 @@ fi
|
|||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
|
||||
|
@ -11204,7 +11212,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11207 "configure"
|
||||
#line 11215 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11310,7 +11318,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11313 "configure"
|
||||
#line 11321 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/27173
|
||||
* configure: Regenerated.
|
||||
|
||||
2021-01-11 Matt Jenkins <matt@majenko.co.uk>
|
||||
|
||||
PR ld/27167
|
||||
|
|
12
ld/configure
vendored
12
ld/configure
vendored
|
@ -7214,8 +7214,16 @@ fi
|
|||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
|
||||
|
@ -12056,7 +12064,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12059 "configure"
|
||||
#line 12067 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -12162,7 +12170,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 12165 "configure"
|
||||
#line 12173 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/27173
|
||||
* configure: Regenerated.
|
||||
|
||||
2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* configure: Regenerated.
|
||||
|
|
12
libctf/configure
vendored
12
libctf/configure
vendored
|
@ -6720,8 +6720,16 @@ fi
|
|||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
|
||||
|
@ -11531,7 +11539,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11534 "configure"
|
||||
#line 11542 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11637,7 +11645,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11640 "configure"
|
||||
#line 11648 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR ld/27173
|
||||
* configure: Regenerated.
|
||||
|
||||
2021-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
||||
|
||||
* aarch64-asm-2.c: Regenerate.
|
||||
|
|
12
opcodes/configure
vendored
12
opcodes/configure
vendored
|
@ -6641,8 +6641,16 @@ fi
|
|||
test -z "$AR" && AR=ar
|
||||
if test -n "$plugin_option"; then
|
||||
if $AR --help 2>&1 | grep -q "\--plugin"; then
|
||||
touch conftest.c
|
||||
$AR $plugin_option rc conftest.a conftest.c
|
||||
if test "$?" != 0; then
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
|
||||
$as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
|
||||
else
|
||||
AR="$AR $plugin_option"
|
||||
fi
|
||||
rm -f conftest.*
|
||||
fi
|
||||
fi
|
||||
test -z "$AR_FLAGS" && AR_FLAGS=cru
|
||||
|
||||
|
@ -11452,7 +11460,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11455 "configure"
|
||||
#line 11463 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
@ -11558,7 +11566,7 @@ else
|
|||
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
|
||||
lt_status=$lt_dlunknown
|
||||
cat > conftest.$ac_ext <<_LT_EOF
|
||||
#line 11561 "configure"
|
||||
#line 11569 "configure"
|
||||
#include "confdefs.h"
|
||||
|
||||
#if HAVE_DLFCN_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue