about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--INSTALL4
-rw-r--r--NEWS4
-rwxr-xr-xconfigure2
-rw-r--r--configure.ac2
-rw-r--r--manual/install.texi4
6 files changed, 18 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 29ec9125a2..d4af4ec086 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2015-10-27  Joseph Myers  <joseph@codesourcery.com>
+
+	* configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
+	* configure: Regenerated.
+	* manual/install.texi (Tools for Compilation): Document
+	requirement for GCC 4.7 or later.
+	* INSTALL: Regenerated.
+
 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
 
 	* locale/loadlocale.c (_nl_intern_locale_data): Change assertion
diff --git a/INSTALL b/INSTALL
index ddee6e1969..c70ea9f26f 100644
--- a/INSTALL
+++ b/INSTALL
@@ -357,9 +357,9 @@ build the GNU C Library:
      recommend GNU 'make' version 3.79.  All earlier versions have
      severe bugs or lack features.
 
-   * GCC 4.6 or newer
+   * GCC 4.7 or newer
 
-     GCC 4.6 or higher is required.  In general it is recommended to use
+     GCC 4.7 or higher is required.  In general it is recommended to use
      the newest version of the compiler that is known to work for
      building the GNU C Library, as newer compilers usually produce
      better code.  As of release time, GCC 4.9.2 is the newest compiler
diff --git a/NEWS b/NEWS
index e1d34e8c70..1122affd0d 100644
--- a/NEWS
+++ b/NEWS
@@ -36,6 +36,10 @@ Version 2.23
 
 * Optimized string, wcsmbs and memory functions for IBM z13.
   Implemented by Stefan Liebler.
+
+* The minimum GCC version that can be used to build this version of the GNU
+  C Library is GCC 4.7.  Older GCC versions, and non-GNU compilers, can
+  still be used to compile programs using the GNU C Library.
 
 Version 2.22
 
diff --git a/configure b/configure
index 45708b111b..8f4bb72118 100755
--- a/configure
+++ b/configure
@@ -4834,7 +4834,7 @@ int
 main ()
 {
 
-#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)
 #error insufficient compiler
 #endif
   ;
diff --git a/configure.ac b/configure.ac
index 1be44f596e..ad5f3ccf51 100644
--- a/configure.ac
+++ b/configure.ac
@@ -976,7 +976,7 @@ AC_CHECK_PROG_VER(AWK, gawk, --version,
 
 AC_CACHE_CHECK([if $CC is sufficient to build libc], libc_cv_compiler_ok, [
 AC_TRY_COMPILE([], [
-#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 6)
+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)
 #error insufficient compiler
 #endif],
 	       [libc_cv_compiler_ok=yes],
diff --git a/manual/install.texi b/manual/install.texi
index f940d6572e..de9d270488 100644
--- a/manual/install.texi
+++ b/manual/install.texi
@@ -400,9 +400,9 @@ recommend GNU @code{make} version 3.79.  All earlier versions have severe
 bugs or lack features.
 
 @item
-GCC 4.6 or newer
+GCC 4.7 or newer
 
-GCC 4.6 or higher is required.  In general it is recommended to use
+GCC 4.7 or higher is required.  In general it is recommended to use
 the newest version of the compiler that is known to work for building
 @theglibc{}, as newer compilers usually produce better code.  As of
 release time, GCC 4.9.2 is the newest compiler verified to work to build