On Mon, 13 Jul 2026 08:27:39 GMT, Thomas Stuefe <[email protected]> wrote:
> Ah okay then. It also occurred to me we could just force the linker to retain > them with something like __attribute__((used, retain)) Unfortunately, the attribute setting did not work well for me, the linker still eliminates stuff it thinks it is 'dead' . Might of course be, that some toolchains work better with the attributes and can transfer the attribute setting to the linker and use it correctly there but in general it did not work well for me. ------------- PR Comment: https://git.openjdk.org/jdk/pull/31765#issuecomment-4956809538
