Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8369560

Slowdebug build without CDS fails

XMLWordPrintable

    • b20

        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

              mbaesken Matthias Baesken
              mbaesken Matthias Baesken
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: