llvm-ci wrote: LLVM Buildbot has detected a new failure on builder `clang-debian-cpp20` running on `clang-debian-cpp20` while building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/108/builds/10717 <details> <summary>Here is the relevant piece of the build log for the reference</summary> ``` Step 5 (build-unified-tree) failure: build (failure) ... | ^ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/RISCV/GISel/RISCVCallLowering.cpp:151:24: note: add an explicit capture of 'this' to capture '*this' by reference 151 | auto assignFunc = [=]() { | ^ | , this 2 warnings generated. 124.151 [1943/17/4046] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVLOptimizer.cpp.o 125.491 [1942/17/4047] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVTargetMachine.cpp.o 125.541 [1941/17/4048] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCAsmInfo.cpp.o 126.141 [1940/17/4049] 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 /usr/bin/clang++-17 -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/RISCV/AsmParser -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/RISCV/AsmParser -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/RISCV -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/lib/Target/RISCV -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/build/include -I/vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include -Wno-deprecated-enum-enum-conversion -Wno-deprecated-declarations -Wno-deprecated-anon-enum-enum-conversion -Wno-ambiguous-reversed-operator -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++20 -fvisibility=hidden -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -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 /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp /vol/worker/clang-debian-cpp20/clang-debian-cpp20/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 /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/include/llvm/MC/MCExpr.h:196:8: note: 'llvm::MCSymbolRefExpr::VariantKind' declared here 196 | enum VariantKind : uint16_t { | ^ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/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; | ^ ~~~~~~~~~~~~~~~~~~~~ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/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); | ^~ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59: note: passing argument to parameter 'VK' here 518 | RISCVMCExpr::Specifier &VK) { | ^ /vol/worker/clang-debian-cpp20/clang-debian-cpp20/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:784:15: warning: comparison of different enumeration types ('llvm::MCSymbolRefExpr::VariantKind' and 'llvm::RISCVMCExpr::Specifier') is deprecated [-Wdeprecated-enum-compare] 784 | VK == RISCVMCExpr::VK_None; | ~~ ^ ~~~~~~~~~~~~~~~~~~~~ 1 warning and 3 errors generated. 126.218 [1940/16/4050] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZacasABIFix.cpp.o 127.112 [1940/15/4051] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o 127.509 [1940/14/4052] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVTargetTransformInfo.cpp.o 128.351 [1940/13/4053] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o 128.547 [1940/12/4054] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVLegalizerInfo.cpp.o 128.868 [1940/11/4055] Building CXX object lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o 128.983 [1940/10/4056] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVInstPrinter.cpp.o 129.026 [1940/9/4057] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVRegisterBankInfo.cpp.o 129.322 [1940/8/4058] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o 129.464 [1940/7/4059] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPostLegalizerCombiner.cpp.o 129.979 [1940/6/4060] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVO0PreLegalizerCombiner.cpp.o 130.781 [1940/5/4061] Building CXX object lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o 132.190 [1940/4/4062] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelDAGToDAG.cpp.o 132.229 [1940/3/4063] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVPreLegalizerCombiner.cpp.o 134.010 [1940/2/4064] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelLowering.cpp.o 153.758 [1940/1/4065] Building CXX object lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVInstructionSelector.cpp.o ninja: build stopped: subcommand failed. ``` </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