llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-ppc64le-rhel` running on `ppc64le-clang-rhel-test` while building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/145/builds/8944 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (build-unified-tree) failure: build (failure) ... 24.572 [103/23/396] Linking CXX shared library lib/libLLVMDWARFLinkerClassic.so.22.0git 24.578 [102/23/397] Linking CXX shared library lib/libLLVMLanaiCodeGen.so.22.0git 24.584 [101/23/398] Creating library symlink lib/libLLVMDWARFLinkerClassic.so 24.594 [101/22/399] Creating library symlink lib/libLLVMLanaiCodeGen.so 24.601 [101/21/400] Linking CXX shared library lib/libLLVMBPFCodeGen.so.22.0git 24.609 [100/21/401] Linking CXX shared library lib/libLLVMDWARFLinkerParallel.so.22.0git 24.617 [99/21/402] Creating library symlink lib/libLLVMBPFCodeGen.so 24.624 [99/20/403] Linking CXX shared library lib/libLLVMSparcCodeGen.so.22.0git 24.626 [98/20/404] Creating library symlink lib/libLLVMDWARFLinkerParallel.so 24.628 [98/19/405] Linking CXX shared library lib/libLLVMAVRCodeGen.so.22.0git FAILED: lib/libLLVMAVRCodeGen.so.22.0git : && /home/buildbots/llvm-external-buildbots/clang.19.1.7/bin/clang++ --gcc-toolchain=/gcc-toolchain/usr -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,--color-diagnostics -Wl,--gc-sections -Xlinker --dependency-file=lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/link.d -shared -Wl,-soname,libLLVMAVRCodeGen.so.22.0git -o lib/libLLVMAVRCodeGen.so.22.0git lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRAsmPrinter.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRExpandPseudoInsts.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRFrameLowering.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRInstrInfo.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRISelDAGToDAG.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRISelLowering.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRMCInstLower.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRRegisterInfo.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRSelectionDAGInfo.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRShiftExpand.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRSubtarget.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetObjectFile.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib:" lib/libLLVMAVRDesc.so.22.0git lib/libLLVMAVRInfo.so.22.0git lib/libLLVMAsmPrinter.so.22.0git lib/libLLVMSelectionDAG.so.22.0git lib/libLLVMCodeGen.so.22.0git lib/libLLVMCodeGenTypes.so.22.0git lib/libLLVMTarget.so.22.0git lib/libLLVMMC.so.22.0git lib/libLLVMCore.so.22.0git lib/libLLVMSupport.so.22.0git -Wl,-rpath-link,/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-rhel-test/clang-ppc64le-rhel/build/lib && : ld.lld: error: undefined symbol: llvm::TargetTransformInfo::TargetTransformInfo(std::unique_ptr<llvm::TargetTransformInfoImplBase const, std::default_delete<llvm::TargetTransformInfoImplBase const>>) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::AVRTargetMachine::getTargetTransformInfo(llvm::Function >>> const&) const) ld.lld: error: undefined symbol: llvm::TargetTransformInfoImplBase::~TargetTransformInfoImplBase() >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::AVRTTIImpl::~AVRTTIImpl()) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(vtable >>> for llvm::AVRTTIImpl) ld.lld: error: undefined symbol: llvm::TargetTransformInfo::getOperandInfo(llvm::Value const*) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::TargetTransformInfoImplCRTPBase<llvm::AVRTTIImpl>::getInstructionCost(llvm::User >>> const*, llvm::ArrayRef<llvm::Value const*>, >>> llvm::TargetTransformInfo::TargetCostKind) const) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::TargetTransformInfoImplCRTPBase<llvm::AVRTTIImpl>::getInstructionCost(llvm::User >>> const*, llvm::ArrayRef<llvm::Value const*>, >>> llvm::TargetTransformInfo::TargetCostKind) const) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::TargetTransformInfoImplCRTPBase<llvm::AVRTTIImpl>::getInstructionCost(llvm::User >>> const*, llvm::ArrayRef<llvm::Value const*>, >>> llvm::TargetTransformInfo::TargetCostKind) const) >>> referenced 11 more times ld.lld: error: undefined symbol: llvm::TargetTransformInfo::getCastContextHint(llvm::Instruction const*) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::TargetTransformInfoImplCRTPBase<llvm::AVRTTIImpl>::getInstructionCost(llvm::User >>> const*, llvm::ArrayRef<llvm::Value const*>, >>> llvm::TargetTransformInfo::TargetCostKind) const) ld.lld: error: undefined symbol: llvm::IntrinsicCostAttributes::IntrinsicCostAttributes(unsigned int, llvm::CallBase const&, llvm::InstructionCost, bool, llvm::TargetLibraryInfo const*) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::TargetTransformInfoImplCRTPBase<llvm::AVRTTIImpl>::getInstructionCost(llvm::User >>> const*, llvm::ArrayRef<llvm::Value const*>, >>> llvm::TargetTransformInfo::TargetCostKind) const) ld.lld: error: undefined symbol: llvm::OptimizationRemarkEmitter::emit(llvm::DiagnosticInfoOptimizationBase&) >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::BasicTTIImplBase<llvm::AVRTTIImpl>::getUnrollingPreferences(llvm::Loop*, >>> llvm::ScalarEvolution&, llvm::TargetTransformInfo::UnrollingPreferences&, >>> llvm::OptimizationRemarkEmitter*) const) ld.lld: error: undefined symbol: llvm::Triple::isArch64Bit() const >>> referenced by AVRTargetMachine.cpp >>> >>> lib/Target/AVR/CMakeFiles/LLVMAVRCodeGen.dir/AVRTargetMachine.cpp.o:(llvm::BasicTTIImplBase<llvm::AVRTTIImpl>::shouldBuildRelLookupTables() >>> const) ld.lld: error: undefined symbol: llvm::IntrinsicCostAttributes::IntrinsicCostAttributes(unsigned int, llvm::Type*, llvm::ArrayRef<llvm::Value const*>, llvm::ArrayRef<llvm::Type*>, llvm::FastMathFlags, llvm::IntrinsicInst const*, llvm::InstructionCost, llvm::TargetLibraryInfo const*) >>> referenced by AVRTargetMachine.cpp ``` </details> https://github.com/llvm/llvm-project/pull/152028 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits