llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-clang-flang` running on `rocm-worker-hw-01` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/67/builds/2084 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 3 (annotate) failure: 'python ../llvm.src/offload/ci/openmp-offload-amdgpu-clang-flang.py ...' (failure) ... [ 84%/9.875s :: 1276->28->7270 (of 8573)] Linking CXX shared library lib/libLLVMCGData.so.23.0git [ 84%/9.876s :: 1275->28->7271 (of 8573)] Linking CXX executable bin/llubi [ 84%/9.885s :: 1275->27->7272 (of 8573)] Linking CXX shared library lib/libLLVMExecutionEngine.so.23.0git [ 84%/9.886s :: 1274->27->7273 (of 8573)] Creating library symlink lib/libLLVMCGData.so [ 84%/9.890s :: 1274->26->7274 (of 8573)] Linking CXX executable bin/llvm-as [ 84%/9.891s :: 1274->25->7275 (of 8573)] Linking CXX executable bin/verify-uselistorder [ 84%/9.891s :: 1274->24->7276 (of 8573)] Linking CXX executable bin/llvm-cat [ 84%/9.891s :: 1274->23->7277 (of 8573)] Linking CXX executable bin/llvm-modextract [ 84%/9.895s :: 1274->22->7278 (of 8573)] Creating library symlink lib/libLLVMExecutionEngine.so [ 84%/9.897s :: 1272->23->7279 (of 8573)] 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/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/tools/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: qualified name does not name a class before ‘:’ token 61 | : ConstStmtVisitor<EntityPointerLevelTranslator, | ^ /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:236:3: error: ‘EntityPointerLevelTranslator’ was not declared in this scope 236 | EntityPointerLevelTranslator Translator(AddEntity, Ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:238:10: error: ‘Translator’ was not declared in this scope 238 | return Translator.translate(E); | ^~~~~~~~~~ /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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) { | ^~~~~~~~~~~~~~ [ 84%/9.930s :: 1272->22->7280 (of 8573)] Linking CXX shared library lib/libLLVMTransformUtils.so.23.0git [ 84%/9.960s :: 1272->21->7281 (of 8573)] Linking CXX executable bin/llvm-jitlink-executor [ 84%/9.962s :: 1272->20->7282 (of 8573)] Linking CXX shared library lib/libLLVMMCJIT.so.23.0git [ 84%/10.722s :: 1272->19->7283 (of 8573)] Building AMDGPUGenMCPseudoLowering.inc... [ 84%/10.729s :: 1272->18->7284 (of 8573)] Building AMDGPUGenSDNodeInfo.inc... [ 84%/11.045s :: 1272->17->7285 (of 8573)] Building AMDGPUGenPreLegalizeGICombiner.inc... [ 84%/11.048s :: 1272->16->7286 (of 8573)] Building AMDGPUGenRegBankGICombiner.inc... [ 84%/11.193s :: 1272->15->7287 (of 8573)] Building AMDGPUGenPostLegalizeGICombiner.inc... [ 85%/11.499s :: 1272->14->7288 (of 8573)] Building AMDGPUGenDisassemblerTables.inc... [ 85%/12.089s :: 1272->13->7289 (of 8573)] Building AMDGPUGenMCCodeEmitter.inc... [ 85%/12.132s :: 1272->12->7290 (of 8573)] Building AMDGPUGenSubtargetInfo.inc... [ 85%/12.217s :: 1272->11->7291 (of 8573)] Building AMDGPUGenSearchableTables.inc... [ 85%/15.037s :: 1272->10->7292 (of 8573)] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o [ 85%/15.262s :: 1272->9->7293 (of 8573)] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o [ 85%/17.724s :: 1272->8->7294 (of 8573)] Building AMDGPUGenCallingConv.inc... Step 7 (compile-openmp) failure: compile-openmp (failure) ... [ 84%/9.875s :: 1276->28->7270 (of 8573)] Linking CXX shared library lib/libLLVMCGData.so.23.0git [ 84%/9.876s :: 1275->28->7271 (of 8573)] Linking CXX executable bin/llubi [ 84%/9.885s :: 1275->27->7272 (of 8573)] Linking CXX shared library lib/libLLVMExecutionEngine.so.23.0git [ 84%/9.886s :: 1274->27->7273 (of 8573)] Creating library symlink lib/libLLVMCGData.so [ 84%/9.890s :: 1274->26->7274 (of 8573)] Linking CXX executable bin/llvm-as [ 84%/9.891s :: 1274->25->7275 (of 8573)] Linking CXX executable bin/verify-uselistorder [ 84%/9.891s :: 1274->24->7276 (of 8573)] Linking CXX executable bin/llvm-cat [ 84%/9.891s :: 1274->23->7277 (of 8573)] Linking CXX executable bin/llvm-modextract [ 84%/9.895s :: 1274->22->7278 (of 8573)] Creating library symlink lib/libLLVMExecutionEngine.so [ 84%/9.897s :: 1272->23->7279 (of 8573)] 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/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/tools/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/tools/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/build/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: qualified name does not name a class before ‘:’ token 61 | : ConstStmtVisitor<EntityPointerLevelTranslator, | ^ /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected ‘{’ before ‘:’ token /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:61:5: error: expected unqualified-id before ‘:’ token /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:236:3: error: ‘EntityPointerLevelTranslator’ was not declared in this scope 236 | EntityPointerLevelTranslator Translator(AddEntity, Ctx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp:238:10: error: ‘Translator’ was not declared in this scope 238 | return Translator.translate(E); | ^~~~~~~~~~ /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/clang/lib/ScalableStaticAnalysisFramework/Analyses/EntityPointerLevel/EntityPointerLevel.cpp: At global scope: /home/botworker/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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/builds/openmp-offload-amdgpu-clang-flang/llvm.src/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) { | ^~~~~~~~~~~~~~ [ 84%/9.930s :: 1272->22->7280 (of 8573)] Linking CXX shared library lib/libLLVMTransformUtils.so.23.0git [ 84%/9.960s :: 1272->21->7281 (of 8573)] Linking CXX executable bin/llvm-jitlink-executor [ 84%/9.962s :: 1272->20->7282 (of 8573)] Linking CXX shared library lib/libLLVMMCJIT.so.23.0git [ 84%/10.722s :: 1272->19->7283 (of 8573)] Building AMDGPUGenMCPseudoLowering.inc... [ 84%/10.729s :: 1272->18->7284 (of 8573)] Building AMDGPUGenSDNodeInfo.inc... [ 84%/11.045s :: 1272->17->7285 (of 8573)] Building AMDGPUGenPreLegalizeGICombiner.inc... [ 84%/11.048s :: 1272->16->7286 (of 8573)] Building AMDGPUGenRegBankGICombiner.inc... [ 84%/11.193s :: 1272->15->7287 (of 8573)] Building AMDGPUGenPostLegalizeGICombiner.inc... [ 85%/11.499s :: 1272->14->7288 (of 8573)] Building AMDGPUGenDisassemblerTables.inc... [ 85%/12.089s :: 1272->13->7289 (of 8573)] Building AMDGPUGenMCCodeEmitter.inc... [ 85%/12.132s :: 1272->12->7290 (of 8573)] Building AMDGPUGenSubtargetInfo.inc... [ 85%/12.217s :: 1272->11->7291 (of 8573)] Building AMDGPUGenSearchableTables.inc... [ 85%/15.037s :: 1272->10->7292 (of 8573)] Building CXX object lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o [ 85%/15.262s :: 1272->9->7293 (of 8573)] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o [ 85%/17.724s :: 1272->8->7294 (of 8573)] Building AMDGPUGenCallingConv.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
