After JDK-8282191, the following error is encountered when building with xlc on AIX while linking libjvm.so:
ld: 0711-317 ERROR: Undefined symbol: ._ZTH13threadContext
ld: 0711-344 See the loadmap file /build_aix/hotspot/variant-server/libjvm/objs/libjvm.loadmap for more information.
gmake[3]: *** [lib/CompileJvm.gmk:149: /build_aix/support/modules_libs/java.base/server/libjvm.so] Error 8
gmake[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2
I believe this to be a bug in xlc that surfaces when using 'thread_local' with a struct containing a dtor.
ld: 0711-317 ERROR: Undefined symbol: ._ZTH13threadContext
ld: 0711-344 See the loadmap file /build_aix/hotspot/variant-server/libjvm/objs/libjvm.loadmap for more information.
gmake[3]: *** [lib/CompileJvm.gmk:149: /build_aix/support/modules_libs/java.base/server/libjvm.so] Error 8
gmake[2]: *** [make/Main.gmk:252: hotspot-server-libs] Error 2
I believe this to be a bug in xlc that surfaces when using 'thread_local' with a struct containing a dtor.
- relates to
-
JDK-8282469 Allow considered use of C++ thread_local in Hotspot
-
- Resolved
-
-
JDK-8326085 Remove unnecessary UpcallContext constructor
-
- Resolved
-