RFR: 8329131: Fold libjli_static back into libjli on AIX

Erik Joelsson erikj at openjdk.org
Tue Mar 26 21:57:22 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.

Looks good, but the AIX people will need to validate of course.

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

Marked as reviewed by erikj (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/18497#pullrequestreview-1961809651


More information about the build-dev mailing list