llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` 
running on `premerge-linux-1` while building `clang,llvm` at step 6 
"build-unified-tree".

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

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

```
Step 6 (build-unified-tree) failure: build (failure)
...
14.376 [3718/58/155] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o
14.407 [3717/58/156] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCExpr.cpp.o
14.521 [3716/58/157] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o
15.247 [3715/58/158] Linking CXX executable bin/dexp
15.409 [3714/58/159] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o
15.437 [3713/58/160] Linking CXX executable bin/clangd-indexer
15.591 [3712/58/161] Linking CXX executable bin/llvm-cxxdump
15.781 [3711/58/162] Building CXX object 
lib/CodeGen/AsmPrinter/CMakeFiles/LLVMAsmPrinter.dir/AsmPrinter.cpp.o
15.879 [3710/58/163] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o
16.000 [3710/57/164] 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_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE 
-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS 
-I/build/buildbot/premerge-monolithic-linux/build/lib/Target/RISCV/AsmParser 
-I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Target/RISCV/AsmParser
 -I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Target/RISCV 
-I/build/buildbot/premerge-monolithic-linux/build/lib/Target/RISCV 
-I/build/buildbot/premerge-monolithic-linux/build/include 
-I/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include -gmlt 
-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 
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
/build/buildbot/premerge-monolithic-linux/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
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/include/llvm/MC/MCExpr.h:196:8:
 note: 'llvm::MCSymbolRefExpr::VariantKind' declared here
  enum VariantKind : uint16_t {
       ^
/build/buildbot/premerge-monolithic-linux/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;
                             ^    ~~~~~~~~~~~~~~~~~~~~
/build/buildbot/premerge-monolithic-linux/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);
                                                            ^~
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59:
 note: passing argument to parameter 'VK' here
                                  RISCVMCExpr::Specifier &VK) {
                                                          ^
/build/buildbot/premerge-monolithic-linux/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.
16.081 [3710/56/165] Linking CXX static library lib/libLLVMAsmPrinter.a
16.091 [3710/55/166] Linking CXX executable bin/clangd-fuzzer
16.338 [3710/54/167] Linking CXX executable bin/clangd
17.228 [3710/53/168] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRedundantCopyElimination.cpp.o
17.447 [3710/52/169] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPostRAExpandPseudoInsts.cpp.o
17.561 [3710/51/170] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSelectionDAGInfo.cpp.o
17.722 [3710/50/171] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o
17.928 [3710/49/172] Building CXX object 
lib/LTO/CMakeFiles/LLVMLTO.dir/LTO.cpp.o
18.176 [3710/48/173] Building CXX object 
lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o
18.867 [3710/47/174] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVFoldMemOffset.cpp.o
18.880 [3710/46/175] Building CXX object 
lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o
19.074 [3710/45/176] Building CXX object 
tools/bolt/lib/Target/RISCV/CMakeFiles/LLVMBOLTTargetRISCV.dir/RISCVMCPlusBuilder.cpp.o
19.473 [3710/44/177] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVInsertReadWriteCSR.cpp.o
19.564 [3710/43/178] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVLandingPadSetup.cpp.o
19.928 [3710/42/179] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o
19.968 [3710/41/180] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVCallingConv.cpp.o
20.027 [3710/40/181] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVectorMaskDAGMutation.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