[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:19:35 PST 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `llvm` at step 5 "build-unified-tree".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/13520

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (build-unified-tree) failure: build (failure)
...
51.644 [20/34/201] Linking CXX executable bin/llvm-isel-fuzzer
52.812 [19/34/202] Linking CXX executable bin/bugpoint
53.296 [18/34/203] Linking CXX executable unittests/MC/MCTests
55.318 [17/34/204] Linking CXX executable bin/dsymutil
56.170 [16/34/205] Linking CXX executable bin/llvm-dwarfutil
57.618 [16/33/206] Linking CXX executable bin/llvm-c-test
60.124 [16/32/207] Linking CXX executable bin/llc
62.388 [16/31/208] Linking CXX executable bin/llvm-split
64.751 [16/30/209] Linking CXX executable bin/llvm-opt-fuzzer
64.935 [16/29/210] Linking CXX executable unittests/Target/AArch64/AArch64Tests
FAILED: unittests/Target/AArch64/AArch64Tests 
: && /opt/ccache/bin/g++ -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 -fuse-ld=gold    -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/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>::addISelPasses(llvm::CodeGenPassBuilder<(anonymous namespace)::AArch64CodeGenPassBuilder, llvm::AArch64TargetMachine>::AddIRPass&) 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
67.159 [16/28/211] Linking CXX executable bin/llvm-lto
67.640 [16/27/212] Linking CXX shared library lib/libLTO.so.21.0git
67.713 [16/26/213] Linking CXX executable tools/lld/unittests/AsLibELF/LLDAsLibELFTests
67.880 [16/25/214] Linking CXX executable bin/clang-nvlink-wrapper
68.089 [16/24/215] Linking CXX executable unittests/CodeGen/GlobalISel/GlobalISelTests
68.169 [16/23/216] Linking CXX executable unittests/CodeGen/CodeGenTests
68.392 [16/22/217] Linking CXX executable bin/llvm-reduce
68.440 [16/21/218] Linking CXX executable bin/clang-linker-wrapper
68.452 [16/20/219] Linking CXX executable unittests/DebugInfo/DWARF/DebugInfoDWARFTests
68.529 [16/19/220] Linking CXX executable bin/llvm-lto2
68.584 [16/18/221] Linking CXX executable unittests/tools/llvm-exegesis/LLVMExegesisTests
68.671 [16/17/222] Linking CXX executable bin/opt
68.689 [16/16/223] Linking CXX executable unittests/DebugInfo/LogicalView/DebugInfoLogicalViewTests
68.702 [16/15/224] Linking CXX executable unittests/MI/MITests
68.734 [16/14/225] Linking CXX executable tools/clang/unittests/Driver/ClangDriverTests
68.828 [16/13/226] Linking CXX executable tools/clang/unittests/Interpreter/ExceptionTests/ClangReplInterpreterExceptionTests
68.914 [16/12/227] Linking CXX executable tools/lld/unittests/AsLibAll/LLDAsLibAllTests
68.921 [16/11/228] Linking CXX executable bin/lld
68.935 [16/10/229] Linking CXX executable unittests/Target/TargetMachineCTests
68.941 [16/9/230] Linking CXX shared library lib/libclang.so.21.0.0git
68.966 [16/8/231] Linking CXX executable unittests/MIR/MIRTests
69.023 [16/7/232] Linking CXX executable bin/clang-scan-deps
69.190 [16/6/233] Linking CXX executable tools/clang/unittests/Tooling/ToolingTests
69.541 [16/5/234] Linking CXX shared library lib/libclang-cpp.so.21.0git
69.582 [16/4/235] Linking CXX executable bin/clang-21
69.644 [16/3/236] Linking CXX executable bin/clang-check
69.945 [16/2/237] Linking CXX executable tools/clang/unittests/Interpreter/ClangReplInterpreterTests
70.177 [16/1/238] Linking CXX executable bin/clang-repl
ninja: build stopped: subcommand failed.

```

</details>

https://github.com/llvm/llvm-project/pull/128471


More information about the llvm-commits mailing list