[llvm] [AArch64][NPM] Chalk out the CodeGenPassBuilder for NPM (PR #128471)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 24 22:11:06 PST 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `ml-opt-rel-x86-64` running on `ml-opt-rel-x86-64-b1` while building `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/185/builds/13687
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
...
7.604 [2/9/739] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
7.668 [2/8/740] Linking CXX executable unittests/Transforms/Scalar/ScalarTests
7.940 [2/7/741] Linking CXX executable unittests/tools/llvm-mca/LLVMMCATests
8.989 [2/6/742] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
13.365 [2/5/743] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AddressingModes.cpp.o
13.504 [2/4/744] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/Immediates.cpp.o
14.212 [2/3/745] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SVESchedPseudoTest.cpp.o
14.302 [2/2/746] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64RegisterInfoTest.cpp.o
14.450 [2/1/747] Building CXX object unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/InstSizes.cpp.o
16.187 [1/1/748] Linking CXX executable unittests/Target/AArch64/AArch64Tests
FAILED: unittests/Target/AArch64/AArch64Tests
: && /usr/bin/c++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,--gc-sections unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64InstPrinterTest.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AddressingModes.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/DecomposeStackOffsetTest.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/InstSizes.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/MatrixRegisterAliasing.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/SMEAttributesTest.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64RegisterInfoTest.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/AArch64SVESchedPseudoTest.cpp.o unittests/Target/AArch64/CMakeFiles/AArch64Tests.dir/Immediates.cpp.o -o unittests/Target/AArch64/AArch64Tests lib/libLLVMAArch64CodeGen.a lib/libLLVMAArch64Desc.a lib/libLLVMAArch64Info.a lib/libLLVMAArch64Utils.a lib/libLLVMAsmParser.a lib/libLLVMCodeGen.a lib/libLLVMCodeGenTypes.a lib/libLLVMCore.a lib/libLLVMGlobalISel.a lib/libLLVMMC.a lib/libLLVMMIRParser.a lib/libLLVMSelectionDAG.a lib/libLLVMSupport.a lib/libLLVMTarget.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a -lpthread lib/libllvm_gtest_main.a lib/libllvm_gtest.a -lpthread lib/libLLVMAsmPrinter.a lib/libLLVMCFGuard.a lib/libLLVMVectorize.a lib/libLLVMSandboxIR.a lib/libLLVMCodeGen.a lib/libLLVMScalarOpts.a lib/libLLVMAggressiveInstCombine.a lib/libLLVMInstCombine.a lib/libLLVMCGData.a lib/libLLVMBitWriter.a lib/libLLVMObjCARCOpts.a lib/libLLVMTransformUtils.a lib/libLLVMCodeGenTypes.a lib/libLLVMTarget.a lib/libLLVMAnalysis.a lib/libtf_xla_runtime.a lib/libLLVMProfileData.a lib/libLLVMSymbolize.a lib/libLLVMDebugInfoDWARF.a lib/libLLVMDebugInfoPDB.a lib/libLLVMDebugInfoCodeView.a lib/libLLVMDebugInfoMSF.a lib/libLLVMDebugInfoBTF.a lib/libLLVMObject.a lib/libLLVMMCParser.a lib/libLLVMMC.a lib/libLLVMIRReader.a lib/libLLVMAsmParser.a lib/libLLVMBitReader.a lib/libLLVMCore.a lib/libLLVMRemarks.a lib/libLLVMBitstreamReader.a lib/libLLVMTextAPI.a lib/libLLVMBinaryFormat.a lib/libLLVMTargetParser.a lib/libLLVMSupport.a lib/libLLVMDemangle.a -lrt -ldl -lpthread -lm /usr/lib/x86_64-linux-gnu/libz.so -lpthread && :
lib/libLLVMAArch64CodeGen.a(AArch64TargetMachine.cpp.o):AArch64TargetMachine.cpp:function llvm::detail::PassModel<llvm::Function, llvm::PrintFunctionPass, llvm::AnalysisManager<llvm::Function>>::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&): error: undefined reference to 'llvm::PrintFunctionPass::run(llvm::Function&, llvm::AnalysisManager<llvm::Function>&)'
lib/libLLVMAArch64CodeGen.a(AArch64TargetMachine.cpp.o):AArch64TargetMachine.cpp:function llvm::CodeGenPassBuilder<(anonymous namespace)::AArch64CodeGenPassBuilder, llvm::AArch64TargetMachine>::buildPipeline(llvm::PassManager<llvm::Module, llvm::AnalysisManager<llvm::Module>>&, llvm::raw_pwrite_stream&, llvm::raw_pwrite_stream*, llvm::CodeGenFileType) const: error: undefined reference to 'llvm::PrintFunctionPass::PrintFunctionPass(llvm::raw_ostream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/128471
More information about the llvm-commits
mailing list