llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running on `hip-vega20-0` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/38401 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure) ... [4636/5516] Linking CXX static library lib/libLLVMExecutionEngine.a [4637/5516] Linking CXX static library lib/libLLVMCGData.a [4638/5516] Linking CXX static library lib/libLLVMSandboxIR.a [4639/5516] Generating ../../bin/llvm-windres [4640/5516] Linking CXX executable bin/llvm-offload-binary [4641/5516] Linking CXX static library lib/libLLVMMCJIT.a [4642/5516] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o [4643/5516] Generating ../../bin/clang-offload-packager [4644/5516] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o [4645/5516] 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/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp /home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token /home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/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/clang-hip-vega20/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/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope: /home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/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/clang-hip-vega20/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) { | ^~~~~~~~~~~~~~ [4646/5516] Linking CXX executable bin/llvm-debuginfod-find [4647/5516] Linking CXX executable bin/llvm-objcopy [4648/5516] Linking CXX executable bin/llvm-size [4649/5516] Linking CXX executable bin/llvm-ifs [4650/5516] Linking CXX static library lib/libLLVMTransformUtils.a [4651/5516] Linking CXX executable bin/llvm-ctxprof-util [4652/5516] Linking CXX executable bin/llvm-jitlink-executor [4653/5516] Linking CXX executable bin/llvm-debuginfod [4654/5516] Linking CXX executable bin/llvm-readtapi [4655/5516] Linking CXX executable bin/yaml2obj [4656/5516] Linking CXX executable bin/llvm-readobj [4657/5516] Linking CXX executable bin/llvm-sim [4658/5516] Linking CXX executable bin/llvm-pdbutil [4659/5516] Linking CXX executable bin/llubi [4660/5516] Linking CXX executable bin/llvm-profdata Step 7 (Building LLVM) failure: Building LLVM (failure) ... [4636/5516] Linking CXX static library lib/libLLVMExecutionEngine.a [4637/5516] Linking CXX static library lib/libLLVMCGData.a [4638/5516] Linking CXX static library lib/libLLVMSandboxIR.a [4639/5516] Generating ../../bin/llvm-windres [4640/5516] Linking CXX executable bin/llvm-offload-binary [4641/5516] Linking CXX static library lib/libLLVMMCJIT.a [4642/5516] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/ExtractVariable.cpp.o [4643/5516] Generating ../../bin/clang-offload-packager [4644/5516] Building CXX object tools/clang/tools/extra/clangd/refactor/tweaks/CMakeFiles/obj.clangDaemonTweaks.dir/RemoveUsingNamespace.cpp.o [4645/5516] 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/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/bbot/clang-hip-vega20/llvm-project/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/tools/clang/include -I/home/botworker/bbot/clang-hip-vega20/botworker/clang-hip-vega20/llvm/include -I/home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp /home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token /home/botworker/bbot/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token /home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/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/clang-hip-vega20/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/clang-hip-vega20/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope: /home/botworker/bbot/clang-hip-vega20/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/clang-hip-vega20/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/clang-hip-vega20/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) { | ^~~~~~~~~~~~~~ [4646/5516] Linking CXX executable bin/llvm-debuginfod-find [4647/5516] Linking CXX executable bin/llvm-objcopy [4648/5516] Linking CXX executable bin/llvm-size [4649/5516] Linking CXX executable bin/llvm-ifs [4650/5516] Linking CXX static library lib/libLLVMTransformUtils.a [4651/5516] Linking CXX executable bin/llvm-ctxprof-util [4652/5516] Linking CXX executable bin/llvm-jitlink-executor [4653/5516] Linking CXX executable bin/llvm-debuginfod [4654/5516] Linking CXX executable bin/llvm-readtapi [4655/5516] Linking CXX executable bin/yaml2obj [4656/5516] Linking CXX executable bin/llvm-readobj [4657/5516] Linking CXX executable bin/llvm-sim [4658/5516] Linking CXX executable bin/llvm-pdbutil [4659/5516] Linking CXX executable bin/llubi [4660/5516] Linking CXX executable bin/llvm-profdata ``` </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
