RFR: 8373255: Unexpected iobj and ipdb files after JDK-8370438

Erik Joelsson erikj at openjdk.org
Tue Dec 9 17:04:03 UTC 2025


On Mon, 8 Dec 2025 23:37:03 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> When using `-LTCG` with Visual Studio, then by default, the linker will output an extra `.iobj` file in the same directory as the target file. In the OpenJDK build that means this file, along with the accompanying `.ipdb` file, will end up in the JDK image. To fix this, we need to apply a similar fix to JDK-8372643 and add an extra parameter that defines the location of this file.

Confirmed that this fixes the cmp-baseline issue as well, so you can re-enable LTO for splashscreen if you wish.

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

PR Comment: https://git.openjdk.org/jdk/pull/28709#issuecomment-3633295465


More information about the build-dev mailing list