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

Christoph Langer clanger at openjdk.org
Sun Mar 31 10:56:36 UTC 2024


On Thu, 28 Mar 2024 11:33:57 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.
>
> Magnus Ihse Bursie has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Attempted fix for exeJliLaunchTest

Looks good now. AIX build passes with this change.

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

Marked as reviewed by clanger (Reviewer).

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


More information about the build-dev mailing list