Re: RFR: 8339480: Build static-jdk image with a statically linked launcher [v6]

2024-10-15 Thread Magnus Ihse Bursie
On Tue, 15 Oct 2024 18:59:32 GMT, Jiangli Zhou wrote: >> After thinking a bit more on this, I concluded that we cannot automatically >> extract a proper set of ld flags from what's being passed to the individual >> libraries. The LDFLAGS needed by the monolithic static library needs to be >> e

Re: RFR: 8339480: Build static-jdk image with a statically linked launcher [v6]

2024-10-15 Thread Magnus Ihse Bursie
> As a prerequisite for Hermetic Java, we need a statically linked `java` > launcher. It should behave like the normal, dynamically linked `java` > launcher, except that all JDK native libraries should be statically, not > dynamically, linked. > > This patch is the first step towards this goal.