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

JDK-8264188 breaks build on macOS-aarch64

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: 17
    • Fix Version/s: 17
    • Component/s: infrastructure
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20
    • CPU:
      aarch64
    • OS:
      os_x

      Description

      The following build errors started happening in jdk-17+20-1692-tier1
      which only includes the fix for:

      JDK-8264188 Improve handling of assembly files in the JDK

      [2021-04-26T13:11:30,179Z] Creating jdk-17-ea+20_osx-aarch64_bin-static-libs.tar.gz
      [2021-04-26T13:11:31,966Z] Undefined symbols for architecture arm64:
      [2021-04-26T13:11:31,966Z] "__Copy_conjoint_words", referenced from:
      [2021-04-26T13:11:31,967Z] G1FullGCCompactTask::G1CompactRegionClosure::apply(oopDesc*) in g1FullGCCompactTask.o
      [2021-04-26T13:11:31,968Z] PSParallelCompact::decrement_destination_counts(ParCompactionManager*, PSParallelCompact::SpaceId, unsigned long, HeapWordImpl**) in psParallelCompact.o
      [2021-04-26T13:11:31,968Z] PSParallelCompact::copy_back(HeapWordImpl**, HeapWordImpl**) in psParallelCompact.o
      [2021-04-26T13:11:31,968Z] PSParallelCompact::fill_region(ParCompactionManager*, MoveAndUpdateClosure&, unsigned long) in psParallelCompact.o
      [2021-04-26T13:11:31,968Z] MoveAndUpdateClosure::copy_partial_obj() in psParallelCompact.o
      [2021-04-26T13:11:31,968Z] MoveAndUpdateClosure::copy_until_full() in psParallelCompact.o
      [2021-04-26T13:11:31,968Z] MoveAndUpdateClosure::do_addr(HeapWordImpl**, unsigned long) in psParallelCompact.o
      [2021-04-26T13:11:31,968Z] ...
      [2021-04-26T13:11:31,978Z] "__Copy_disjoint_words", referenced from:
      [2021-04-26T13:11:31,978Z] AccessInternal::arraycopy_disjoint_words(void*, void*, unsigned long) in accessBackend.o
      [2021-04-26T13:11:31,978Z] AccessInternal::arraycopy_disjoint_words_atomic(void*, void*, unsigned long) in accessBackend.o
      [2021-04-26T13:11:31,979Z] ResourceBitMap::resize(unsigned long) in bitMap.o
      [2021-04-26T13:11:31,979Z] ResourceBitMap::initialize(unsigned long) in bitMap.o
      [2021-04-26T13:11:31,979Z] BitMap::set_from(BitMap const&) in bitMap.o
      [2021-04-26T13:11:31,979Z] unsigned long* BitMap::reallocate<CHeapBitMapAllocator>(CHeapBitMapAllocator const&, unsigned long*, unsigned long, unsigned long, bool) in bitMap.o
      [2021-04-26T13:11:31,979Z] ciMethodData::load_remaining_extra_data() in ciMethodData.o
      [2021-04-26T13:11:31,979Z] ...
      [2021-04-26T13:11:31,993Z] Undefined symbols for architecture arm64:
      [2021-04-26T13:11:31,993Z] "__Copy_conjoint_words", referenced from:
      [2021-04-26T13:11:31,994Z] G1FullGCCompactTask::G1CompactRegionClosure::apply(oopDesc*) in g1FullGCCompactTask.o
      [2021-04-26T13:11:31,995Z] PSParallelCompact::decrement_destination_counts(ParCompactionManager*, PSParallelCompact::SpaceId, unsigned long, HeapWordImpl**) in psParallelCompact.o
      [2021-04-26T13:11:31,995Z] PSParallelCompact::copy_back(HeapWordImpl**, HeapWordImpl**) in psParallelCompact.o
      [2021-04-26T13:11:31,995Z] PSParallelCompact::fill_region(ParCompactionManager*, MoveAndUpdateClosure&, unsigned long) in psParallelCompact.o
      [2021-04-26T13:11:31,995Z] MoveAndUpdateClosure::copy_partial_obj() in psParallelCompact.o
      [2021-04-26T13:11:31,995Z] MoveAndUpdateClosure::copy_until_full() in psParallelCompact.o
      [2021-04-26T13:11:31,995Z] MoveAndUpdateClosure::do_addr(HeapWordImpl**, unsigned long) in psParallelCompact.o
      [2021-04-26T13:11:31,995Z] ...
      [2021-04-26T13:11:31,999Z] ld: symbol(s) not found for architecture arm64
      [2021-04-26T13:11:32,002Z] clang: error: linker command failed with exit code 1 (use -v to see invocation)
      [2021-04-26T13:11:32,006Z] lib/CompileJvm.gmk:141: recipe for target '/System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S140959/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b1409418-e1a3-437f-8e81-c30cc0181734/runs/47dc1ca9-6ba3-4d4b-9367-c8e1e88f4d3d/workspace/build/macosx-aarch64/support/modules_libs/java.base/server/libjvm.dylib' failed
      [2021-04-26T13:11:32,006Z] make[3]: *** [/System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S140959/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b1409418-e1a3-437f-8e81-c30cc0181734/runs/47dc1ca9-6ba3-4d4b-9367-c8e1e88f4d3d/workspace/build/macosx-aarch64/support/modules_libs/java.base/server/libjvm.dylib] Error 1
      [2021-04-26T13:11:32,006Z] make[3]: *** Waiting for unfinished jobs....
      [2021-04-26T13:11:32,010Z] "__Copy_disjoint_words", referenced from:
      [2021-04-26T13:11:32,011Z] AccessInternal::arraycopy_disjoint_words(void*, void*, unsigned long) in accessBackend.o
      [2021-04-26T13:11:32,011Z] AccessInternal::arraycopy_disjoint_words_atomic(void*, void*, unsigned long) in accessBackend.o
      [2021-04-26T13:11:32,011Z] ResourceBitMap::resize(unsigned long) in bitMap.o
      [2021-04-26T13:11:32,011Z] ResourceBitMap::initialize(unsigned long) in bitMap.o
      [2021-04-26T13:11:32,011Z] BitMap::set_from(BitMap const&) in bitMap.o
      [2021-04-26T13:11:32,011Z] unsigned long* BitMap::reallocate<CHeapBitMapAllocator>(CHeapBitMapAllocator const&, unsigned long*, unsigned long, unsigned long, bool) in bitMap.o
      [2021-04-26T13:11:32,011Z] ciMethodData::load_remaining_extra_data() in ciMethodData.o
      [2021-04-26T13:11:32,011Z] ...
      [2021-04-26T13:11:32,036Z] ld: symbol(s) not found for architecture arm64
      [2021-04-26T13:11:32,040Z] clang: error: linker command failed with exit code 1 (use -v to see invocation)
      [2021-04-26T13:11:32,043Z] lib/CompileGtest.gmk:86: recipe for target '/System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S140959/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b1409418-e1a3-437f-8e81-c30cc0181734/runs/47dc1ca9-6ba3-4d4b-9367-c8e1e88f4d3d/workspace/build/macosx-aarch64/hotspot/variant-server/libjvm/gtest/libjvm.dylib' failed
      [2021-04-26T13:11:32,043Z] make[3]: *** [/System/Volumes/Data/mesos/work_dir/slaves/3c846bae-ce30-4a97-93ee-9fef4497ccb6-S140959/frameworks/1735e8a2-a1db-478c-8104-60c8b0af87dd-0196/executors/b1409418-e1a3-437f-8e81-c30cc0181734/runs/47dc1ca9-6ba3-4d4b-9367-c8e1e88f4d3d/workspace/build/macosx-aarch64/hotspot/variant-server/libjvm/gtest/libjvm.dylib] Error 1
      [2021-04-26T13:11:32,218Z] make[2]: *** [hotspot-server-libs] Error 2
      [2021-04-26T13:11:32,218Z] make/Main.gmk:255: recipe for target 'hotspot-server-libs' failed
      [2021-04-26T13:11:32,219Z]
      [2021-04-26T13:11:32,219Z] ERROR: Build failed for target 'default (product-bundles test-bundles static-libs-bundles)' in configuration 'macosx-aarch64' (exit code 2)
      [2021-04-26T13:11:32,224Z] Stopping sjavac server

      I'm starting this as a P1 build since this is a Tier1 build failure.
      However, macOS-aarch64 is a very new platform so this might
      be a P2 instead.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ihse Magnus Ihse Bursie
              Reporter:
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: