On Tue, 26 Mar 2024 19:30:01 GMT, Magnus Ihse Bursie <i...@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.

Unfortunately the  AIX build fails with this patch 


* For target 
support_test_jdk_jtreg_native_support_exeJliLaunchTest_BUILD_TEST_exeJliLaunchTest_link:
ld: 0706-006 Cannot find or open library file: -l jli
        ld:open(): No such file or directory
.ibm-clang: error: linker command failed with exit code 255 (use -v to see 
invocation)

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

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

Reply via email to