[llvm] [RISCV] Add mvendorid/marchid/mimpid to CPU definitions (PR #116202)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 22 06:20:04 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `bolt-x86_64-ubuntu-nfc` running on `bolt-worker` while building `llvm` at step 7 "build-bolt".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/92/builds/10191
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (build-bolt) failure: build (failure)
...
7.513 [254/18/84] Building AArch64GenMCPseudoLowering.inc...
7.684 [253/18/85] Building AArch64GenCallingConv.inc...
8.511 [252/18/86] Building AArch64GenExegesis.inc...
8.672 [251/18/87] Building AArch64GenAsmWriter1.inc...
8.673 [250/18/88] Building AArch64GenAsmWriter.inc...
8.744 [249/18/89] Building AArch64GenAsmMatcher.inc...
8.792 [248/18/90] Building AArch64GenDisassemblerTables.inc...
8.863 [247/18/91] Building X86GenFastISel.inc...
8.922 [246/18/92] Building AArch64GenPostLegalizeGICombiner.inc...
8.955 [245/18/93] Building CXX object lib/IR/CMakeFiles/LLVMCore.dir/Type.cpp.o
FAILED: lib/IR/CMakeFiles/LLVMCore.dir/Type.cpp.o
ccache /usr/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/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/lib/IR -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/IR -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/IR/CMakeFiles/LLVMCore.dir/Type.cpp.o -MF lib/IR/CMakeFiles/LLVMCore.dir/Type.cpp.o.d -o lib/IR/CMakeFiles/LLVMCore.dir/Type.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/IR/Type.cpp
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/IR/Type.cpp:29:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:46:12: error: declaration of ‘llvm::RISCV::CPUModel llvm::RISCV::CPUInfo::CPUModel’ changes meaning of ‘CPUModel’ [-fpermissive]
46 | CPUModel CPUModel;
| ^~~~~~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
8.986 [245/17/94] Building AArch64GenO0PreLegalizeGICombiner.inc...
9.585 [245/16/95] Building X86GenGlobalISel.inc...
9.740 [245/15/96] Building AArch64GenPostLegalizeGILowering.inc...
9.873 [245/14/97] Building AArch64GenPreLegalizeGICombiner.inc...
9.941 [245/13/98] Building AArch64GenGlobalISel.inc...
10.053 [245/12/99] Building AArch64GenFastISel.inc...
10.071 [245/11/100] Building AArch64GenRegisterBank.inc...
10.088 [245/10/101] Building AArch64GenSystemOperands.inc...
10.403 [245/9/102] Building X86GenSubtargetInfo.inc...
10.512 [245/8/103] Building AArch64GenRegisterInfo.inc...
10.924 [245/7/104] Building X86GenDAGISel.inc...
10.939 [245/6/105] Building AArch64GenDAGISel.inc...
11.081 [245/5/106] Building CXX object lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o
FAILED: lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o
ccache /usr/bin/c++ -DGTEST_HAS_RTTI=0 -DHAS_LOGF128 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/lib/Analysis -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Analysis -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/build/include -I/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -fno-lifetime-dse -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-uninitialized -Wno-nonnull -Wno-class-memaccess -Wno-redundant-move -Wno-pessimizing-move -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wsuggest-override -Wno-comment -Wno-misleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o -MF lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o.d -o lib/Analysis/CMakeFiles/LLVMAnalysis.dir/ValueTracking.cpp.o -c /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Analysis/ValueTracking.cpp
In file included from /home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/lib/Analysis/ValueTracking.cpp:75:
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:46:12: error: declaration of ‘llvm::RISCV::CPUModel llvm::RISCV::CPUInfo::CPUModel’ changes meaning of ‘CPUModel’ [-fpermissive]
46 | CPUModel CPUModel;
| ^~~~~~~~
/home/worker/bolt-worker2/bolt-x86_64-ubuntu-nfc/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
12.073 [245/4/107] Building X86GenInstrInfo.inc...
13.607 [168/3/108] Building AArch64GenInstrInfo.inc...
14.604 [168/2/109] Building AArch64GenSubtargetInfo.inc...
17.946 [99/1/110] Building RISCVGenGlobalISel.inc...
ninja: build stopped: subcommand failed.
```
</details>
https://github.com/llvm/llvm-project/pull/116202
More information about the llvm-commits
mailing list