+2017-06-19 Joseph Myers <joseph@codesourcery.com>
+
+ * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
+ * configure: Regenerated.
+ * manual/install.texi (Tools for Compilation): Document
+ requirement for GCC 4.9 or later.
+ * INSTALL: Regenerated.
+
2017-06-19 Florian Weimer <fweimer@redhat.com>
[BZ #21624]
recommend GNU 'make' version 3.79. All earlier versions have
severe bugs or lack features.
- * GCC 4.7 or newer
+ * GCC 4.9 or newer
- GCC 4.7 or higher is required. In general it is recommended to use
+ GCC 4.9 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 6.3 is the newest compiler
PTRACE_DISABLE_TE and PTRACE_TE_ABORT_RAND were added as those are supported
by the s390 kernel.
+* The minimum GCC version that can be used to build this version of the GNU
+ C Library is GCC 4.9. Older GCC versions, and non-GNU compilers, can
+ still be used to compile programs using the GNU C Library.
+
Security related changes:
* The DNS stub resolver limits the advertised UDP buffer size to 1200 bytes,
main ()
{
-#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 7)
+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9)
#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__ < 7)
+#if !defined __GNUC__ || __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9)
#error insufficient compiler
#endif],
[libc_cv_compiler_ok=yes],
bugs or lack features.
@item
-GCC 4.7 or newer
+GCC 4.9 or newer
-GCC 4.7 or higher is required. In general it is recommended to use
+GCC 4.9 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 6.3 is the newest compiler verified to work to build