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

Martin Doerr mdoerr at openjdk.org
Wed Feb 19 16:04:55 UTC 2025


On Wed, 19 Feb 2025 15:13:38 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> 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.

LGTM. Thanks for cleaning this up!

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

Marked as reviewed by mdoerr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23698#pullrequestreview-2627291073


More information about the build-dev mailing list