diff options
author | 2019-02-01 16:27:44 +0000 | |
---|---|---|
committer | 2019-02-01 16:27:44 +0000 | |
commit | 4dcbbc3b28aaeafe23e1a30db84055aa6f6fa987 (patch) | |
tree | 5c27f8bc1e4c754f703653a0e6144e5add0dd3f5 /configure.ac | |
parent | support: Correct error message for TEST_COMPARE_STRING (diff) | |
download | glibc-4dcbbc3b28aaeafe23e1a30db84055aa6f6fa987.tar.gz glibc-4dcbbc3b28aaeafe23e1a30db84055aa6f6fa987.tar.bz2 glibc-4dcbbc3b28aaeafe23e1a30db84055aa6f6fa987.zip |
Require GCC 6.2 or later to build glibc.
As discussed during development for glibc 2.29, when we increased the
required minimum GCC version for building glibc to GCC 5, working
purely based on the times at which such requirements have been
increased in the past it would be appropriate for glibc 2.30 to
require GCC 6 (matching GCC 4.9 having been required for glibc 2.26).
Naming 6.2 specifically as the minimum version then means a separate
version requirement no longer needs to be specified for powerpc64le.
Thus, this patch increases the minimum to 6.2, removing the
documentation of the separate requirement for powerpc64le. It does
not remove the powerpc64le configure test, or any __GNUC_PREREQ that
could be removed as not being in installed headers or files shared
with gnulib; I think such cleanups are best done separately.
Tested for x86_64.
* 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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 46a74687a6..ad50e290d4 100644 --- a/configure.ac +++ b/configure.ac @@ -1017,7 +1017,7 @@ AC_CHECK_PROG_VER(BISON, bison, --version, 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], |