llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `hip-third-party-libs-test` running on `ext_buildbot_hw_05-hip-docker` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/206/builds/17473 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 4 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-tpl.py --jobs=32' (failure) ... [7292/8560] Creating library symlink lib/libMLIRTestTransforms.so [7293/8560] Linking CXX shared library lib/libMLIRAffineTransformsTestPasses.so.23.0git [7294/8560] Linking CXX shared library lib/libMLIRTestFuncToLLVM.so.23.0git [7295/8560] Creating library symlink lib/libMLIRAffineTransformsTestPasses.so [7296/8560] Creating library symlink lib/libMLIRTestFuncToLLVM.so [7297/8560] Linking CXX shared library lib/libMLIRTestFromLLVMIRTranslation.so.23.0git [7298/8560] Linking CXX shared library lib/libMLIRTestIR.so.23.0git [7299/8560] Creating library symlink lib/libMLIRTestFromLLVMIRTranslation.so [7300/8560] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/Version.cpp.o [7301/8560] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o FAILED: tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o ccache /usr/bin/c++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/hip-third-party-libs-test/build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/include -I/home/botworker/bbot/hip-third-party-libs-test/build/tools/clang/include -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -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-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -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 -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -MF tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o.d -o tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -c /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: qualified name does not name a class before ‘:’ token 61 | : ConstStmtVisitor<EntityPointerLevelTranslator, | ^ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: In function ‘llvm::Expected<std::set<clang::ssaf::EntityPointerLevel, clang::ssaf::EntityPointerLevel::Comparator> > clang::ssaf::translateEntityPointerLevel(const clang::Expr*, clang::ASTContext&, std::function<clang::ssaf::EntityId(clang::ssaf::EntityName)>)’: /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:236:3: error: ‘EntityPointerLevelTranslator’ was not declared in this scope 236 | EntityPointerLevelTranslator Translator(AddEntity, Ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:238:10: error: ‘Translator’ was not declared in this scope 238 | return Translator.translate(E); | ^~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope: /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:32:20: warning: ‘llvm::Error makeCreateEntityNameError(const clang::NamedDecl*, clang::ASTContext&)’ defined but not used [-Wunused-function] 32 | static llvm::Error makeCreateEntityNameError(const NamedDecl *FailedDecl, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:25:20: warning: ‘llvm::Error makeUnsupportedStmtKindError(const clang::Stmt*)’ defined but not used [-Wunused-function] 25 | static llvm::Error makeUnsupportedStmtKindError(const Stmt *Unsupported) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:19:13: warning: ‘bool hasPointerType(const clang::Expr*)’ defined but not used [-Wunused-function] 19 | static bool hasPointerType(const Expr *E) { | ^~~~~~~~~~~~~~ [7302/8560] Creating library symlink lib/libMLIRTestIR.so [7303/8560] Linking CXX shared library lib/libLLVMScalarOpts.so.23.0git [7304/8560] Linking CXX shared library lib/libFortranSupport.so.23.0git [7305/8560] Building AMDGPUGenPreLegalizeGICombiner.inc... [7306/8560] Building AMDGPUGenDisassemblerTables.inc... [7307/8560] Building AMDGPUGenSubtargetInfo.inc... [7308/8560] Building AMDGPUGenRegBankGICombiner.inc... [7309/8560] Building AMDGPUGenMCCodeEmitter.inc... [7310/8560] Building AMDGPUGenSearchableTables.inc... [7311/8560] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o [7312/8560] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o [7313/8560] Building AMDGPUGenCallingConv.inc... [7314/8560] Building AMDGPUGenAsmWriter.inc... [7315/8560] Building AMDGPUGenDAGISel.inc... [7316/8560] Building AMDGPUGenInstrInfo.inc... Step 7 (build cmake config) failure: build cmake config (failure) ... [7292/8560] Creating library symlink lib/libMLIRTestTransforms.so [7293/8560] Linking CXX shared library lib/libMLIRAffineTransformsTestPasses.so.23.0git [7294/8560] Linking CXX shared library lib/libMLIRTestFuncToLLVM.so.23.0git [7295/8560] Creating library symlink lib/libMLIRAffineTransformsTestPasses.so [7296/8560] Creating library symlink lib/libMLIRTestFuncToLLVM.so [7297/8560] Linking CXX shared library lib/libMLIRTestFromLLVMIRTranslation.so.23.0git [7298/8560] Linking CXX shared library lib/libMLIRTestIR.so.23.0git [7299/8560] Creating library symlink lib/libMLIRTestFromLLVMIRTranslation.so [7300/8560] Building CXX object tools/flang/lib/Support/CMakeFiles/FortranSupport.dir/Version.cpp.o [7301/8560] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o FAILED: tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o ccache /usr/bin/c++ -DCLANG_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GLIBCXX_USE_CXX11_ABI=1 -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_EXTENSIVE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/botworker/bbot/hip-third-party-libs-test/build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/include -I/home/botworker/bbot/hip-third-party-libs-test/build/tools/clang/include -I/home/botworker/bbot/hip-third-party-libs-test/build/include -I/home/botworker/bbot/hip-third-party-libs-test/llvm-project/llvm/include -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-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -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 -O3 -DNDEBUG -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -std=c++17 -MD -MT tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -MF tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o.d -o tools/clang/lib/ScalableStaticAnalysisFramework/Analyses/CMakeFiles/obj.clangScalableStaticAnalysisFrameworkAnalyses.dir/EntityPointerLevel/EntityPointerLevel.cpp.o -c /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: qualified name does not name a class before ‘:’ token 61 | : ConstStmtVisitor<EntityPointerLevelTranslator, | ^ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: In function ‘llvm::Expected<std::set<clang::ssaf::EntityPointerLevel, clang::ssaf::EntityPointerLevel::Comparator> > clang::ssaf::translateEntityPointerLevel(const clang::Expr*, clang::ASTContext&, std::function<clang::ssaf::EntityId(clang::ssaf::EntityName)>)’: /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:236:3: error: ‘EntityPointerLevelTranslator’ was not declared in this scope 236 | EntityPointerLevelTranslator Translator(AddEntity, Ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:238:10: error: ‘Translator’ was not declared in this scope 238 | return Translator.translate(E); | ^~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope: /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:32:20: warning: ‘llvm::Error makeCreateEntityNameError(const clang::NamedDecl*, clang::ASTContext&)’ defined but not used [-Wunused-function] 32 | static llvm::Error makeCreateEntityNameError(const NamedDecl *FailedDecl, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:25:20: warning: ‘llvm::Error makeUnsupportedStmtKindError(const clang::Stmt*)’ defined but not used [-Wunused-function] 25 | static llvm::Error makeUnsupportedStmtKindError(const Stmt *Unsupported) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/bbot/hip-third-party-libs-test/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:19:13: warning: ‘bool hasPointerType(const clang::Expr*)’ defined but not used [-Wunused-function] 19 | static bool hasPointerType(const Expr *E) { | ^~~~~~~~~~~~~~ [7302/8560] Creating library symlink lib/libMLIRTestIR.so [7303/8560] Linking CXX shared library lib/libLLVMScalarOpts.so.23.0git [7304/8560] Linking CXX shared library lib/libFortranSupport.so.23.0git [7305/8560] Building AMDGPUGenPreLegalizeGICombiner.inc... [7306/8560] Building AMDGPUGenDisassemblerTables.inc... [7307/8560] Building AMDGPUGenSubtargetInfo.inc... [7308/8560] Building AMDGPUGenRegBankGICombiner.inc... [7309/8560] Building AMDGPUGenMCCodeEmitter.inc... [7310/8560] Building AMDGPUGenSearchableTables.inc... [7311/8560] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o [7312/8560] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o [7313/8560] Building AMDGPUGenCallingConv.inc... [7314/8560] Building AMDGPUGenAsmWriter.inc... [7315/8560] Building AMDGPUGenDAGISel.inc... [7316/8560] Building AMDGPUGenInstrInfo.inc... ``` </details> https://github.com/llvm/llvm-project/pull/191331 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
