[llvm] [SPIRV] Do not use OpTypeRuntimeArray in Kernel env. (PR #149522)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 5 06:19:55 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-aarch64-linux` running on `sanitizer-buildbot7` while building `llvm` at step 2 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/51/builds/21027

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
[4731/5597] Linking CXX static library lib/libclangSema.a
[4732/5597] Linking CXX executable bin/llvm-link
[4733/5597] Linking CXX executable bin/llvm-cgdata
[4734/5597] Linking CXX static library lib/libclangParse.a
[4735/5597] Linking CXX static library lib/libclangSerialization.a
[4736/5597] Linking CXX executable bin/clang-format
[4737/5597] Linking CXX executable bin/lli-child-target
[4738/5597] Building AMDGPUGenDAGISel.inc...
[4739/5597] Linking CXX executable bin/llvm-extract
[4740/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[4741/5597] Building AMDGPUGenAsmMatcher.inc...
[4742/5597] Building AArch64GenSubtargetInfo.inc...
[4743/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVGlobalRegistry.cpp.o
[4744/5597] Building X86GenInstrInfo.inc...
[4745/5597] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[4746/5597] Building RISCVGenInstrInfo.inc...
[4747/5597] Building RISCVGenDAGISel.inc...
[4748/5597] Building AMDGPUGenRegisterInfo.inc...
[4749/5597] Building RISCVGenGlobalISel.inc...
[4750/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVEmitIntrinsics.cpp.o
[4751/5597] Building AMDGPUGenRegisterBank.inc...
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild


@@@STEP_FAILURE@@@

@@@STEP_FAILURE@@@

@@@STEP_FAILURE@@@
@@@BUILD_STEP test compiler-rt symbolizer@@@
ninja: Entering directory `build_default'
[1/597] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64CallLowering.cpp.o
[2/597] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64GlobalISelUtils.cpp.o
[3/597] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64InstructionSelector.cpp.o
[4/597] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64LegalizerInfo.cpp.o
[5/597] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64O0PreLegalizerCombiner.cpp.o
[6/597] Building CXX object lib/Target/AArch64/CMakeFiles/LLVMAArch64CodeGen.dir/GISel/AArch64PreLegalizerCombiner.cpp.o
Step 8 (build compiler-rt symbolizer) failure: build compiler-rt symbolizer (failure)
...
[4731/5597] Linking CXX static library lib/libclangSema.a
[4732/5597] Linking CXX executable bin/llvm-link
[4733/5597] Linking CXX executable bin/llvm-cgdata
[4734/5597] Linking CXX static library lib/libclangParse.a
[4735/5597] Linking CXX static library lib/libclangSerialization.a
[4736/5597] Linking CXX executable bin/clang-format
[4737/5597] Linking CXX executable bin/lli-child-target
[4738/5597] Building AMDGPUGenDAGISel.inc...
[4739/5597] Linking CXX executable bin/llvm-extract
[4740/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[4741/5597] Building AMDGPUGenAsmMatcher.inc...
[4742/5597] Building AArch64GenSubtargetInfo.inc...
[4743/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVGlobalRegistry.cpp.o
[4744/5597] Building X86GenInstrInfo.inc...
[4745/5597] Building CXX object tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/HIPUtility.cpp.o
[4746/5597] Building RISCVGenInstrInfo.inc...
[4747/5597] Building RISCVGenDAGISel.inc...
[4748/5597] Building AMDGPUGenRegisterInfo.inc...
[4749/5597] Building RISCVGenGlobalISel.inc...
[4750/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVEmitIntrinsics.cpp.o
[4751/5597] Building AMDGPUGenRegisterBank.inc...
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
[480/597] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Thunks.cpp.o
[481/597] Building CXX object tools/lld/ELF/CMakeFiles/lldELF.dir/Writer.cpp.o
[482/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64.cpp.o
[483/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64Common.cpp.o
[484/597] Linking CXX static library lib/libLLVMAMDGPUInfo.a
[485/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/ARM64_32.cpp.o
[486/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Arch/X86_64.cpp.o
[487/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ConcatOutputSection.cpp.o
[488/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Driver.cpp.o
[489/597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[490/597] Linking CXX static library lib/libLLVMAMDGPUUtils.a
[491/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/DriverUtils.cpp.o
[492/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Dwarf.cpp.o
[493/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/EhFrame.cpp.o
[494/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ExportTrie.cpp.o
[495/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ICF.cpp.o
[496/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/InputFiles.cpp.o
[497/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/InputSection.cpp.o
[498/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/LinkerOptimizationHints.cpp.o
[499/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/LTO.cpp.o
[500/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/MapFile.cpp.o
[501/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/MarkLive.cpp.o
[502/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/ObjC.cpp.o
[503/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/OutputSection.cpp.o
[504/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/OutputSegment.cpp.o
[505/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Relocations.cpp.o
[506/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/BPSectionOrderer.cpp.o
[507/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/SectionPriorities.cpp.o
[508/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Sections.cpp.o
[509/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/SymbolTable.cpp.o
[510/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Symbols.cpp.o
[511/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/SyntheticSections.cpp.o
[512/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Target.cpp.o
[513/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/UnwindInfoSection.cpp.o
[514/597] Building CXX object tools/lld/MachO/CMakeFiles/lldMachO.dir/Writer.cpp.o
[515/597] Building CXX object tools/lld/MinGW/CMakeFiles/lldMinGW.dir/Driver.cpp.o
[516/597] Building CXX object tools/lld/wasm/CMakeFiles/lldWasm.dir/Driver.cpp.o
[517/597] Building CXX object tools/lld/wasm/CMakeFiles/lldWasm.dir/InputChunks.cpp.o
[518/597] Building CXX object tools/lld/wasm/CMakeFiles/lldWasm.dir/InputFiles.cpp.o
Step 10 (build compiler-rt debug) failure: build compiler-rt debug (failure)
...
[4947/5597] Building CXX object lib/Target/X86/MCTargetDesc/CMakeFiles/LLVMX86Desc.dir/X86WinCOFFStreamer.cpp.o
[4948/5597] Linking CXX static library lib/libLLVMX86Info.a
[4949/5597] Building CXX object tools/llvm-exegesis/lib/X86/CMakeFiles/LLVMExegesisX86.dir/Target.cpp.o
[4950/5597] Linking CXX static library lib/libLLVMX86Disassembler.a
[4951/5597] Linking CXX static library lib/libLLVMX86Desc.a
[4952/5597] Linking CXX static library lib/libLLVMX86TargetMCA.a
[4953/5597] Linking CXX static library lib/libLLVMX86AsmParser.a
[4954/5597] Linking CXX static library lib/libLLVMX86CodeGen.a
[4955/5597] Linking CXX static library lib/libLLVMExegesisX86.a
[4956/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[4957/5597] Building AMDGPUGenRegisterBank.inc...
[4958/5597] Building RISCVGenGlobalISel.inc...
[4959/5597] Building AMDGPUGenAsmMatcher.inc...
[4960/5597] Building RISCVGenDAGISel.inc...
[4961/5597] Building RISCVGenInstrInfo.inc...
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
[59/410] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVTargetStreamer.cpp.o
[60/410] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o
[61/410] Building CXX object lib/Target/RISCV/TargetInfo/CMakeFiles/LLVMRISCVInfo.dir/RISCVTargetInfo.cpp.o
[62/410] Linking CXX static library lib/libLLVMRISCVInfo.a
[63/410] Linking CXX static library lib/libLLVMRISCVDesc.a
[64/410] Linking CXX static library lib/libLLVMRISCVDisassembler.a
[65/410] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVInstructionSelector.cpp.o
[66/410] Linking CXX static library lib/libLLVMRISCVAsmParser.a
[67/410] Linking CXX static library lib/libLLVMRISCVCodeGen.a
[68/410] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[69/410] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 12 (build compiler-rt tsan_debug) failure: build compiler-rt tsan_debug (failure)
...
[4917/5575] Linking CXX static library lib/libLLVMX86TargetMCA.a
[4918/5575] Linking CXX static library lib/libLLVMX86AsmParser.a
[4919/5575] Linking CXX static library lib/libLLVMX86CodeGen.a
[4920/5575] Linking CXX static library lib/libLLVMExegesisX86.a
[4921/5575] Building AMDGPUGenRegBankGICombiner.inc...
[4922/5575] Building AMDGPUGenPostLegalizeGICombiner.inc...
[4923/5575] Building AMDGPUGenPreLegalizeGICombiner.inc...
[4924/5575] Building AMDGPUGenSubtargetInfo.inc...
[4925/5575] Building AMDGPUGenDisassemblerTables.inc...
[4926/5575] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[4927/5575] Building AMDGPUGenMCCodeEmitter.inc...
[4928/5575] Building RISCVGenInstrInfo.inc...
[4929/5575] Building AMDGPUGenSearchableTables.inc...
[4930/5575] Building RISCVGenGlobalISel.inc...
[4931/5575] Building AMDGPUGenCallingConv.inc...
[4932/5575] Building AMDGPUGenAsmWriter.inc...
[4933/5575] Building RISCVGenDAGISel.inc...
[4934/5575] Building AMDGPUGenGlobalISel.inc...
[4935/5575] Building AMDGPUGenDAGISel.inc...
[4936/5575] Building AMDGPUGenAsmMatcher.inc...
[4937/5575] Building AMDGPUGenInstrInfo.inc...
[4938/5575] Building AMDGPUGenRegisterBank.inc...
[4939/5575] Building AMDGPUGenRegisterInfo.inc...
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 13 (build compiler-rt default) failure: build compiler-rt default (failure)
...
[4941/5597] Linking CXX static library lib/libLLVMX86CodeGen.a
[4942/5597] Linking CXX static library lib/libLLVMExegesisX86.a
[4943/5597] Building AMDGPUGenPreLegalizeGICombiner.inc...
[4944/5597] Building AMDGPUGenRegBankGICombiner.inc...
[4945/5597] Building AMDGPUGenPostLegalizeGICombiner.inc...
[4946/5597] Building AMDGPUGenSubtargetInfo.inc...
[4947/5597] Building AMDGPUGenMCCodeEmitter.inc...
[4948/5597] Building RISCVGenInstrInfo.inc...
[4949/5597] Building AMDGPUGenDisassemblerTables.inc...
[4950/5597] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[4951/5597] Building AMDGPUGenSearchableTables.inc...
[4952/5597] Building AMDGPUGenCallingConv.inc...
[4953/5597] Building RISCVGenGlobalISel.inc...
[4954/5597] Building AMDGPUGenAsmWriter.inc...
[4955/5597] Building RISCVGenDAGISel.inc...
[4956/5597] Building AMDGPUGenGlobalISel.inc...
[4957/5597] Building AMDGPUGenAsmMatcher.inc...
[4958/5597] Building AMDGPUGenDAGISel.inc...
[4959/5597] Building AMDGPUGenInstrInfo.inc...
[4960/5597] Building AMDGPUGenRegisterBank.inc...
[4961/5597] Building AMDGPUGenRegisterInfo.inc...
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
[59/410] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPostLegalizerCombiner.cpp.o
[60/410] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVLegalizerInfo.cpp.o
[61/410] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVO0PreLegalizerCombiner.cpp.o
[62/410] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPreLegalizerCombiner.cpp.o
[63/410] Linking CXX static library lib/libLLVMRISCVDisassembler.a
[64/410] Linking CXX static library lib/libLLVMRISCVAsmParser.a
[65/410] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelDAGToDAG.cpp.o
[66/410] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVInstructionSelector.cpp.o
[67/410] Linking CXX static library lib/libLLVMRISCVCodeGen.a
[68/410] Building CXX object lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o
FAILED: lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o 
CCACHE_CPP2=yes CCACHE_HASHDIR=yes CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /home/b/sanitizer-aarch64-linux/build/llvm_build0/bin/clang++ -DEXPERIMENTAL_KEY_INSTRUCTIONS -DGTEST_HAS_RTTI=0 -DLLVM_EXPORTS -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__SHORT_FILE__=\"SPIRVModuleAnalysis.cpp\" -I/home/b/sanitizer-aarch64-linux/build/build_default/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV -I/home/b/sanitizer-aarch64-linux/build/build_default/include -I/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=c++17 -fvisibility=hidden  -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -MD -MT lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -MF lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o.d -o lib/Target/SPIRV/CMakeFiles/LLVMSPIRVCodeGen.dir/SPIRVModuleAnalysis.cpp.o -c /home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: error: unannotated fall-through between switch labels [-Werror,-Wimplicit-fallthrough]
 1879 |   default:
      |   ^
/home/b/sanitizer-aarch64-linux/build/llvm-project/llvm/lib/Target/SPIRV/SPIRVModuleAnalysis.cpp:1879:3: note: insert 'break;' to avoid fall-through
 1879 |   default:
      |   ^
      |   break; 
1 error generated.
[69/410] Building InstCombineTables.inc...
ninja: build stopped: subcommand failed.

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 15 (build standalone compiler-rt) failure: build standalone compiler-rt (failure)
...
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Didn't find assembler
CMake Error at CMakeLists.txt:22 (project):
  The CMAKE_C_COMPILER:

    /home/b/sanitizer-aarch64-linux/build/build_default/bin/clang

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:22 (project):
  The CMAKE_CXX_COMPILER:

    /home/b/sanitizer-aarch64-linux/build/build_default/bin/clang++

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.


CMake Error at CMakeLists.txt:22 (project):
  No CMAKE_ASM_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




ninja: Entering directory `compiler_rt_build'
ninja: error: loading 'build.ninja': No such file or directory

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild




Step 16 (test standalone compiler-rt) failure: test standalone compiler-rt (failure)
@@@BUILD_STEP test standalone compiler-rt@@@
ninja: Entering directory `compiler_rt_build'
ninja: error: loading 'build.ninja': No such file or directory

How to reproduce locally: https://github.com/google/sanitizers/wiki/SanitizerBotReproduceBuild





```

</details>

https://github.com/llvm/llvm-project/pull/149522


More information about the llvm-commits mailing list