aboutsummaryrefslogtreecommitdiff
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 29ec912..d4af4ec 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 ddee6e1..c70ea9f 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 e1d34e8..1122aff 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 45708b1..8f4bb72 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 1be44f5..ad5f3cc 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 f940d65..de9d270 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