[PATCH 0/2] Fix AArch32 compilation with Clang

Tom Rini trini at konsulko.com
Thu Nov 6 22:57:48 CET 2025


On Sat, 01 Nov 2025 10:39:57 +0100, Dmitrii Sharshakov wrote:

> I faced some minor compatibility issues when choosing Clang as the cross-compiler for my target.
> 
> Please review these two fixes, aiming at enabling Clang-based builds (still using GNU binutils)
> for 32-bit ARM targets.
> 
> Tested to fix build with (also run-tested on qemu arm and arm64 with clang):
> 
> [...]

Applied to u-boot/master, thanks!

[1/2] arch: arm: build: only set -mgeneral-regs-only for AArch64
      commit: e8e3b38def93b5e5d53569961237ce215454e141
[2/2] build: fix building u-boot.lds with Clang as a cross-compiler
      commit: f7d177395d73f7747373dfd0ef7329834788106e
-- 
Tom




More information about the U-Boot mailing list