[clang] [llvm] [AVR] Add support for many new AVR MCUs (PR #143914)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 14 08:12:25 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-gcc-ubuntu` running on `sie-linux-worker3` while building `clang,llvm` at step 5 "build-unified-tree".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/19412
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (build-unified-tree) failure: build (failure)
...
0.053 [1835/19/9] Building CommentHTMLNamedCharacterReferences.inc...
0.053 [1835/18/10] Building CommentCommandInfo.inc...
0.053 [1835/17/11] Building CommentCommandList.inc...
0.057 [1831/16/12] Building StmtDataCollectors.inc...
0.057 [1831/15/13] Building BuiltinTemplates.inc...
0.086 [246/18/14] Building Opcodes.inc...
0.100 [238/17/15] Generating VCSVersion.inc
0.101 [236/18/16] Linking CXX executable bin/llvm-config
0.181 [236/17/17] Building OpenCLBuiltins.inc...
0.348 [234/16/18] Building AVRGenMCCodeEmitter.inc...
FAILED: lib/Target/AVR/AVRGenMCCodeEmitter.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenMCCodeEmitter.inc
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR && /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-tblgen -gen-emitter -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td --write-if-changed -o AVRGenMCCodeEmitter.inc -d AVRGenMCCodeEmitter.inc.d && /usr/bin/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenMCCodeEmitter.inc.d /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/CMakeFiles/d/e52f44e173e6bc174d72707df5617ce532bee0be6fb19e3b657a5b53d90384c1.d
Included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td:21:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVRDevices.td:591:27: error: Variable not defined: 'FamilyXMEGA2'
def : Device<"avr64da28", FamilyXMEGA2, ELFArchXMEGA2>;
^
0.348 [234/15/19] Building AVRGenDAGISel.inc...
FAILED: lib/Target/AVR/AVRGenDAGISel.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenDAGISel.inc
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR && /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-tblgen -gen-dag-isel -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target -omit-comments /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td --write-if-changed -o AVRGenDAGISel.inc -d AVRGenDAGISel.inc.d && /usr/bin/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenDAGISel.inc.d /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/CMakeFiles/d/e5a1d408b6ebc0154cd239ae421acd663a411536ad430ae4985ecafa7a0e8de9.d
Included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td:21:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVRDevices.td:591:27: error: Variable not defined: 'FamilyXMEGA2'
def : Device<"avr64da28", FamilyXMEGA2, ELFArchXMEGA2>;
^
0.350 [234/14/20] Building AVRGenRegisterInfo.inc...
FAILED: lib/Target/AVR/AVRGenRegisterInfo.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenRegisterInfo.inc
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR && /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-tblgen -gen-register-info -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td --write-if-changed -o AVRGenRegisterInfo.inc -d AVRGenRegisterInfo.inc.d && /usr/bin/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenRegisterInfo.inc.d /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/CMakeFiles/d/7dc8cb41c05ba77af6f6019ef20315b3ab6df037ce85aa9cc7afa509de96e550.d
Included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td:21:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVRDevices.td:591:27: error: Variable not defined: 'FamilyXMEGA2'
def : Device<"avr64da28", FamilyXMEGA2, ELFArchXMEGA2>;
^
0.350 [234/13/21] Building AVRGenCallingConv.inc...
FAILED: lib/Target/AVR/AVRGenCallingConv.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenCallingConv.inc
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR && /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-tblgen -gen-callingconv -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td --write-if-changed -o AVRGenCallingConv.inc -d AVRGenCallingConv.inc.d && /usr/bin/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenCallingConv.inc.d /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/CMakeFiles/d/b917349a4d4134e90020a92deeac8bdeb198462618ac533923ff5c790a0a8bd4.d
Included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td:21:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVRDevices.td:591:27: error: Variable not defined: 'FamilyXMEGA2'
def : Device<"avr64da28", FamilyXMEGA2, ELFArchXMEGA2>;
^
0.353 [234/12/22] Building AVRGenAsmWriter.inc...
FAILED: lib/Target/AVR/AVRGenAsmWriter.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenAsmWriter.inc
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR && /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-tblgen -gen-asm-writer -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td --write-if-changed -o AVRGenAsmWriter.inc -d AVRGenAsmWriter.inc.d && /usr/bin/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenAsmWriter.inc.d /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/CMakeFiles/d/a0ea3537a62c8d5764256433c704b5b68fec1a66ddc95e68136ac2661f911f03.d
Included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td:21:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVRDevices.td:591:27: error: Variable not defined: 'FamilyXMEGA2'
def : Device<"avr64da28", FamilyXMEGA2, ELFArchXMEGA2>;
^
0.358 [234/11/23] Building AVRGenSDNodeInfo.inc...
FAILED: lib/Target/AVR/AVRGenSDNodeInfo.inc /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenSDNodeInfo.inc
cd /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR && /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/bin/llvm-tblgen -gen-sd-node-info -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/include -I/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/include -I /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td --write-if-changed -o AVRGenSDNodeInfo.inc -d AVRGenSDNodeInfo.inc.d && /usr/bin/cmake/bin/cmake -E cmake_transform_depfile Ninja gccdepfile /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/lib/Target/AVR/AVRGenSDNodeInfo.inc.d /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/build/CMakeFiles/d/b4605e0bf52b9c61b3c35fc39397c420b61d364b573b86427a3988ff94da9993.d
Included from /home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVR.td:21:
/home/buildbot/buildbot-root/llvm-clang-x86_64-gcc-ubuntu/llvm-project/llvm/lib/Target/AVR/AVRDevices.td:591:27: error: Variable not defined: 'FamilyXMEGA2'
```
</details>
https://github.com/llvm/llvm-project/pull/143914
More information about the llvm-commits
mailing list