-
Enhancement
-
Resolution: Fixed
-
P4
-
21, 22
-
b11
-
ppc
-
aix
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8320693 | 21.0.2 | Matthias Baesken | P4 | Resolved | Fixed | b09 |
AIX dlopen allows loading members of a lib; the syntax for members is libname(member-object) . However this needs an additional flag RTLD_MEMBER passed to dlopen.
Example from our OpenJDK codebase : dlopen("/usr/lib/libperfstat.a(shr_64.o)", RTLD_MEMBER | RTLD_NOW);
However, currently we do not support this in os::dll_load, so member loading would fail because of the missing RTLD_MEMBER flag.
See https://www.ibm.com/docs/en/aix/7.1?topic=d-dlopen-subroutine part about RTLD_MEMBER
Example from our OpenJDK codebase : dlopen("/usr/lib/libperfstat.a(shr_64.o)", RTLD_MEMBER | RTLD_NOW);
However, currently we do not support this in os::dll_load, so member loading would fail because of the missing RTLD_MEMBER flag.
See https://www.ibm.com/docs/en/aix/7.1?topic=d-dlopen-subroutine part about RTLD_MEMBER
- backported by
-
JDK-8320693 support loading library members on AIX in os::dll_load
-
- Resolved
-
- relates to
-
JDK-8320830 [AIX] Dont mix os::dll_load() with direct dlclose() calls
-
- Resolved
-
-
JDK-8319516 AIX System::loadLibrary needs support to load a shared library from an archive object
-
- Closed
-
- links to
-
Commit openjdk/jdk21u/ecb199ad
-
Commit openjdk/jdk/23fe2ece
-
Review openjdk/jdk21u/308
-
Review openjdk/jdk/15204
(2 links to)