llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-aarch64-sve2-vla` 
running on `linaro-g4-02` while building `clang,llvm` at step 6 "build stage 1".

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

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

```
Step 6 (build stage 1) failure: 'ninja' (failure)
...
[151/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVTargetObjectFile.cpp.o
[152/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVSubtarget.cpp.o
[153/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVPushPopOptimizer.cpp.o
[154/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVMV0Elimination.cpp.o
[155/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVVLOptimizer.cpp.o
[156/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVRegisterInfo.cpp.o
[157/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFObjectWriter.cpp.o
[158/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVAsmBackend.cpp.o
[159/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVBaseInfo.cpp.o
[160/527] 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/local/bin/c++ -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/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/lib/Target/RISCV/AsmParser
 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/lib/Target/RISCV/AsmParser
 -I/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/lib/Target/RISCV 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/lib/Target/RISCV 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/stage1/include 
-I/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/include 
-mcpu=neoverse-v2 -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 -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 
/home/tcwg-buildbot/worker/clang-aarch64-sve2-vla/llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
../llvm/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
../llvm/llvm/include/llvm/MC/MCExpr.h:196:8: note: 
'llvm::MCSymbolRefExpr::VariantKind' declared here
  196 |   enum VariantKind : uint16_t {
      |        ^
../llvm/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;
      |                              ^    ~~~~~~~~~~~~~~~~~~~~
../llvm/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);
      |                                                             ^~
../llvm/llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp:518:59: note: 
passing argument to parameter 'VK' here
  518 |                                   RISCVMCExpr::Specifier &VK) {
      |                                                           ^
../llvm/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.
[161/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelDAGToDAG.cpp.o
[162/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMatInt.cpp.o
[163/527] Building CXX object 
lib/Target/RISCV/Disassembler/CMakeFiles/LLVMRISCVDisassembler.dir/RISCVDisassembler.cpp.o
[164/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVZacasABIFix.cpp.o
[165/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCObjectFileInfo.cpp.o
[166/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVInstPrinter.cpp.o
[167/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVTargetMachine.cpp.o
[168/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVTargetTransformInfo.cpp.o
[169/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCExpr.cpp.o
[170/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVTargetStreamer.cpp.o
[171/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVMCCodeEmitter.cpp.o
[172/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVCallLowering.cpp.o
[173/527] Building CXX object 
lib/Target/RISCV/MCTargetDesc/CMakeFiles/LLVMRISCVDesc.dir/RISCVELFStreamer.cpp.o
[174/527] Building CXX object 
lib/Target/RISCV/MCA/CMakeFiles/LLVMRISCVTargetMCA.dir/RISCVCustomBehaviour.cpp.o
[175/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVRegisterBankInfo.cpp.o
[176/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/RISCVISelLowering.cpp.o
[177/527] Building CXX object 
lib/Target/RISCV/CMakeFiles/LLVMRISCVCodeGen.dir/GISel/RISCVLegalizerInfo.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