+2019-02-01 Joseph Myers <joseph@codesourcery.com>
+
+ * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
+ * configure: Regenerated.
+ * manual/install.texi (Tools for Compilation): Update minimum GCC
+ version.
+ * INSTALL: Regenerated.
+
2019-02-01 Florian Weimer <fweimer@redhat.com>
* support/support_test_compare_string.c
As of relase time, GNU 'make' 4.2.1 is the newest verified to work
to build the GNU C Library.
- * GCC 5 or newer
+ * GCC 6.2 or newer
- GCC 5 or higher is required. In general it is recommended to use
+ GCC 6.2 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 8.2.1 is the newest compiler
verified to work to build the GNU C Library.
- For PowerPC 64-bits little-endian (powerpc64le), GCC 6.2 or higher
- is required. This compiler version is the first to provide the
- features required for building the GNU C Library with support for
- '_Float128'.
-
For multi-arch support it is recommended to use a GCC which has
been built with support for GNU indirect functions. This ensures
that correct debugging information is generated for functions
Changes to build and runtime requirements:
- [Add changes to build and runtime requirements here]
+* GCC 6.2 or later is required to build the GNU C Library.
+
+ Older GCC versions and non-GNU compilers are still supported when
+ compiling programs that use the GNU C Library.
Security related changes:
main ()
{
-#if !defined __GNUC__ || __GNUC__ < 5
+#if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2)
#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__ < 5
+#if !defined __GNUC__ || __GNUC__ < 6 || (__GNUC__ == 6 && __GNUC_MINOR__ < 2)
#error insufficient compiler
#endif],
[libc_cv_compiler_ok=yes],
to build @theglibc{}.
@item
-GCC 5 or newer
+GCC 6.2 or newer
-GCC 5 or higher is required. In general it is recommended to use
+GCC 6.2 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 8.2.1 is the newest compiler verified to work to build
@theglibc{}.
-For PowerPC 64-bits little-endian (powerpc64le), GCC 6.2 or higher is
-required. This compiler version is the first to provide the features
-required for building @theglibc{} with support for @code{_Float128}.
-
For multi-arch support it is recommended to use a GCC which has been built with
support for GNU indirect functions. This ensures that correct debugging
information is generated for functions selected by IFUNC resolvers. This