+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
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
* 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.
\f
Version 2.22
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
;
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],
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