[PATCH 0/2] Fix AArch32 compilation with Clang

Tom Rini trini at konsulko.com
Mon Nov 3 19:31:34 CET 2025


On Sat, Nov 01, 2025 at 10:39:57AM +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):
> 
> make ARCH=arm HOSTCC=clang CROSS_COMPILE=arm-none-eabi- CC=clang imx6ulz_smm_m2b_defconfig
> make ARCH=arm HOSTCC=clang CROSS_COMPILE=arm-none-eabi- CC=clang -j20

Thanks for digging these changes out. I'll take them soon'ish for
v2026.01 and then ideally be able to re-enable LLVM based build tests in
my setup.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251103/3f670765/attachment.sig>


More information about the U-Boot mailing list