RFR: 8346987: [lto] gtest build fails

Magnus Ihse Bursie ihse at openjdk.org
Fri Jan 24 17:22:46 UTC 2025


On Fri, 17 Jan 2025 11:41:06 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> When building with link time optimization (lto) , configure flag is --enable-jvm-feature-link-time-opt , we run in the gtest build into a lot of errors.
> One workaround is just to configure without gtest ; this one changes the make to NOT use the lto build flags for gtest , just for the "normal" libjvm.so .

I see. Yet another reason for me to actually spend some time on implementing https://bugs.openjdk.org/browse/JDK-8296497.

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

PR Comment: https://git.openjdk.org/jdk/pull/23173#issuecomment-2613030864


More information about the build-dev mailing list