Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-3007 ARM/aarch64 platform support
  3. KUDU-3144

Compile kudu in Release mode failed on aarch64 server

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.13.0
    • None
    • None

    Description

      We can not compile kudu master on aarch64 when build type is RELEASE:
      ......
      [ 73%] Built target diff_scan-test
      Scanning dependencies of target composite-pushdown-test
      [ 73%] Building CXX object src/kudu/tablet/CMakeFiles/composite-pushdown-test.dir/composite-pushdown-test.cc.o
      [ 73%] Linking CXX executable ../../../bin/tablet_replica-test
      ......
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMSelectionDAG.a(SelectionDAGBuilder.cpp.o)", section 655, offset 0x00000004.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMCodeGen.a(MachineFunctionPass.cpp.o)", section 43, offset 0x000000c0.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMCodeGen.a(RegisterCoalescer.cpp.o)", section 148, offset 0x000000ac.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMCodeGen.a(ScalarizeMaskedMemIntrin.cpp.o)", section 19, offset 0x00000000.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMCodeGen.a(EdgeBundles.cpp.o)", section 38, offset 0x00000018.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMScalarOpts.a(EarlyCSE.cpp.o)", section 207, offset 0x0000018c.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMAnalysis.a(CGSCCPassManager.cpp.o)", section 225, offset 0x00000110.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMCore.a(Attributes.cpp.o)", section 43, offset 0x00000000.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libLLVMAArch64Desc.a(AArch64MCAsmInfo.cpp.o)", section 109, offset 0x000000e4.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libprotobuf.a(wrappers.pb.o)", section 75, offset 0x00000bbc.
      Erratum 843419 found and fixed at "../../../../../thirdparty/installed/uninstrumented/lib/libprotobuf.a(time.o)", section 2, offset 0x00000b2c.
      /opt/kudu/src/kudu/tablet/tablet_replica-test-base.cc:167: error: undefined reference to 'kudu::tablet::BootstrapTablet(scoped_refptr<kudu::tablet::TabletMetadata>, kudu::consensus::RaftConfigPB, kudu::clock::Clock*, std::shared_ptr<kudu::MemTracker>, scoped_refptr<kudu::rpc::ResultTracker>, kudu::MetricRegistry*, kudu::FileCache*, scoped_refptr<kudu::tablet::TabletReplica>, scoped_refptr<kudu::log::LogAnchorRegistry>, std::shared_ptr<kudu::tablet::Tablet>, scoped_refptr<kudu::log::Log>, kudu::consensus::ConsensusBootstrapInfo*)'
      collect2: error: ld returned 1 exit status
      src/kudu/tablet/CMakeFiles/tablet_replica-test.dir/build.make:191: recipe for target 'bin/tablet_replica-test' failed
      make[2]: *** [bin/tablet_replica-test] Error 1
      CMakeFiles/Makefile2:20395: recipe for target 'src/kudu/tablet/CMakeFiles/tablet_replica-test.dir/all' failed
      make[1]: *** [src/kudu/tablet/CMakeFiles/tablet_replica-test.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....

      Attachments

        Activity

          People

            awong Andrew Wong
            huangtianhua huangtianhua
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: