llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-fuzzer` running on `sanitizer-buildbot6` while building `clang,llvm` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/32/builds/15075 <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) ... [101/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o [102/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVInstPrinter.cpp.o [103/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCExpr.cpp.o [104/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVTargetStreamer.cpp.o [105/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o [106/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o [107/236] Building CXX object lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o [108/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o [109/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o [110/236] Building CXX object lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o FAILED: lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm_build0/include -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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 -MD -MT lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -MF lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o.d -o lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -c /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:778:5: error: no type named 'VariantKind' in 'llvm::RISCVMCExpr'; did you mean 'llvm::MCSymbolRefExpr::VariantKind'? 778 | RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None; | ^~~~~~~~~~~~~~~~~~~~~~~~ | llvm::MCSymbolRefExpr::VariantKind /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/include/llvm/MC/MCExpr.h:196:8: note: 'llvm::MCSymbolRefExpr::VariantKind' declared here 196 | enum VariantKind : uint16_t { | ^ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:778:30: error: cannot initialize a variable of type 'llvm::MCSymbolRefExpr::VariantKind' with an rvalue of type 'llvm::RISCVMCExpr::Specifier' 778 | RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None; | ^ ~~~~~~~~~~~~~~~~~~~~ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:780:61: error: non-const lvalue reference to type 'RISCVMCExpr::Specifier' cannot bind to a value of unrelated type 'llvm::MCSymbolRefExpr::VariantKind' 780 | bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK); | ^~ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59: note: passing argument to parameter 'VK' here 518 | RISCVMCExpr::Specifier &VK) { | ^ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:784:15: warning: comparison of different enumeration types ('llvm::MCSymbolRefExpr::VariantKind' and 'llvm::RISCVMCExpr::Specifier') [-Wenum-compare] 784 | VK == RISCVMCExpr::VK_None; | ~~ ^ ~~~~~~~~~~~~~~~~~~~~ 1 warning and 3 errors generated. [111/236] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o [112/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPostRAExpandPseudoInsts.cpp.o [113/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSelectionDAGInfo.cpp.o [114/236] Building CXX object lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o [115/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRedundantCopyElimination.cpp.o [116/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o [117/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.cpp.o [118/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVLoadStoreOptimizer.cpp.o [119/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInsertReadWriteCSR.cpp.o [120/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPushPopOptimizer.cpp.o [121/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMakeCompressible.cpp.o [122/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVCallingConv.cpp.o [123/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVIndirectBranchTracking.cpp.o [124/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMachineFunctionInfo.cpp.o [125/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMoveMerger.cpp.o [126/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVFoldMemOffset.cpp.o [127/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVDeadRegisterDefinitions.cpp.o Step 7 (stage1 build all) failure: stage1 build all (failure) ... [101/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o [102/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVInstPrinter.cpp.o [103/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCExpr.cpp.o [104/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVTargetStreamer.cpp.o [105/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o [106/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o [107/236] Building CXX object lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o [108/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o [109/236] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o [110/236] Building CXX object lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o FAILED: lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o CCACHE_CPP2=yes CCACHE_HASHDIR=yes /usr/bin/ccache /usr/bin/clang++ -DGTEST_HAS_RTTI=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm_build0/lib/Target/RISCV -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm_build0/include -I/home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -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 -MD -MT lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -MF lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o.d -o lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o -c /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:778:5: error: no type named 'VariantKind' in 'llvm::RISCVMCExpr'; did you mean 'llvm::MCSymbolRefExpr::VariantKind'? 778 | RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None; | ^~~~~~~~~~~~~~~~~~~~~~~~ | llvm::MCSymbolRefExpr::VariantKind /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/include/llvm/MC/MCExpr.h:196:8: note: 'llvm::MCSymbolRefExpr::VariantKind' declared here 196 | enum VariantKind : uint16_t { | ^ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:778:30: error: cannot initialize a variable of type 'llvm::MCSymbolRefExpr::VariantKind' with an rvalue of type 'llvm::RISCVMCExpr::Specifier' 778 | RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None; | ^ ~~~~~~~~~~~~~~~~~~~~ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:780:61: error: non-const lvalue reference to type 'RISCVMCExpr::Specifier' cannot bind to a value of unrelated type 'llvm::MCSymbolRefExpr::VariantKind' 780 | bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK); | ^~ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59: note: passing argument to parameter 'VK' here 518 | RISCVMCExpr::Specifier &VK) { | ^ /home/b/sanitizer-x86_64-linux-fuzzer/build/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:784:15: warning: comparison of different enumeration types ('llvm::MCSymbolRefExpr::VariantKind' and 'llvm::RISCVMCExpr::Specifier') [-Wenum-compare] 784 | VK == RISCVMCExpr::VK_None; | ~~ ^ ~~~~~~~~~~~~~~~~~~~~ 1 warning and 3 errors generated. [111/236] Building CXX object tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o [112/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPostRAExpandPseudoInsts.cpp.o [113/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSelectionDAGInfo.cpp.o [114/236] Building CXX object lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o [115/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRedundantCopyElimination.cpp.o [116/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o [117/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.cpp.o [118/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVLoadStoreOptimizer.cpp.o [119/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInsertReadWriteCSR.cpp.o [120/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPushPopOptimizer.cpp.o [121/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMakeCompressible.cpp.o [122/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVCallingConv.cpp.o [123/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVIndirectBranchTracking.cpp.o [124/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMachineFunctionInfo.cpp.o [125/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMoveMerger.cpp.o [126/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVFoldMemOffset.cpp.o [127/236] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVDeadRegisterDefinitions.cpp.o ``` </details> https://github.com/llvm/llvm-project/pull/132184 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits