From bd80507166253107ce84245c8c93d95368abc982 Mon Sep 17 00:00:00 2001 From: Andrew Senkevich Date: Mon, 10 Nov 2014 11:16:46 -0800 Subject: [PATCH] Update minimal required bunutils version to 2.22 --- ChangeLog | 9 +++++++++ INSTALL | 2 +- configure | 6 +++--- configure.ac | 8 +++++--- manual/install.texi | 2 +- 5 files changed, 19 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3acd7ba..3f65700 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2014-11-10 Andrew Senkevich + + * configure.ac: Updated check of minimal required version to + 2.22. + * manual/install.texi (Tools for Compilation): Updated version + number. + * configure: Regenerated. + * INSTALL: Likewise. + 2014-11-07 Andreas Schwab * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove diff --git a/INSTALL b/INSTALL index f85e461..3130c2a 100644 --- a/INSTALL +++ b/INSTALL @@ -340,7 +340,7 @@ build the GNU C Library: Check the FAQ for any special compiler issues on particular platforms. - * GNU `binutils' 2.20 or later + * GNU `binutils' 2.22 or later You must use GNU `binutils' (as and ld) to build the GNU C Library. No other assembler or linker has the necessary functionality at the diff --git a/configure b/configure index 24888d9..3c161be 100755 --- a/configure +++ b/configure @@ -4469,7 +4469,7 @@ $as_echo "$libc_cv_prog_ld_gnu" >&6; } gnu_ld=$libc_cv_prog_ld_gnu -# Accept binutils 2.20 or newer. +# Accept binutils 2.22 or newer. for ac_prog in $AS do # Extract the first word of "$ac_prog", so it can be a program name with args. @@ -4521,7 +4521,7 @@ $as_echo_n "checking version of $AS... " >&6; } ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; - 2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*) + 2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; @@ -4584,7 +4584,7 @@ $as_echo_n "checking version of $LD... " >&6; } ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'` case $ac_prog_version in '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; - 2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*) + 2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*) ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; diff --git a/configure.ac b/configure.ac index 9dd2c68..a982407 100644 --- a/configure.ac +++ b/configure.ac @@ -900,13 +900,15 @@ AC_PROG_LN_S LIBC_PROG_BINUTILS -# Accept binutils 2.20 or newer. +# Accept binutils 2.22 or newer. AC_CHECK_PROG_VER(AS, $AS, --version, [GNU assembler.* \([0-9]*\.[0-9.]*\)], - [2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], AS=: critic_missing="$critic_missing as") + [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*], + AS=: critic_missing="$critic_missing as") AC_CHECK_PROG_VER(LD, $LD, --version, [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], - [2.1[0-9][0-9]*|2.[2-9][0-9]*|[3-9].*|[1-9][0-9]*], LD=: critic_missing="$critic_missing ld") + [2.1[0-9][0-9]*|2.2[2-9]*|2.[3-9][0-9]*|[3-9].*|[1-9][0-9]*], + LD=: critic_missing="$critic_missing ld") # These programs are version sensitive. AC_CHECK_TOOL_PREFIX diff --git a/manual/install.texi b/manual/install.texi index 57e4d22..e1c2b9a 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -383,7 +383,7 @@ You can use whatever compiler you like to compile programs that use Check the FAQ for any special compiler issues on particular platforms. @item -GNU @code{binutils} 2.20 or later +GNU @code{binutils} 2.22 or later You must use GNU @code{binutils} (as and ld) to build @theglibc{}. No other assembler or linker has the necessary functionality at the -- 2.7.4