mirror of git://sourceware.org/git/glibc.git
Require GCC 4.3 or later.
This commit is contained in:
parent
428d5830a2
commit
0e7727f71d
10
ChangeLog
10
ChangeLog
|
|
@ -1,3 +1,13 @@
|
||||||
|
2012-02-27 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
|
* configure.in (CC): Restrict allowed GCC versions to 4.3 and
|
||||||
|
later. Allow versions 5-9.
|
||||||
|
* configure: Regenerated.
|
||||||
|
* manual/install.texi (Tools for Compilation): Give GCC 4.3 as
|
||||||
|
required minimum version and 4.6 as recommended version. Do not
|
||||||
|
mention bugs in GCC 2.7 and 2.8.
|
||||||
|
* INSTALL: Regenerated.
|
||||||
|
|
||||||
2012-02-27 David S. Miller <davem@davemloft.net>
|
2012-02-27 David S. Miller <davem@davemloft.net>
|
||||||
|
|
||||||
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
|
* sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
|
||||||
|
|
|
||||||
17
INSTALL
17
INSTALL
|
|
@ -279,22 +279,13 @@ build the GNU C library:
|
||||||
recommend GNU `make' version 3.79. All earlier versions have
|
recommend GNU `make' version 3.79. All earlier versions have
|
||||||
severe bugs or lack features.
|
severe bugs or lack features.
|
||||||
|
|
||||||
* GCC 3.4 or newer, GCC 4.1 recommended
|
* GCC 4.3 or newer, GCC 4.6 recommended
|
||||||
|
|
||||||
GCC 3.4 or higher is required; as of this writing, GCC 4.4 is the
|
GCC 4.3 or higher is required; as of this writing, GCC 4.6 is the
|
||||||
compiler we advise to use for current versions. On certain
|
compiler we advise to use to build the GNU C library.
|
||||||
machines including `powerpc64', compilers prior to GCC 4.0 have
|
|
||||||
bugs that prevent them compiling the C library code. On other
|
|
||||||
machines, GCC 4.1 is required to build the C library with support
|
|
||||||
for the correct `long double' type format; these include `powerpc'
|
|
||||||
(32 bit), `s390' and `s390x'. For other architectures special
|
|
||||||
compiler-provided headers are needed (like `cpuid.h' on x86) which
|
|
||||||
only come with later compiler versions.
|
|
||||||
|
|
||||||
You can use whatever compiler you like to compile programs that
|
You can use whatever compiler you like to compile programs that
|
||||||
use GNU libc, but be aware that both GCC 2.7 and 2.8 have bugs in
|
use GNU libc.
|
||||||
their floating-point support that may be triggered by the math
|
|
||||||
library.
|
|
||||||
|
|
||||||
Check the FAQ for any special compiler issues on particular
|
Check the FAQ for any special compiler issues on particular
|
||||||
platforms.
|
platforms.
|
||||||
|
|
|
||||||
|
|
@ -4799,7 +4799,7 @@ $as_echo_n "checking version of $CC... " >&6; }
|
||||||
ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[0-9.]*\).*$/\1/p'`
|
ac_prog_version=`$CC -v 2>&1 | sed -n 's/^.*version \([egcygnustpi-]*[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;;
|
||||||
3.4* | 4.[0-9]* )
|
4.[3-9].* | 4.[1-9][0-9].* | [5-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;;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -932,7 +932,7 @@ AC_CHECK_PROG_VER(LD, $LD, --version,
|
||||||
# These programs are version sensitive.
|
# These programs are version sensitive.
|
||||||
AC_CHECK_TOOL_PREFIX
|
AC_CHECK_TOOL_PREFIX
|
||||||
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
|
AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}gcc ${ac_tool_prefix}cc, -v,
|
||||||
[version \([egcygnustpi-]*[0-9.]*\)], [3.4* | 4.[0-9]* ],
|
[version \([egcygnustpi-]*[0-9.]*\)], [4.[3-9].* | 4.[1-9][0-9].* | [5-9].* ],
|
||||||
critic_missing="$critic_missing gcc")
|
critic_missing="$critic_missing gcc")
|
||||||
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
|
AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
|
||||||
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
|
[GNU Make[^0-9]*\([0-9][0-9.]*\)],
|
||||||
|
|
|
||||||
|
|
@ -313,21 +313,13 @@ recommend GNU @code{make} version 3.79. All earlier versions have severe
|
||||||
bugs or lack features.
|
bugs or lack features.
|
||||||
|
|
||||||
@item
|
@item
|
||||||
GCC 3.4 or newer, GCC 4.1 recommended
|
GCC 4.3 or newer, GCC 4.6 recommended
|
||||||
|
|
||||||
GCC 3.4 or higher is required; as of this
|
GCC 4.3 or higher is required; as of this writing, GCC 4.6 is the
|
||||||
writing, GCC 4.4 is the compiler we advise to use for current versions.
|
compiler we advise to use to build the GNU C library.
|
||||||
On certain machines including @code{powerpc64}, compilers prior to GCC
|
|
||||||
4.0 have bugs that prevent them compiling the C library code. On other
|
|
||||||
machines, GCC 4.1 is required to build the C
|
|
||||||
library with support for the correct @code{long double} type format;
|
|
||||||
these include @code{powerpc} (32 bit), @code{s390} and @code{s390x}. For
|
|
||||||
other architectures special compiler-provided headers are needed
|
|
||||||
(like @file{cpuid.h} on x86) which only come with later compiler versions.
|
|
||||||
|
|
||||||
You can use whatever compiler you like to compile programs that use GNU
|
You can use whatever compiler you like to compile programs that use GNU
|
||||||
libc, but be aware that both GCC 2.7 and 2.8 have bugs in their
|
libc.
|
||||||
floating-point support that may be triggered by the math library.
|
|
||||||
|
|
||||||
Check the FAQ for any special compiler issues on particular platforms.
|
Check the FAQ for any special compiler issues on particular platforms.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue