RFR: 8339480: Build static-jdk image with a statically linked launcher
Jiangli Zhou
jiangli at openjdk.org
Thu Sep 5 19:21:52 UTC 2024
On Thu, 5 Sep 2024 09:50:49 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> Well, but your proof-of-concept only supports clang on linux, where you have enabled symbol hiding.
The hermetic-java-runtime branch doesn't have general symbol hiding enabled. That's why I'm wondering what the issues are with these libs except for `libjawt` with the current PR.
(A side-note on `libjawt.a`: For static linking, we don't need `libjawt.a` and the headless or headful libs can be directly statically linked with.)
>
> Our conclusion in the zoom talks was that we should strive for getting a static launcher build pushed into mainline before we have full and proper support for symbol hiding on all platforms.
Right, that would be a good & practical way to add the support in the mainline.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20837#discussion_r1746051842
More information about the core-libs-dev
mailing list