RFR: 8350267: Set mtune and mcpu settings in JDK native lib compilation on Linux ppc64(le)

Matthias Baesken mbaesken at openjdk.org
Wed Feb 19 15:19:25 UTC 2025


Currently we only set mcpu/mtune for hotspot; this might be a little problematic because other options might be used in the jdk native libs compilation .
Those other (compared to hotspot) options are defined by the gcc - version used in the build process.
'gcc -c -Q --help=target'  shows these options, they can vary depending on gcc version and build environment.

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

Commit messages:
 - JDK-8350267

Changes: https://git.openjdk.org/jdk/pull/23698/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23698&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8350267
  Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/23698.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23698/head:pull/23698

PR: https://git.openjdk.org/jdk/pull/23698


More information about the build-dev mailing list