RFR: 8329131: Fold libjli_static back into libjli on AIX
Magnus Ihse Bursie
ihse at openjdk.org
Thu Mar 28 11:33:57 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.
I have pushed what I believe should be a fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/18497#issuecomment-2024963246
More information about the build-dev
mailing list