Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8325881

Require minimum gcc version 10

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • infrastructure
    • 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.

            kbarrett Kim Barrett
            kbarrett Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: