llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `amdgpu-offload-build-only` running on `AMD-bb-w-02` while building `clang` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/226/builds/9919 <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/amdgpu-offload-cmake.py --jobs=32' (failure) ... In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37, from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:13: /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::PairsAnalysisResult; EntitySummaryT = {anonymous}::PairsEntitySummary]’ was hidden [-Woverloaded-virtual=] 109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final { | ^~~ /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:188:15: note: by ‘virtual llvm::Error {anonymous}::PairsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::PairsEntitySummary&)’ 188 | llvm::Error add(EntityId Id, const PairsEntitySummary &S) override { | ^~~ [7644/8648] Building AMDGPUGenRegisterInfo.inc... [7645/8648] Linking CXX executable bin/clang-ssaf-linker FAILED: bin/clang-ssaf-linker : && /opt/rh/gcc-toolset-13/root/usr/bin/c++ -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-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -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 -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-build-only/build/./lib -Wl,--gc-sections tools/clang/tools/clang-ssaf-linker/CMakeFiles/clang-ssaf-linker.dir/SSAFLinker.cpp.o -o bin/clang-ssaf-linker -Wl,-rpath,"\$ORIGIN/../lib:\$ORIGIN/../lib/x86_64-unknown-linux-gnu:/home/botworker/bbot/amdgpu-offload-build-only/build/lib:" lib/libLLVMOption.so.23.0git -lpthread lib/libclangScalableStaticAnalysisFrameworkAnalyses.so.23.0git lib/libclangScalableStaticAnalysisFrameworkTool.so.23.0git lib/libclangScalableStaticAnalysisFrameworkCore.so.23.0git lib/libclangBasic.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-build-only/build/lib && : /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: tools/clang/tools/clang-ssaf-linker/CMakeFiles/clang-ssaf-linker.dir/SSAFLinker.cpp.o: undefined reference to symbol '_ZN4llvm6TripleC1EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: /home/botworker/bbot/amdgpu-offload-build-only/build/./lib/libLLVMTargetParser.so.23.0git: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status [7646/8648] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/CMakeFiles/SSAFExamplePlugin.dir/TagsAnalysis.cpp.o In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37, from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:13: /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::TagsAnalysisResult; EntitySummaryT = {anonymous}::TagsEntitySummary]’ was hidden [-Woverloaded-virtual=] 109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final { | ^~~ /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:142:15: note: by ‘virtual llvm::Error {anonymous}::TagsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::TagsEntitySummary&)’ 142 | llvm::Error add(EntityId, const TagsEntitySummary &S) override { | ^~~ [7647/8648] Building CXX object tools/clang/tools/clang-ssaf-format/CMakeFiles/clang-ssaf-format.dir/SSAFFormat.cpp.o [7648/8648] Building AMDGPUGenAsmMatcher.inc... [7649/8648] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o [7650/8648] Building AMDGPUGenRegisterBank.inc... ninja: build stopped: subcommand failed. ['ninja'] exited with return code 1. The build step threw an exception... Traceback (most recent call last): File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step yield File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main run_command(["ninja"]) File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command util.report_run_cmd(cmd, cwd=directory) File "/home/botworker/bbot/amdgpu-offload-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd subprocess.check_call(cmd, shell=shell, *args, **kwargs) File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1. @@@STEP_FAILURE@@@ Step 7 (build cmake config) failure: build cmake config (failure) ... In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37, from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:13: /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::PairsAnalysisResult; EntitySummaryT = {anonymous}::PairsEntitySummary]’ was hidden [-Woverloaded-virtual=] 109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final { | ^~~ /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/PairsAnalysis.cpp:188:15: note: by ‘virtual llvm::Error {anonymous}::PairsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::PairsEntitySummary&)’ 188 | llvm::Error add(EntityId Id, const PairsEntitySummary &S) override { | ^~~ [7644/8648] Building AMDGPUGenRegisterInfo.inc... [7645/8648] Linking CXX executable bin/clang-ssaf-linker FAILED: bin/clang-ssaf-linker : && /opt/rh/gcc-toolset-13/root/usr/bin/c++ -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-dangling-reference -Wno-redundant-move -Wno-pessimizing-move -Wno-array-bounds -Wno-stringop-overread -Wno-dangling-pointer -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 -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-build-only/build/./lib -Wl,--gc-sections tools/clang/tools/clang-ssaf-linker/CMakeFiles/clang-ssaf-linker.dir/SSAFLinker.cpp.o -o bin/clang-ssaf-linker -Wl,-rpath,"\$ORIGIN/../lib:\$ORIGIN/../lib/x86_64-unknown-linux-gnu:/home/botworker/bbot/amdgpu-offload-build-only/build/lib:" lib/libLLVMOption.so.23.0git -lpthread lib/libclangScalableStaticAnalysisFrameworkAnalyses.so.23.0git lib/libclangScalableStaticAnalysisFrameworkTool.so.23.0git lib/libclangScalableStaticAnalysisFrameworkCore.so.23.0git lib/libclangBasic.so.23.0git lib/libLLVMSupport.so.23.0git -Wl,-rpath-link,/home/botworker/bbot/amdgpu-offload-build-only/build/lib && : /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: tools/clang/tools/clang-ssaf-linker/CMakeFiles/clang-ssaf-linker.dir/SSAFLinker.cpp.o: undefined reference to symbol '_ZN4llvm6TripleC1EONSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE' /opt/rh/gcc-toolset-13/root/usr/libexec/gcc/x86_64-redhat-linux/13/ld: /home/botworker/bbot/amdgpu-offload-build-only/build/./lib/libLLVMTargetParser.so.23.0git: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status [7646/8648] Building CXX object tools/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/CMakeFiles/SSAFExamplePlugin.dir/TagsAnalysis.cpp.o In file included from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/AnalysisRegistry.h:37, from /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:13: /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/include/clang/ScalableStaticAnalysisFramework/Core/WholeProgramAnalysis/SummaryAnalysis.h:109:15: warning: ‘llvm::Error clang::ssaf::SummaryAnalysis<ResultT, EntitySummaryT>::add(clang::ssaf::EntityId, const clang::ssaf::EntitySummary&) [with ResultT = example_plugin::TagsAnalysisResult; EntitySummaryT = {anonymous}::TagsEntitySummary]’ was hidden [-Woverloaded-virtual=] 109 | llvm::Error add(EntityId Id, const EntitySummary &Summary) final { | ^~~ /home/botworker/bbot/amdgpu-offload-build-only/llvm-project/clang/lib/ScalableStaticAnalysisFramework/Plugins/ExamplePlugin/TagsAnalysis.cpp:142:15: note: by ‘virtual llvm::Error {anonymous}::TagsAnalysis::add(clang::ssaf::EntityId, const {anonymous}::TagsEntitySummary&)’ 142 | llvm::Error add(EntityId, const TagsEntitySummary &S) override { | ^~~ [7647/8648] Building CXX object tools/clang/tools/clang-ssaf-format/CMakeFiles/clang-ssaf-format.dir/SSAFFormat.cpp.o [7648/8648] Building AMDGPUGenAsmMatcher.inc... [7649/8648] Building CXX object lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o [7650/8648] Building AMDGPUGenRegisterBank.inc... ninja: build stopped: subcommand failed. ['ninja'] exited with return code 1. The build step threw an exception... Traceback (most recent call last): File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 62, in step yield File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 53, in main run_command(["ninja"]) File "../llvm-zorg/zorg/buildbot/builders/annotated/amdgpu-offload-cmake.py", line 75, in run_command util.report_run_cmd(cmd, cwd=directory) File "/home/botworker/bbot/amdgpu-offload-build-only/llvm-zorg/zorg/buildbot/builders/annotated/util.py", line 49, in report_run_cmd subprocess.check_call(cmd, shell=shell, *args, **kwargs) File "/usr/lib64/python3.6/subprocess.py", line 311, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['ninja']' returned non-zero exit status 1. program finished with exit code 0 elapsedTime=65.374722 ``` </details> https://github.com/llvm/llvm-project/pull/204218 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
