RFR: 8329131: Fold libjli_static back into libjli on AIX

Magnus Ihse Bursie ihse at openjdk.org
Thu Mar 28 10:55:33 UTC 2024


On Tue, 26 Mar 2024 19:30:01 GMT, Magnus Ihse Bursie <ihse at openjdk.org> 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, even though this is never used. Instead, we also build a static libjli_static.a library (which is then forced to have a different name as to not collide with the dynamic library).
> 
> This should be fixed. We should build exactly one libjli on all platforms, be it static or dynamic.

Aaahhh... there is a test that uses jli. I did not think of that. *sigh* Ok, back to the drawing board.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/18497#issuecomment-2024904327


More information about the build-dev mailing list