llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `lldb-x86_64-debian` 
running on `lldb-x86_64-debian` while building `clang,llvm` at step 4 "build".

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

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

```
Step 4 (build) failure: build (failure)
...
14.969 [69/61/109] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o
15.517 [69/60/110] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCExpr.cpp.o
15.546 [69/59/111] Linking CXX executable bin/lli
15.607 [69/58/112] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVTargetStreamer.cpp.o
15.797 [69/57/113] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o
15.990 [69/56/114] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPostRAExpandPseudoInsts.cpp.o
16.194 [69/55/115] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o
16.387 [69/54/116] Building CXX object 
lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o
16.483 [69/53/117] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o
16.581 [69/52/118] Building CXX object 
lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
FAILED: 
lib/Target/RISCV/AsmParser/CMakeFiles/LLVMRISCVAsmParser.dir/RISCVAsmParser.cpp.o
 
/usr/bin/clang++ -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/home/worker/2.0.1/lldb-x86_64-debian/build/lib/Target/RISCV/AsmParser 
-I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/lib/Target/RISCV/AsmParser
 -I/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/lib/Target/RISCV 
-I/home/worker/2.0.1/lldb-x86_64-debian/build/lib/Target/RISCV 
-I/home/worker/2.0.1/lldb-x86_64-debian/build/include 
-I/home/worker/2.0.1/lldb-x86_64-debian/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 -fvisibility=hidden  
-fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -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/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
/home/worker/2.0.1/lldb-x86_64-debian/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'?
    RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None;
    ^~~~~~~~~~~~~~~~~~~~~~~~
    llvm::MCSymbolRefExpr::VariantKind
/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/include/llvm/MC/MCExpr.h:196:8:
 note: 'llvm::MCSymbolRefExpr::VariantKind' declared here
  enum VariantKind : uint16_t {
       ^
/home/worker/2.0.1/lldb-x86_64-debian/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'
    RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_None;
                             ^    ~~~~~~~~~~~~~~~~~~~~
/home/worker/2.0.1/lldb-x86_64-debian/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'
    bool IsConstantImm = evaluateConstantImm(getImm(), Imm, VK);
                                                            ^~
/home/worker/2.0.1/lldb-x86_64-debian/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59:
 note: passing argument to parameter 'VK' here
                                  RISCVMCExpr::Specifier &VK) {
                                                          ^
/home/worker/2.0.1/lldb-x86_64-debian/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]
           VK == RISCVMCExpr::VK_None;
           ~~ ^  ~~~~~~~~~~~~~~~~~~~~
1 warning and 3 errors generated.
17.041 [69/51/119] Linking CXX executable bin/lldb-server
17.047 [69/50/120] Building CXX object 
tools/llvm-exegesis/lib/RISCV/CMakeFiles/LLVMExegesisRISCV.dir/RISCVExegesisPostprocessing.cpp.o
17.474 [69/49/121] Linking CXX executable bin/lldb-instr
17.511 [69/48/122] Linking CXX executable bin/clang-import-test
17.554 [69/47/123] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSelectionDAGInfo.cpp.o
17.787 [69/46/124] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMakeCompressible.cpp.o
17.812 [69/45/125] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMoveMerger.cpp.o
18.042 [69/44/126] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRedundantCopyElimination.cpp.o
18.046 [69/43/127] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInsertWriteVXRM.cpp.o
18.160 [69/42/128] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVLandingPadSetup.cpp.o
18.342 [69/41/129] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorMaskDAGMutation.cpp.o
18.501 [69/40/130] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVTargetObjectFile.cpp.o
18.647 [69/39/131] Building CXX object 
lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o
18.936 [69/38/132] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o
19.163 [69/37/133] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVCallingConv.cpp.o
19.217 [69/36/134] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVMachineFunctionInfo.cpp.o
19.238 [69/35/135] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorPeephole.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

Reply via email to