[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 03:58:09 PST 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-hip-vega20` running on `hip-vega20-0` while building `llvm` at step 3 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/123/builds/9912
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 3 (annotate) failure: '../llvm-zorg/zorg/buildbot/builders/annotated/hip-build.sh --jobs=' (failure)
...
[64/638] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-opt-parser-defs -I /buildbot/llvm-project/llvm/tools/llvm-debuginfod -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include /buildbot/llvm-project/llvm/tools/llvm-debuginfod/Opts.td --write-if-changed -o tools/llvm-debuginfod/Opts.inc -d tools/llvm-debuginfod/Opts.inc.d
[65/637] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-opt-parser-defs -I /buildbot/llvm-project/clang/include/clang/Driver -I/buildbot/llvm-project/clang/include -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/tools/clang/include -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include /buildbot/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
[66/546] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-opt-parser-defs -I /buildbot/llvm-project/llvm/tools/llvm-debuginfod-find -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include /buildbot/llvm-project/llvm/tools/llvm-debuginfod-find/Opts.td --write-if-changed -o tools/llvm-debuginfod-find/Opts.inc -d tools/llvm-debuginfod-find/Opts.inc.d
[67/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-asm-matcher -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenAsmMatcher.inc -d lib/Target/X86/X86GenAsmMatcher.inc.d
[68/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-disassembler -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenDisassemblerTables.inc -d lib/Target/X86/X86GenDisassemblerTables.inc.d
[69/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm/tools/clang/lib/Basic && /usr/local/bin/cmake -DNAMES="LLVM;CLANG" -DLLVM_SOURCE_DIR=/buildbot/llvm-project/llvm -DCLANG_SOURCE_DIR=/buildbot/llvm-project/clang -DCLANG_VC_REPOSITORY= -DCLANG_VC_REVISION= -DHEADER_FILE=/buildbot/hip-vega20-0/clang-hip-vega20/llvm/tools/clang/lib/Basic/VCSVersion.inc -DLLVM_VC_REPOSITORY= -DLLVM_VC_REVISION= -DLLVM_FORCE_VC_REVISION= -DLLVM_FORCE_VC_REPOSITORY= -P /buildbot/llvm-project/llvm/cmake/modules/GenerateVersionFromVCS.cmake
[70/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-x86-mnemonic-tables -asmwriternum=1 -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenMnemonicTables.inc -d lib/Target/X86/X86GenMnemonicTables.inc.d
[71/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-x86-fold-tables -asmwriternum=1 -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenFoldTables.inc -d lib/Target/X86/X86GenFoldTables.inc.d
[72/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-x86-instr-mapping -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenInstrMapping.inc -d lib/Target/X86/X86GenInstrMapping.inc.d
[73/545] 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 -Ilib/TargetParser -I/buildbot/llvm-project/llvm/lib/TargetParser -Iinclude -I/buildbot/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/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -MF lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o.d -o lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -c /buildbot/llvm-project/llvm/lib/TargetParser/RISCVTargetParser.cpp
FAILED: lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.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 -Ilib/TargetParser -I/buildbot/llvm-project/llvm/lib/TargetParser -Iinclude -I/buildbot/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/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -MF lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o.d -o lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -c /buildbot/llvm-project/llvm/lib/TargetParser/RISCVTargetParser.cpp
In file included from /buildbot/llvm-project/llvm/lib/TargetParser/RISCVTargetParser.cpp:14:
/buildbot/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;
| ^~~~~~~~
/buildbot/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
[74/545] ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Basic -I/buildbot/llvm-project/clang/lib/Basic -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -MF tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o.d -o tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -c /buildbot/llvm-project/clang/lib/Basic/Version.cpp
[75/545] 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 -Ilib/IR -I/buildbot/llvm-project/llvm/lib/IR -Iinclude -I/buildbot/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 /buildbot/llvm-project/llvm/lib/IR/Type.cpp
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 -Ilib/IR -I/buildbot/llvm-project/llvm/lib/IR -Iinclude -I/buildbot/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 /buildbot/llvm-project/llvm/lib/IR/Type.cpp
In file included from /buildbot/llvm-project/llvm/lib/IR/Type.cpp:29:
/buildbot/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;
| ^~~~~~~~
/buildbot/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
[76/545] ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Basic -I/buildbot/llvm-project/clang/lib/Basic -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -MF tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o.d -o tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Basic/Targets/RISCV.cpp
FAILED: tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Basic -I/buildbot/llvm-project/clang/lib/Basic -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -MF tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o.d -o tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Basic/Targets/RISCV.cpp
In file included from /buildbot/llvm-project/clang/lib/Basic/Targets/RISCV.cpp:19:
/buildbot/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;
| ^~~~~~~~
/buildbot/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
[77/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-fast-isel -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenFastISel.inc -d lib/Target/X86/X86GenFastISel.inc.d
[78/545] 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 -Ilib/Object -I/buildbot/llvm-project/llvm/lib/Object -Iinclude -I/buildbot/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/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o -c /buildbot/llvm-project/llvm/lib/Object/IRSymtab.cpp
[79/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-global-isel -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenGlobalISel.inc -d lib/Target/X86/X86GenGlobalISel.inc.d
[80/545] ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Driver -I/buildbot/llvm-project/clang/lib/Driver -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -MF tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o.d -o tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
FAILED: tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Driver -I/buildbot/llvm-project/clang/lib/Driver -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -MF tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o.d -o tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
In file included from /buildbot/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp:21:
/buildbot/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;
Step 7 (Building LLVM) failure: Building LLVM (failure)
...
[64/638] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-opt-parser-defs -I /buildbot/llvm-project/llvm/tools/llvm-debuginfod -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include /buildbot/llvm-project/llvm/tools/llvm-debuginfod/Opts.td --write-if-changed -o tools/llvm-debuginfod/Opts.inc -d tools/llvm-debuginfod/Opts.inc.d
[65/637] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-opt-parser-defs -I /buildbot/llvm-project/clang/include/clang/Driver -I/buildbot/llvm-project/clang/include -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/tools/clang/include -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include /buildbot/llvm-project/clang/include/clang/Driver/Options.td --write-if-changed -o tools/clang/include/clang/Driver/Options.inc -d tools/clang/include/clang/Driver/Options.inc.d
[66/546] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-opt-parser-defs -I /buildbot/llvm-project/llvm/tools/llvm-debuginfod-find -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include /buildbot/llvm-project/llvm/tools/llvm-debuginfod-find/Opts.td --write-if-changed -o tools/llvm-debuginfod-find/Opts.inc -d tools/llvm-debuginfod-find/Opts.inc.d
[67/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-asm-matcher -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenAsmMatcher.inc -d lib/Target/X86/X86GenAsmMatcher.inc.d
[68/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-disassembler -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenDisassemblerTables.inc -d lib/Target/X86/X86GenDisassemblerTables.inc.d
[69/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm/tools/clang/lib/Basic && /usr/local/bin/cmake -DNAMES="LLVM;CLANG" -DLLVM_SOURCE_DIR=/buildbot/llvm-project/llvm -DCLANG_SOURCE_DIR=/buildbot/llvm-project/clang -DCLANG_VC_REPOSITORY= -DCLANG_VC_REVISION= -DHEADER_FILE=/buildbot/hip-vega20-0/clang-hip-vega20/llvm/tools/clang/lib/Basic/VCSVersion.inc -DLLVM_VC_REPOSITORY= -DLLVM_VC_REVISION= -DLLVM_FORCE_VC_REVISION= -DLLVM_FORCE_VC_REPOSITORY= -P /buildbot/llvm-project/llvm/cmake/modules/GenerateVersionFromVCS.cmake
[70/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-x86-mnemonic-tables -asmwriternum=1 -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenMnemonicTables.inc -d lib/Target/X86/X86GenMnemonicTables.inc.d
[71/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-x86-fold-tables -asmwriternum=1 -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenFoldTables.inc -d lib/Target/X86/X86GenFoldTables.inc.d
[72/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-x86-instr-mapping -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenInstrMapping.inc -d lib/Target/X86/X86GenInstrMapping.inc.d
[73/545] 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 -Ilib/TargetParser -I/buildbot/llvm-project/llvm/lib/TargetParser -Iinclude -I/buildbot/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/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -MF lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o.d -o lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -c /buildbot/llvm-project/llvm/lib/TargetParser/RISCVTargetParser.cpp
FAILED: lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.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 -Ilib/TargetParser -I/buildbot/llvm-project/llvm/lib/TargetParser -Iinclude -I/buildbot/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/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -MF lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o.d -o lib/TargetParser/CMakeFiles/LLVMTargetParser.dir/RISCVTargetParser.cpp.o -c /buildbot/llvm-project/llvm/lib/TargetParser/RISCVTargetParser.cpp
In file included from /buildbot/llvm-project/llvm/lib/TargetParser/RISCVTargetParser.cpp:14:
/buildbot/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;
| ^~~~~~~~
/buildbot/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
[74/545] ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Basic -I/buildbot/llvm-project/clang/lib/Basic -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -MF tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o.d -o tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Version.cpp.o -c /buildbot/llvm-project/clang/lib/Basic/Version.cpp
[75/545] 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 -Ilib/IR -I/buildbot/llvm-project/llvm/lib/IR -Iinclude -I/buildbot/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 /buildbot/llvm-project/llvm/lib/IR/Type.cpp
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 -Ilib/IR -I/buildbot/llvm-project/llvm/lib/IR -Iinclude -I/buildbot/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 /buildbot/llvm-project/llvm/lib/IR/Type.cpp
In file included from /buildbot/llvm-project/llvm/lib/IR/Type.cpp:29:
/buildbot/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;
| ^~~~~~~~
/buildbot/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
[76/545] ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Basic -I/buildbot/llvm-project/clang/lib/Basic -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -MF tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o.d -o tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Basic/Targets/RISCV.cpp
FAILED: tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Basic -I/buildbot/llvm-project/clang/lib/Basic -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -MF tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o.d -o tools/clang/lib/Basic/CMakeFiles/obj.clangBasic.dir/Targets/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Basic/Targets/RISCV.cpp
In file included from /buildbot/llvm-project/clang/lib/Basic/Targets/RISCV.cpp:19:
/buildbot/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;
| ^~~~~~~~
/buildbot/llvm-project/llvm/include/llvm/TargetParser/RISCVTargetParser.h:35:8: note: ‘CPUModel’ declared here as ‘struct llvm::RISCV::CPUModel’
35 | struct CPUModel {
| ^~~~~~~~
[77/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-fast-isel -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenFastISel.inc -d lib/Target/X86/X86GenFastISel.inc.d
[78/545] 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 -Ilib/Object -I/buildbot/llvm-project/llvm/lib/Object -Iinclude -I/buildbot/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/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o -MF lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o.d -o lib/Object/CMakeFiles/LLVMObject.dir/IRSymtab.cpp.o -c /buildbot/llvm-project/llvm/lib/Object/IRSymtab.cpp
[79/545] cd /buildbot/hip-vega20-0/clang-hip-vega20/llvm && /buildbot/hip-vega20-0/clang-hip-vega20/llvm/bin/llvm-tblgen -gen-global-isel -I /buildbot/llvm-project/llvm/lib/Target/X86 -I/buildbot/hip-vega20-0/clang-hip-vega20/llvm/include -I/buildbot/llvm-project/llvm/include -I /buildbot/llvm-project/llvm/lib/Target /buildbot/llvm-project/llvm/lib/Target/X86/X86.td --write-if-changed -o lib/Target/X86/X86GenGlobalISel.inc -d lib/Target/X86/X86GenGlobalISel.inc.d
[80/545] ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Driver -I/buildbot/llvm-project/clang/lib/Driver -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -MF tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o.d -o tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
FAILED: tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o
ccache /usr/bin/c++ -DCLANG_EXPORTS -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GLIBCXX_ASSERTIONS -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/clang/lib/Driver -I/buildbot/llvm-project/clang/lib/Driver -I/buildbot/llvm-project/clang/include -Itools/clang/include -Iinclude -I/buildbot/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 -fno-common -Woverloaded-virtual -fno-strict-aliasing -O3 -DNDEBUG -fno-exceptions -funwind-tables -fno-rtti -UNDEBUG -std=c++17 -MD -MT tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -MF tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o.d -o tools/clang/lib/Driver/CMakeFiles/obj.clangDriver.dir/ToolChains/Arch/RISCV.cpp.o -c /buildbot/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp
In file included from /buildbot/llvm-project/clang/lib/Driver/ToolChains/Arch/RISCV.cpp:21:
/buildbot/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;
```
</details>
https://github.com/llvm/llvm-project/pull/116202
More information about the llvm-commits
mailing list