From d6f2a174fcf41f0b091ef7eabea5d06fae90e0b2 Mon Sep 17 00:00:00 2001 From: Kim Barrett Date: Tue, 5 Mar 2024 07:16:34 +0000 Subject: [PATCH] 8325881: Require minimum gcc version 10 Reviewed-by: ihse, shade --- doc/building.html | 2 +- doc/building.md | 2 +- make/autoconf/toolchain.m4 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/building.html b/doc/building.html index 8a0acada254..29d0ace19b0 100644 --- a/doc/building.html +++ b/doc/building.html @@ -601,7 +601,7 @@ to compile successfully without issues.

All compilers are expected to be able to handle the C11 language standard for C, and C++14 for C++.

gcc

-

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 ed8a0669355..14409b40668 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 6a29529c5c5..de0b6f0adfb 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"