[PATCH v2 2/2] kbuild: Bump the build system to 5.1
Sudeep Holla
sudeep.holla at arm.com
Fri Jul 18 10:30:13 CEST 2025
On Thu, Jul 17, 2025 at 11:41:48AM -0600, Tom Rini wrote:
> On Thu, Jul 17, 2025 at 06:03:09PM +0100, Sudeep Holla wrote:
>
> > Hi,
> >
> > I see build break with clang after the commit 5f520875bdf0 ("kbuild:
> > Bump the build system to 5.1"):
> >
> > Build command:
> > $make -j`nproc` ARCH=arm64 O=$BUILD_DIR
> > CROSS_COMPILE=aarch64-none-linux-gnu- HOSTCC=clang
> > vexpress_aemv8a_semi_defconfig
> > $make -j`nproc` ARCH=arm O=$BUILD_DIR
> > CROSS_COMPILE=aarch64-none-linux-gnu- HOSTCC=clang CC=clang all
>
> Does it still fail if you don't pass ARCH=? That's not valid in U-Boot
> and can lead to breakage.
>
Yes it still breaks. I wasn't aware that ARCH= was not need in the build
step, thanks for that info. I always passed it AFAIR.
--
Regards,
Sudeep
More information about the U-Boot
mailing list