Re: Hermetic Java project meeting

2024-05-30 Thread Magnus Ihse Bursie
On 2024-05-21 20:51, Jiangli Zhou wrote: Magnus will send out his changes as PR draft for initial review for deciding on how to move forward with the non-makefile changes. This is now published in https://github.com/openjdk/jdk/pull/19478. /Magnus

Re: Hermetic Java project meeting

2024-05-28 Thread Jiangli Zhou
On Tue, May 28, 2024 at 9:09 AM Magnus Ihse Bursie < magnus.ihse.bur...@oracle.com> wrote: > On 2024-05-07 06:04, Jiangli Zhou wrote: > > I did think I correctly changed every dynamic check that you had added > to a compile-time check, so it bewilders me somewhat when you say that > jvm.cfg is not

Re: Hermetic Java project meeting

2024-05-28 Thread Magnus Ihse Bursie
On 2024-05-07 06:04, Jiangli Zhou wrote: I did think I correctly changed every dynamic check that you had added to a compile-time check, so it bewilders me somewhat when you say that jvm.cfg is not needed in your branch. Can you verify and confirm that the static launcher actually works in your

Re: Hermetic Java project meeting

2024-05-21 Thread Jiangli Zhou
We had a discussion on static Java this morning. Outcome of today's discussion: For the first step in earlier outlined steps, there's a preference to have a minimum buildable and runnable (be able to run HelloWorld) `javastatic` as the initial integration point for the mainline. Following are the

Re: Hermetic Java project meeting

2024-05-20 Thread Jiangli Zhou
On Tue, May 7, 2024 at 5:26 AM Magnus Ihse Bursie < magnus.ihse.bur...@oracle.com> wrote: > On 2024-05-07 06:04, Jiangli Zhou wrote: > > On Tue, Apr 30, 2024 at 5:42 AM Magnus Ihse > Bursie wrote: > > I am not sure why clang insisted on picking up ld and not lld. I remeber > trying with -fuse-ld

Re: Hermetic Java project meeting

2024-05-07 Thread Magnus Ihse Bursie
On 2024-05-07 06:04, Jiangli Zhou wrote: On Tue, Apr 30, 2024 at 5:42 AM Magnus Ihse Bursie wrote: I am not sure why clang insisted on picking up ld and not lld. I remeber trying with -fuse-ld=lld, and that it did not work either. Unfortunately, I don't remember exactly what the problems were

Re: Hermetic Java project meeting

2024-05-06 Thread Jiangli Zhou
On Tue, Apr 30, 2024 at 5:42 AM Magnus Ihse Bursie wrote: > > > On 2024-04-26 03:15, Jiangli Zhou wrote: > > On Thu, Apr 25, 2024 at 9:28 AM Magnus Ihse Bursie > > wrote: > >> > >> Just to be more clear, that's with using `objcopy` to localize > >> non-exported symbols for all JDK static librari

Re: Hermetic Java project meeting

2024-04-30 Thread Magnus Ihse Bursie
On 2024-04-26 03:15, Jiangli Zhou wrote: On Thu, Apr 25, 2024 at 9:28 AM Magnus Ihse Bursie wrote: Just to be more clear, that's with using `objcopy` to localize non-exported symbols for all JDK static libraries and libjvm.a, not just libjvm.a right? Yes. Can you please include the compi

Re: Hermetic Java project meeting

2024-04-25 Thread Jiangli Zhou
On Thu, Apr 25, 2024 at 9:28 AM Magnus Ihse Bursie wrote: > > > Just to be more clear, that's with using `objcopy` to localize non-exported > symbols for all JDK static libraries and libjvm.a, not just libjvm.a right? > > Yes. > > > Can you please include the compiler or linker errors on linux/cl

Re: Hermetic Java project meeting

2024-04-25 Thread Magnus Ihse Bursie
Just to be more clear, that's with using `objcopy` to localize non-exported symbols for all JDK static libraries and libjvm.a, not just libjvm.a right? Yes. Can you please include the compiler or linker errors on linux/clang? It is a bit tricky. The problem arises at the partial linking st

Re: Hermetic Java project meeting

2024-04-24 Thread Jiangli Zhou
Magnus, thanks for the update! Looks like you've made some good progress. Please see my comments below. On Tue, Apr 23, 2024 at 3:42 AM Magnus Ihse Bursie < magnus.ihse.bur...@oracle.com> wrote: > I will not be able to participate in the meeting today. > > Let me report a bit on my work this week

Re: Hermetic Java project meeting

2024-04-23 Thread Magnus Ihse Bursie
I will not be able to participate in the meeting today. Let me report a bit on my work this week. I have made a proof of concept branch which can properly compile static java on macos with clang and linux with gcc. (With "properly" I mean hiding non-exported symbols). I still have problems rep

Re: Hermetic Java project meeting

2024-04-16 Thread Jiangli Zhou
On Tue, Apr 16, 2024 at 12:39 PM Jiangli Zhou wrote: > > Magnus, thanks for the meeting summary! Please see clarifications > below, to avoid any confusion. > > On Tue, Apr 16, 2024 at 11:27 AM Magnus Ihse Bursie > wrote: > > > > This is my summary of what was said in today's meeting: > > > > * Ji

Re: Hermetic Java project meeting

2024-04-16 Thread Jiangli Zhou
Magnus, thanks for the meeting summary! Please see clarifications below, to avoid any confusion. On Tue, Apr 16, 2024 at 11:27 AM Magnus Ihse Bursie wrote: > > This is my summary of what was said in today's meeting: > > * Jiangli reported that her team had done extensive testing and not seen > an

Hermetic Java project meeting

2024-04-16 Thread Magnus Ihse Bursie
This is my summary of what was said in today's meeting: * Jiangli reported that her team had done extensive testing and not seen any problems, both with just the static launcher as generated by the leyden branch, and with bundled user applications using the One Jar (?) tool. They tested JDK ti