RFR: 8346987: [lto] gtest build fails
Julian Waters
jwaters at openjdk.org
Mon Jan 20 17:46:34 UTC 2025
On Mon, 20 Jan 2025 16:32:11 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> Is it possible to modify the set of JVM Features to not include `link-time-opt` when building gtest? I don't recall the exact flow of this, so it might not be possible. But if it is, I think it is a better solution.
Wouldn't that mean LTO would be silently disabled for the JVM itself when gtest is being compiled? That would prevent anyone from using LTO on the JVM proper if they decided to throw in the gtest suite to test the LTO enabled JVM. I may have misunderstood what you meant, however
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23173#issuecomment-2602979206
More information about the build-dev
mailing list