-
Enhancement
-
Resolution: Fixed
-
P4
-
23
-
b13
Change the minimum required version of gcc for building OpenJDK from 6.0 to 10.0.
This prepares for enabling C++17 usage (JDK-8314488). gcc 9.0 is the first version in which the C++17 implementation is no longer experimental, so might be sufficient for that. Requiring gcc10 might get some useful bug fixes.
Requiring gcc 10.0 has the additional benefit of obtaining the primitives needed to support a work-alike for std::is_constant_evaluated. 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.
This prepares for enabling C++17 usage (JDK-8314488). gcc 9.0 is the first version in which the C++17 implementation is no longer experimental, so might be sufficient for that. Requiring gcc10 might get some useful bug fixes.
Requiring gcc 10.0 has the additional benefit of obtaining the primitives needed to support a work-alike for std::is_constant_evaluated. 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 (
- duplicates
-
JDK-8326091 Require minimum gcc version 10
- Closed
- relates to
-
JDK-8339164 Clean up harfbuzz warning suppression
- New
-
JDK-8314488 Compile the JDK as C++17
- Open