On Mon, 18 Mar 2024 17:43:45 GMT, Suchismith Roy <s...@openjdk.org> wrote:

>> Allow support for both .a and .so files in AIX.
>> If .so file is not found, allow fallback to .a extension.
>> JBS Issue: [JDK-8319516](https://bugs.openjdk.org/browse/JDK-8319516)
>
> Suchismith Roy has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   trraling spaces

`dlopen` really expects `libclang.a(libclang.so.16)`. I don't think this can 
currently be passed by any of the functions `System.loadLibrary`, `System.load` 
or `SymbolLookup.libraryLookup`. The `.16` suffix is only for clang 16. Clang 
15 uses `.15`.
Note that AIX uses archive members quite often. E.g. `libc.a(shr_64.o)`, 
`libpthreads.a(shr_xpg5_64.o)`, `libz.a(libz.so.1)`, ...
Only the Java developer can select the right member.

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

PR Comment: https://git.openjdk.org/jdk/pull/17945#issuecomment-2015274997

Reply via email to