From d6f2a174fcf41f0b091ef7eabea5d06fae90e0b2 Mon Sep 17 00:00:00 2001
From: Kim Barrett
All compilers are expected to be able to handle the C11 language standard for C, and C++14 for C++.
The minimum accepted version of gcc is 6.0. Older versions will not +
The minimum accepted version of gcc is 10.0. Older versions will not
be accepted by configure.
The JDK is currently known to compile successfully with gcc version 13.2 or newer.
diff --git a/doc/building.md b/doc/building.md index ed8a06693551..14409b406683 100644 --- a/doc/building.md +++ b/doc/building.md @@ -403,7 +403,7 @@ C, and C++14 for C++. ### gcc -The minimum accepted version of gcc is 6.0. Older versions will not be accepted +The minimum accepted version of gcc is 10.0. Older versions will not be accepted by `configure`. The JDK is currently known to compile successfully with gcc version 13.2 or diff --git a/make/autoconf/toolchain.m4 b/make/autoconf/toolchain.m4 index 6a29529c5c5f..de0b6f0adfb1 100644 --- a/make/autoconf/toolchain.m4 +++ b/make/autoconf/toolchain.m4 @@ -51,7 +51,7 @@ TOOLCHAIN_DESCRIPTION_xlc="IBM XL C/C++" # Minimum supported versions, empty means unspecified TOOLCHAIN_MINIMUM_VERSION_clang="3.5" -TOOLCHAIN_MINIMUM_VERSION_gcc="6.0" +TOOLCHAIN_MINIMUM_VERSION_gcc="10.0" TOOLCHAIN_MINIMUM_VERSION_microsoft="19.28.0.0" # VS2019 16.8, aka MSVC 14.28 TOOLCHAIN_MINIMUM_VERSION_xlc="16.1.0.0011"