RFR: 8351309: test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java fails on static-jdk
Jiangli Zhou
jiangli at openjdk.org
Thu Mar 6 17:47:02 UTC 2025
On Thu, 6 Mar 2025 16:01:16 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> This is not the correct way to solve this. You should flag libjsig as `ONLY_EXPORTED` instead, which means that the library will not be included in a static build.
I think we do want to include `libjsig.a` as part of the JDK static libs. When users build application hermetic image, they can choose to whether statically link with or without `libjsig.a`. See my other comments for more details, https://github.com/openjdk/jdk/pull/23924#issuecomment-2704412958.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23924#issuecomment-2704537513
More information about the build-dev
mailing list