RFR: JDK-8320005 : Allow loading of shared objects with .a extension on AIX [v9]
Martin Doerr
mdoerr at openjdk.org
Wed Jan 24 04:00:35 UTC 2024
On Tue, 16 Jan 2024 08:36:49 GMT, Suchismith Roy <sroy at openjdk.org> wrote:
>> J2SE agent does not start and throws error when it tries to find the shared library ibm_16_am.
>> After searching for ibm_16_am.so ,the jvm agent throws and error as dll_load fails.It fails to identify the shared library ibm_16_am.a shared archive file on AIX.
>> Hence we are providing a function which will additionally search for .a file on AIX ,when the search for .so file fails.
>
> Suchismith Roy has updated the pull request incrementally with three additional commits since the last revision:
>
> - Update porting_aix.cpp
> - Update porting_aix.cpp
> - Update os_aix.cpp
Regarding `libclang.a`, Joachim told me that we would need to load `libclang.a(libclang.so.16)`. So that's a different issue which relates to `System.loadLibrary(libName)` (https://bugs.openjdk.org/browse/JDK-8319516) and not to this hotspot internal issue.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16604#issuecomment-1907311369
More information about the serviceability-dev
mailing list