llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `openmp-offload-amdgpu-runtime-2` running on `rocm-worker-hw-02` while building `clang` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/10/builds/36526 <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-libc-runtime.py ...' (failure) ... [ 34%/4.399s :: 3349->40->1773 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefMemberChecker.cpp.o [ 34%/4.410s :: 3349->39->1774 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o [ 34%/4.418s :: 3349->38->1775 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefLocalVarsChecker.cpp.o [ 34%/4.440s :: 3349->37->1776 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o [ 34%/4.448s :: 3349->36->1777 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/MemoryUnsafeCastChecker.cpp.o [ 34%/4.449s :: 3349->35->1778 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ForwardDeclChecker.cpp.o [ 34%/4.472s :: 3349->34->1779 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o [ 34%/4.490s :: 3349->33->1780 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RetainPtrCtorAdoptChecker.cpp.o [ 34%/4.506s :: 3349->32->1781 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o [ 34%/4.509s :: 3349->31->1782 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o FAILED: tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.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-runtime-2/build/llvm.build/tools/clang/lib/Interpreter -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/tools/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/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-unused-but-set-parameter -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 -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -MF tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o.d -o tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -c /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/DeviceOffload.cpp In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/DeviceOffload.cpp:35: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/TargetParser/AMDGPUTargetParser.h:43:10: fatal error: llvm/TargetParser/AMDGPUTargetParserDef.inc: No such file or directory 43 | #include "llvm/TargetParser/AMDGPUTargetParserDef.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. [ 34%/4.589s :: 3349->30->1783 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o [ 34%/4.629s :: 3349->29->1784 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalParser.cpp:14: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.h:38:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 38 | [[maybe_unused]] CompilerInstance &CI; | ^~ [ 34%/5.082s :: 3349->28->1785 (of 5161)] Building X86GenDAGISel.inc... [ 34%/5.131s :: 3349->27->1786 (of 5161)] Building X86GenSubtargetInfo.inc... [ 34%/6.171s :: 3349->26->1787 (of 5161)] Building X86GenInstrInfo.inc... [ 34%/8.421s :: 3349->25->1788 (of 5161)] Building CXX object tools/clang/lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o [ 34%/9.438s :: 3349->24->1789 (of 5161)] Building AMDGPUTargetParserDef.inc... [ 34%/9.868s :: 3349->23->1790 (of 5161)] Building AMDGPUGenMCPseudoLowering.inc... [ 34%/10.226s :: 3349->22->1791 (of 5161)] Building AMDGPUGenSDNodeInfo.inc... [ 34%/10.598s :: 3349->21->1792 (of 5161)] Building AMDGPUGenRegBankGICombiner.inc... [ 34%/10.659s :: 3349->20->1793 (of 5161)] Building AMDGPUGenPostLegalizeGICombiner.inc... [ 34%/10.805s :: 3349->19->1794 (of 5161)] Building AMDGPUGenPreLegalizeGICombiner.inc... [ 34%/11.134s :: 3349->18->1795 (of 5161)] Building CXX object tools/clang/tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o [ 34%/11.199s :: 3349->17->1796 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalAction.cpp.o In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.cpp:9: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.h:38:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 38 | [[maybe_unused]] CompilerInstance &CI; | ^~ [ 34%/11.364s :: 3349->16->1797 (of 5161)] Building AMDGPUGenMCCodeEmitter.inc... [ 34%/11.426s :: 3349->15->1798 (of 5161)] Building AMDGPUGenSubtargetInfo.inc... [ 34%/11.680s :: 3349->14->1799 (of 5161)] Building AMDGPUGenDisassemblerTables.inc... [ 34%/11.703s :: 3349->13->1800 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o [ 34%/12.087s :: 3349->12->1801 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/CodeCompletion.cpp.o [ 34%/12.634s :: 3349->11->1802 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterValuePrinter.cpp.o In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/InterpreterValuePrinter.cpp:13: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.h:38:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 38 | [[maybe_unused]] CompilerInstance &CI; | ^~ Step 7 (compile llvm) failure: compile llvm (failure) ... [ 34%/4.399s :: 3349->40->1773 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefMemberChecker.cpp.o [ 34%/4.410s :: 3349->39->1774 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/UninitializedObject/UninitializedObjectChecker.cpp.o [ 34%/4.418s :: 3349->38->1775 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RawPtrRefLocalVarsChecker.cpp.o [ 34%/4.440s :: 3349->37->1776 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/AnalysisConsumer.cpp.o [ 34%/4.448s :: 3349->36->1777 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/MemoryUnsafeCastChecker.cpp.o [ 34%/4.449s :: 3349->35->1778 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/ForwardDeclChecker.cpp.o [ 34%/4.472s :: 3349->34->1779 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RefCntblBaseVirtualDtorChecker.cpp.o [ 34%/4.490s :: 3349->33->1780 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Checkers/CMakeFiles/obj.clangStaticAnalyzerCheckers.dir/WebKit/RetainPtrCtorAdoptChecker.cpp.o [ 34%/4.506s :: 3349->32->1781 (of 5161)] Building CXX object tools/clang/lib/StaticAnalyzer/Frontend/CMakeFiles/obj.clangStaticAnalyzerFrontend.dir/ModelInjector.cpp.o [ 34%/4.509s :: 3349->31->1782 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o FAILED: tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.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-runtime-2/build/llvm.build/tools/clang/lib/Interpreter -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/tools/clang/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/build/llvm.build/include -I/home/botworker/builds/openmp-offload-amdgpu-runtime-2/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-unused-but-set-parameter -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 -O3 -DNDEBUG -std=c++17 -UNDEBUG -fno-exceptions -funwind-tables -fno-rtti -MD -MT tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -MF tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o.d -o tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/DeviceOffload.cpp.o -c /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/DeviceOffload.cpp In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/DeviceOffload.cpp:35: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/llvm/include/llvm/TargetParser/AMDGPUTargetParser.h:43:10: fatal error: llvm/TargetParser/AMDGPUTargetParserDef.inc: No such file or directory 43 | #include "llvm/TargetParser/AMDGPUTargetParserDef.inc" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. [ 34%/4.589s :: 3349->30->1783 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterUtils.cpp.o [ 34%/4.629s :: 3349->29->1784 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalParser.cpp.o In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalParser.cpp:14: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.h:38:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 38 | [[maybe_unused]] CompilerInstance &CI; | ^~ [ 34%/5.082s :: 3349->28->1785 (of 5161)] Building X86GenDAGISel.inc... [ 34%/5.131s :: 3349->27->1786 (of 5161)] Building X86GenSubtargetInfo.inc... [ 34%/6.171s :: 3349->26->1787 (of 5161)] Building X86GenInstrInfo.inc... [ 34%/8.421s :: 3349->25->1788 (of 5161)] Building CXX object tools/clang/lib/FrontendTool/CMakeFiles/obj.clangFrontendTool.dir/ExecuteCompilerInvocation.cpp.o [ 34%/9.438s :: 3349->24->1789 (of 5161)] Building AMDGPUTargetParserDef.inc... [ 34%/9.868s :: 3349->23->1790 (of 5161)] Building AMDGPUGenMCPseudoLowering.inc... [ 34%/10.226s :: 3349->22->1791 (of 5161)] Building AMDGPUGenSDNodeInfo.inc... [ 34%/10.598s :: 3349->21->1792 (of 5161)] Building AMDGPUGenRegBankGICombiner.inc... [ 34%/10.659s :: 3349->20->1793 (of 5161)] Building AMDGPUGenPostLegalizeGICombiner.inc... [ 34%/10.805s :: 3349->19->1794 (of 5161)] Building AMDGPUGenPreLegalizeGICombiner.inc... [ 34%/11.134s :: 3349->18->1795 (of 5161)] Building CXX object tools/clang/tools/clang-fuzzer/handle-cxx/CMakeFiles/obj.clangHandleCXX.dir/handle_cxx.cpp.o [ 34%/11.199s :: 3349->17->1796 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/IncrementalAction.cpp.o In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.cpp:9: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.h:38:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 38 | [[maybe_unused]] CompilerInstance &CI; | ^~ [ 34%/11.364s :: 3349->16->1797 (of 5161)] Building AMDGPUGenMCCodeEmitter.inc... [ 34%/11.426s :: 3349->15->1798 (of 5161)] Building AMDGPUGenSubtargetInfo.inc... [ 34%/11.680s :: 3349->14->1799 (of 5161)] Building AMDGPUGenDisassemblerTables.inc... [ 34%/11.703s :: 3349->13->1800 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/Value.cpp.o [ 34%/12.087s :: 3349->12->1801 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/CodeCompletion.cpp.o [ 34%/12.634s :: 3349->11->1802 (of 5161)] Building CXX object tools/clang/lib/Interpreter/CMakeFiles/obj.clangInterpreter.dir/InterpreterValuePrinter.cpp.o In file included from /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/InterpreterValuePrinter.cpp:13: /home/botworker/builds/openmp-offload-amdgpu-runtime-2/llvm.src/clang/lib/Interpreter/IncrementalAction.h:38:38: warning: ‘maybe_unused’ attribute ignored [-Wattributes] 38 | [[maybe_unused]] CompilerInstance &CI; | ^~ ``` </details> https://github.com/llvm/llvm-project/pull/218337 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
