[jdk11u-dev] RFR: 8284772: GHA: Use GCC Major Version Dependencies Only [v2]

Andrew John Hughes andrew at openjdk.org
Fri Aug 18 00:19:57 UTC 2023


> GHA is currently broken in 11u-dev as the referenced Ubuntu gcc package, `10.3.0-1ubuntu1~20.04`, is no longer available.
> 
> Rather than bumping this yet again, this PR suggests dropping the specific version as we did some time ago in 8u. The requirement still specifies a specific major version of GCC. It just means the dependency isn't broken every time Ubuntu bumps to a new minor release or even just makes a minor change to the package alone.
> 
> Note that the current setup does not guarantee sticking with an exact version of GCC anyway, because - as seen by the current GHA breakage - older versions get removed from the package repository. All we get from this exact version requirement is sporadic breakage. If we truly want a static version of GCC, we need to provide our own as we do with the JDK.

Andrew John Hughes has updated the pull request incrementally with one additional commit since the last revision:

  Fix specific version usage in cross compilation

-------------

Changes:
  - all: https://git.openjdk.org/jdk11u-dev/pull/2087/files
  - new: https://git.openjdk.org/jdk11u-dev/pull/2087/files/5ab54a0f..f620328a

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2087&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2087&range=00-01

  Stats: 12 lines in 1 file changed: 0 ins; 8 del; 4 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2087.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2087/head:pull/2087

PR: https://git.openjdk.org/jdk11u-dev/pull/2087


More information about the jdk-updates-dev mailing list