On AIX we run into this issue when building slowdebug :
ld: 0711-317 ERROR: Undefined symbol: _ZN12TrainingData18TrainingDataLocker9_snapshotE
ld: 0711-317 ERROR: Undefined symbol: ._ZN24AOTLinkedClassBulkLoader15preload_classesEP10JavaThread
The product and fastdebug builds seem to work. Note that AIX does not support CDS.
The same error can be reproduced when using --with-debug-level=slowdebug --disable-cds configure options on other platforms:
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_run_ld:
Undefined symbols for architecture arm64:
"TrainingData::TrainingDataLocker::_snapshot", referenced from:
TrainingData::TrainingDataLocker::assert_locked_or_snapshotted() in ciMethod.o
"AOTLinkedClassBulkLoader::preload_classes(JavaThread*)", referenced from:
vmClasses::resolve_all(JavaThread*) in vmClasses.o
ld: symbol(s) not found for architecture arm64
ld: 0711-317 ERROR: Undefined symbol: _ZN12TrainingData18TrainingDataLocker9_snapshotE
ld: 0711-317 ERROR: Undefined symbol: ._ZN24AOTLinkedClassBulkLoader15preload_classesEP10JavaThread
The product and fastdebug builds seem to work. Note that AIX does not support CDS.
The same error can be reproduced when using --with-debug-level=slowdebug --disable-cds configure options on other platforms:
* For target hotspot_variant-server_libjvm_objs_BUILD_LIBJVM_run_ld:
Undefined symbols for architecture arm64:
"TrainingData::TrainingDataLocker::_snapshot", referenced from:
TrainingData::TrainingDataLocker::assert_locked_or_snapshotted() in ciMethod.o
"AOTLinkedClassBulkLoader::preload_classes(JavaThread*)", referenced from:
vmClasses::resolve_all(JavaThread*) in vmClasses.o
ld: symbol(s) not found for architecture arm64
- links to
-
Review(master) openjdk/jdk/27744