RFR: 8338768: Introduce runtime lookup to check for static builds [v2]

David Holmes dholmes at openjdk.org
Mon Sep 2 04:12:26 UTC 2024


On Sun, 1 Sep 2024 16:30:33 GMT, Julian Waters <jwaters at openjdk.org> wrote:

> This does make me wonder: What if the new method for checking if the VM was statically linked was inlined? Then the problem comes back yet again as the object files need to be recompiled once more. This is possible if Link Time Optimization is switched on, and I don't like the implication that LTO might be removed as a result just to make this work

Wouldn't such link-time "inlining" only appear in the object code stored within the library, not in the original object file?

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

PR Comment: https://git.openjdk.org/jdk/pull/20666#issuecomment-2323775705


More information about the build-dev mailing list