RFR: 8371893: [macOS aarch64] use dead_strip linker option to reduce binary size
Matthias Baesken
mbaesken at openjdk.org
Tue Nov 18 14:38:17 UTC 2025
On Tue, 18 Nov 2025 14:05:32 GMT, Erik Joelsson <erikj at openjdk.org> wrote:
> I have a vague memory of some seemingly dead code being necessary for certain sa functionality.
Yeah I remember too,
We noticed similar issues when using the lto configure flag on libjvm with gcc (other platform and switch but similar issues).
Is there a way to attribute such 'dead' functions with e.g. an attribute to pragma or something similar to avoid removal of those ?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/28319#issuecomment-3547901166
More information about the build-dev
mailing list