Require binutils 2.20 or later.

This commit is contained in:
Joseph Myers 2012-03-01 21:23:57 +00:00
parent 7b1902cb3e
commit bec039bcef
5 changed files with 14 additions and 8 deletions

View File

@ -1,5 +1,11 @@
2012-03-01 Joseph Myers <joseph@codesourcery.com> 2012-03-01 Joseph Myers <joseph@codesourcery.com>
* configure.in (AS, LD): Require binutils 2.20 or later.
* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Give binutils 2.20
as required minimum version.
* INSTALL: Regenerated.
[BZ #2541] [BZ #2541]
[BZ #4108] [BZ #4108]
* sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit

View File

@ -291,7 +291,7 @@ build the GNU C Library:
Check the FAQ for any special compiler issues on particular Check the FAQ for any special compiler issues on particular
platforms. platforms.
* GNU `binutils' 2.15 or later * GNU `binutils' 2.20 or later
You must use GNU `binutils' (as and ld) to build the GNU C Library. 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 No other assembler or linker has the necessary functionality at the

6
configure vendored
View File

@ -4618,7 +4618,7 @@ $as_echo "$libc_cv_prog_ld_gnu" >&6; }
gnu_ld=$libc_cv_prog_ld_gnu gnu_ld=$libc_cv_prog_ld_gnu
# Accept binutils 2.13 or newer. # Accept binutils 2.20 or newer.
for ac_prog in $AS for ac_prog in $AS
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
@ -4670,7 +4670,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'` ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
2.1[3-9]*|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-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, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@ -4733,7 +4733,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'` 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 case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;; '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
2.1[3-9]*|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-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, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;; *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;

View File

@ -921,13 +921,13 @@ AC_PROG_LN_S
LIBC_PROG_BINUTILS LIBC_PROG_BINUTILS
AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in AC_SUBST(MIG)dnl Needed by sysdeps/mach/configure.in
# Accept binutils 2.13 or newer. # Accept binutils 2.20 or newer.
AC_CHECK_PROG_VER(AS, $AS, --version, AC_CHECK_PROG_VER(AS, $AS, --version,
[GNU assembler.* \([0-9]*\.[0-9.]*\)], [GNU assembler.* \([0-9]*\.[0-9.]*\)],
[2.1[3-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-9][0-9]*|[3-9].*|[1-9][0-9]*], AS=: critic_missing="$critic_missing as")
AC_CHECK_PROG_VER(LD, $LD, --version, AC_CHECK_PROG_VER(LD, $LD, --version,
[GNU ld.* \([0-9][0-9]*\.[0-9.]*\)], [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
[2.1[3-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-9][0-9]*|[3-9].*|[1-9][0-9]*], LD=: critic_missing="$critic_missing ld")
# These programs are version sensitive. # These programs are version sensitive.
AC_CHECK_TOOL_PREFIX AC_CHECK_TOOL_PREFIX

View File

@ -327,7 +327,7 @@ You can use whatever compiler you like to compile programs that use
Check the FAQ for any special compiler issues on particular platforms. Check the FAQ for any special compiler issues on particular platforms.
@item @item
GNU @code{binutils} 2.15 or later GNU @code{binutils} 2.20 or later
You must use GNU @code{binutils} (as and ld) to build @theglibc{}. You must use GNU @code{binutils} (as and ld) to build @theglibc{}.
No other assembler or linker has the necessary functionality at the No other assembler or linker has the necessary functionality at the