RFR: 8325881: Require minimum gcc version 10
Kim Barrett
kbarrett at openjdk.org
Tue Mar 5 07:18:50 UTC 2024
On Sat, 17 Feb 2024 08:28:56 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change that updates the minimum supported version of gcc
> to be used for building OpenJDK from 6.0 to 10.0.
>
> This permits enabling C++17 (JDK-8314488), though gcc 9.0 might suffice for
> that. A minimum of gcc 10 also obtains the primitives needed to support a
> work-alick for std::is_constant_evaluated (added in C++20). There are a bunch
> of improvements that would be enabled by that. Having it would also allow the
> elimination of a bit of a mess in the HotSpot assert macros that was needed to
> work around the lack of that feature (JDK-8303805). Either current or proposed
> minimum versions of other supported compilers also provide the needed
> primitives.
>
> Testing: mach5 tier1 (uses gcc13.2 on gcc-based platforms)
> Locally (linux-x64) built and ran tier1 with gcc10.3.
Thanks for reviews/responses. I'll go ahead with integration. We won't be
reliant on the newer version immediately, so we can still reconsider if it causes
someone problems and they bring it up soon-ish.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/17899#issuecomment-1978101584
More information about the build-dev
mailing list