Re: RFR: 8329131: Fold libjli_static back into libjli on AIX [v2]

2024-03-31 Thread Christoph Langer
On Thu, 28 Mar 2024 11:33:57 GMT, Magnus Ihse Bursie wrote: >> On AIX, we need a static libjli, since the linker cannot find other >> libraries (like libjvm.so and libjava.so) using a relative path, as on other >> platforms. >> >> However, for reasons unclear, we still build a dynamic libjli.s

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-28 Thread Christoph Langer
On Thu, 28 Mar 2024 11:30:14 GMT, Magnus Ihse Bursie wrote: > I have pushed what I believe should be a fix. OK, great. Testing started. I'll let you know the results. - PR Comment: https://git.openjdk.org/jdk/pull/18497#issuecomment-2025609933

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-28 Thread Magnus Ihse Bursie
On Tue, 26 Mar 2024 19:30:01 GMT, Magnus Ihse Bursie wrote: > On AIX, we need a static libjli, since the linker cannot find other libraries > (like libjvm.so and libjava.so) using a relative path, as on other platforms. > > However, for reasons unclear, we still build a dynamic libjli.so on AIX

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX [v2]

2024-03-28 Thread Magnus Ihse Bursie
> On AIX, we need a static libjli, since the linker cannot find other libraries > (like libjvm.so and libjava.so) using a relative path, as on other platforms. > > However, for reasons unclear, we still build a dynamic libjli.so on AIX, even > though this is never used. Instead, we also build a

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-28 Thread Magnus Ihse Bursie
On Tue, 26 Mar 2024 19:30:01 GMT, Magnus Ihse Bursie wrote: > On AIX, we need a static libjli, since the linker cannot find other libraries > (like libjvm.so and libjava.so) using a relative path, as on other platforms. > > However, for reasons unclear, we still build a dynamic libjli.so on AIX

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-28 Thread Matthias Baesken
On Tue, 26 Mar 2024 19:30:01 GMT, Magnus Ihse Bursie wrote: > On AIX, we need a static libjli, since the linker cannot find other libraries > (like libjvm.so and libjava.so) using a relative path, as on other platforms. > > However, for reasons unclear, we still build a dynamic libjli.so on AIX

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-26 Thread Christoph Langer
On Tue, 26 Mar 2024 19:48:24 GMT, Magnus Ihse Bursie wrote: > @MBaesken @RealCLanger I will need your assistance for testing this on AIX. > > I believe all refactorings I have done will keep the static jli build > identical on AIX (apart from the name, of course). I have searched for jli > ref

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-26 Thread Erik Joelsson
On Tue, 26 Mar 2024 19:30:01 GMT, Magnus Ihse Bursie wrote: > On AIX, we need a static libjli, since the linker cannot find other libraries > (like libjvm.so and libjava.so) using a relative path, as on other platforms. > > However, for reasons unclear, we still build a dynamic libjli.so on AIX

Re: RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-26 Thread Magnus Ihse Bursie
On Tue, 26 Mar 2024 19:30:01 GMT, Magnus Ihse Bursie wrote: > On AIX, we need a static libjli, since the linker cannot find other libraries > (like libjvm.so and libjava.so) using a relative path, as on other platforms. > > However, for reasons unclear, we still build a dynamic libjli.so on AIX

RFR: 8329131: Fold libjli_static back into libjli on AIX

2024-03-26 Thread Magnus Ihse Bursie
On AIX, we need a static libjli, since the linker cannot find other libraries (like libjvm.so and libjava.so) using a relative path, as on other platforms. However, for reasons unclear, we still build a dynamic libjli.so on AIX, even though this is never used. Instead, we also build a static lib