[jdk11u-dev] RFR: 8220093: Change to GCC 8.2 for building on Linux at Oracle

Christoph Langer clanger at openjdk.org
Sun Mar 5 12:11:12 UTC 2023


This is a backport of [JDK-8220093](https://bugs.openjdk.org/browse/JDK-8220093). The motivation for doing it is that configure output will then show same output as in higher releases for the used linker. E.g.

`configure: Using gcc linker version 2.36.1 [GNU ld (GNU Binutils) 2.36.1]`

vs

`configure: Using gcc linker version 8.5.0 [collect2 version 8.5.0]`

One can then deduct the version of binutils used.

I had to make a few modifications. In toolchain.m4, [JDK-8257679](https://bugs.openjdk.org/browse/JDK-8257679) was already present so I had to make the hunk fit. The other adaptations are in jib-profiles.js which is not relevant to OpenJDK because it's used internally at Oracle only and some improvements to the devkit build scripts.

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

Commit messages:
 - 8220093: Change to GCC 8.2 for building on Linux at Oracle

Changes: https://git.openjdk.org/jdk11u-dev/pull/1792/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1792&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8220093
  Stats: 107 lines in 5 files changed: 82 ins; 7 del; 18 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1792.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1792/head:pull/1792

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


More information about the jdk-updates-dev mailing list