llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `flang-aarch64-latest-gcc` running on `linaro-flang-aarch64-latest-gcc` while building `clang` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/130/builds/12053 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (build-unified-tree) failure: build (failure) ... | ^ ../llvm-project/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp: In static member function ‘static clang::ento::ProgramStateRef {anonymous}::EquivalenceClass::simplify(clang::ento::SValBuilder&, clang::ento::RangeSet::Factory&, clang::ento::ProgramStateRef, {anonymous}::EquivalenceClass)’: ../llvm-project/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2684:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] 2684 | const llvm::APSInt &SV = CI->getValue(); | ^~ ../llvm-project/clang/lib/StaticAnalyzer/Core/RangeConstraintManager.cpp:2684:45: note: the temporary was destroyed at the end of the full expression ‘CI.std::optional<clang::ento::nonloc::ConcreteInt>::operator->()->clang::ento::nonloc::ConcreteInt::getValue().clang::ento::APSIntPtr::operator const APSInt&()’ 2684 | const llvm::APSInt &SV = CI->getValue(); | ^ 668.389 [1759/62/5524] Linking CXX shared library lib/libMLIRTestDynDialect.so.21.0git 668.506 [1759/61/5525] Linking CXX shared library lib/libclangCodeGenTargets.so.21.0git FAILED: lib/libclangCodeGenTargets.so.21.0git : && /usr/local/bin/c++ -fPIC -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-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 -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -Wl,-z,defs -Wl,-z,nodelete -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/./lib -Wl,--gc-sections -shared -Wl,-soname,libclangCodeGenTargets.so.21.0git -o lib/libclangCodeGenTargets.so.21.0git tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AMDGPU.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/ARC.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/ARM.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AVR.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/BPF.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/CSKY.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/DirectX.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/HLSLBufferLayoutBuilder.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/Hexagon.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/Lanai.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/LoongArch.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/M68k.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/MSP430.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/Mips.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/NVPTX.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/PNaCl.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/PPC.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/RISCV.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/SPIR.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/Sparc.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/SystemZ.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/TCE.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/VE.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/WebAssembly.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/X86.cpp.o tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/XCore.cpp.o -Wl,-rpath,"\$ORIGIN/../lib:/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib:" lib/libLLVMCoverage.so.21.0git lib/libLLVMFrontendDriver.so.21.0git lib/libLLVMFrontendHLSL.so.21.0git lib/libLLVMLTO.so.21.0git lib/libLLVMPasses.so.21.0git lib/libLLVMExtensions.so.21.0git lib/libLLVMCoroutines.so.21.0git lib/libLLVMHipStdPar.so.21.0git lib/libLLVMipo.so.21.0git lib/libLLVMFrontendOpenMP.so.21.0git lib/libLLVMFrontendOffloading.so.21.0git lib/libLLVMLinker.so.21.0git lib/libLLVMIRPrinter.so.21.0git lib/libLLVMInstrumentation.so.21.0git lib/libLLVMCodeGenTypes.so.21.0git lib/libLLVMObjCARCOpts.so.21.0git lib/libLLVMScalarOpts.so.21.0git lib/libLLVMAggressiveInstCombine.so.21.0git lib/libLLVMInstCombine.so.21.0git lib/libLLVMTarget.so.21.0git lib/libLLVMTransformUtils.so.21.0git lib/libLLVMBitWriter.so.21.0git lib/libLLVMAnalysis.so.21.0git lib/libLLVMProfileData.so.21.0git lib/libLLVMObject.so.21.0git lib/libLLVMIRReader.so.21.0git lib/libLLVMBitReader.so.21.0git lib/libLLVMCore.so.21.0git lib/libLLVMMC.so.21.0git lib/libLLVMTargetParser.so.21.0git lib/libLLVMSupport.so.21.0git lib/libLLVMDemangle.so.21.0git -Wl,-rpath-link,/home/tcwg-buildbot/worker/flang-aarch64-latest-gcc/build/lib && : /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64TargetCodeGenInfo::~AArch64TargetCodeGenInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_124AArch64TargetCodeGenInfoD2Ev+0xc): undefined reference to `clang::CodeGen::TargetCodeGenInfo::~TargetCodeGenInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64TargetCodeGenInfo::~AArch64TargetCodeGenInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_124AArch64TargetCodeGenInfoD0Ev+0x1c): undefined reference to `clang::CodeGen::TargetCodeGenInfo::~TargetCodeGenInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::WindowsAArch64TargetCodeGenInfo::~WindowsAArch64TargetCodeGenInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_131WindowsAArch64TargetCodeGenInfoD2Ev+0xc): undefined reference to `clang::CodeGen::TargetCodeGenInfo::~TargetCodeGenInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::WindowsAArch64TargetCodeGenInfo::~WindowsAArch64TargetCodeGenInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_131WindowsAArch64TargetCodeGenInfoD0Ev+0x1c): undefined reference to `clang::CodeGen::TargetCodeGenInfo::~TargetCodeGenInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64ABIInfo::~AArch64ABIInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_114AArch64ABIInfoD2Ev+0xc): undefined reference to `clang::CodeGen::ABIInfo::~ABIInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64ABIInfo::~AArch64ABIInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_114AArch64ABIInfoD0Ev+0x1c): undefined reference to `clang::CodeGen::ABIInfo::~ABIInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64SwiftABIInfo::~AArch64SwiftABIInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_119AArch64SwiftABIInfoD2Ev+0xc): undefined reference to `clang::CodeGen::SwiftABIInfo::~SwiftABIInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64SwiftABIInfo::~AArch64SwiftABIInfo()': AArch64.cpp:(.text._ZN12_GLOBAL__N_119AArch64SwiftABIInfoD0Ev+0x1c): undefined reference to `clang::CodeGen::SwiftABIInfo::~SwiftABIInfo()' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64ABIInfo::allowBFloatArgsAndRet() const': AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo21allowBFloatArgsAndRetEv+0x8): undefined reference to `clang::CodeGen::ABIInfo::getTarget() const' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64TargetCodeGenInfo::setTargetAttributes(clang::Decl const*, llvm::GlobalValue*, clang::CodeGen::CodeGenModule&) const': AArch64.cpp:(.text._ZNK12_GLOBAL__N_124AArch64TargetCodeGenInfo19setTargetAttributesEPKN5clang4DeclEPN4llvm11GlobalValueERNS1_7CodeGen13CodeGenModuleE+0x90): undefined reference to `clang::Decl::getAttrs() const' /usr/bin/ld: AArch64.cpp:(.text._ZNK12_GLOBAL__N_124AArch64TargetCodeGenInfo19setTargetAttributesEPKN5clang4DeclEPN4llvm11GlobalValueERNS1_7CodeGen13CodeGenModuleE+0x1c0): undefined reference to `clang::CodeGen::TargetCodeGenInfo::setBranchProtectionFnAttributes(clang::TargetInfo::BranchProtectionInfo const&, llvm::Function&)' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::WindowsAArch64TargetCodeGenInfo::setTargetAttributes(clang::Decl const*, llvm::GlobalValue*, clang::CodeGen::CodeGenModule&) const': AArch64.cpp:(.text._ZNK12_GLOBAL__N_131WindowsAArch64TargetCodeGenInfo19setTargetAttributesEPKN5clang4DeclEPN4llvm11GlobalValueERNS1_7CodeGen13CodeGenModuleE+0x5c): undefined reference to `clang::CodeGen::TargetCodeGenInfo::addStackProbeTargetAttributes(clang::Decl const*, llvm::GlobalValue*, clang::CodeGen::CodeGenModule&) const' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `clang::VectorType const* clang::Type::getAs<clang::VectorType>() const [clone .part.0]': AArch64.cpp:(.text._ZNK5clang4Type5getAsINS_10VectorTypeEEEPKT_v.part.0+0x34): undefined reference to `clang::Type::getUnqualifiedDesugaredType() const' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64ABIInfo::isIllegalVectorType(clang::QualType) const': AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo19isIllegalVectorTypeEN5clang8QualTypeE+0x68): undefined reference to `clang::CodeGen::ABIInfo::getContext() const' /usr/bin/ld: AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo19isIllegalVectorTypeEN5clang8QualTypeE+0x70): undefined reference to `clang::ASTContext::getTypeInfo(clang::Type const*) const' /usr/bin/ld: AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo19isIllegalVectorTypeEN5clang8QualTypeE+0x98): undefined reference to `clang::CodeGen::ABIInfo::getTarget() const' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64ABIInfo::isHomogeneousAggregateBaseType(clang::QualType) const': AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo30isHomogeneousAggregateBaseTypeEN5clang8QualTypeE+0xa4): undefined reference to `clang::CodeGen::ABIInfo::getContext() const' /usr/bin/ld: AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo30isHomogeneousAggregateBaseTypeEN5clang8QualTypeE+0xac): undefined reference to `clang::ASTContext::getTypeInfo(clang::Type const*) const' /usr/bin/ld: tools/clang/lib/CodeGen/Targets/CMakeFiles/obj.clangCodeGenTargets.dir/AArch64.cpp.o: in function `(anonymous namespace)::AArch64ABIInfo::EmitMSVAArg(clang::CodeGen::CodeGenFunction&, clang::CodeGen::Address, clang::QualType, clang::CodeGen::AggValueSlot) const': AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo11EmitMSVAArgERN5clang7CodeGen15CodeGenFunctionENS2_7AddressENS1_8QualTypeENS2_12AggValueSlotE+0x4c): undefined reference to `clang::CodeGen::isAggregateTypeForABI(clang::QualType)' /usr/bin/ld: AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo11EmitMSVAArgERN5clang7CodeGen15CodeGenFunctionENS2_7AddressENS1_8QualTypeENS2_12AggValueSlotE+0x6c): undefined reference to `clang::ASTContext::getTypeInfoInChars(clang::QualType) const' /usr/bin/ld: AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo11EmitMSVAArgERN5clang7CodeGen15CodeGenFunctionENS2_7AddressENS1_8QualTypeENS2_12AggValueSlotE+0xc8): undefined reference to `clang::CodeGen::emitVoidPtrVAArg(clang::CodeGen::CodeGenFunction&, clang::CodeGen::Address, clang::QualType, bool, clang::TypeInfoChars, clang::CharUnits, bool, clang::CodeGen::AggValueSlot, bool)' /usr/bin/ld: AArch64.cpp:(.text._ZNK12_GLOBAL__N_114AArch64ABIInfo11EmitMSVAArgERN5clang7CodeGen15CodeGenFunctionENS2_7AddressENS1_8QualTypeENS2_12AggValueSlotE+0x108): undefined reference to `clang::CodeGen::ABIInfo::getContext() const' ``` </details> https://github.com/llvm/llvm-project/pull/133850 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits