RFR: 8371626: [linux] use icf=all for linking libraries [v3]

Matthias Baesken mbaesken at openjdk.org
Tue Nov 18 08:16:17 UTC 2025


On Mon, 17 Nov 2025 19:32:55 GMT, Erik Joelsson <erikj at openjdk.org> wrote:

> Did you consider using `--icf=safe` instead? Using `--icf==all` seems to be risky.

I tried this too, it works but the binaries are a bit larger with this setting, but I have no detailed values.
Regarding 'risky' I did not see any test issues with the flag added in our CI .

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

PR Comment: https://git.openjdk.org/jdk/pull/28236#issuecomment-3546097810


More information about the build-dev mailing list