[PATCH v2 2/2] kbuild: Bump the build system to 5.1

Ilias Apalodimas ilias.apalodimas at linaro.org
Mon Jul 21 09:26:02 CEST 2025


Hi Sudeep

On Fri, 18 Jul 2025 at 11:30, Sudeep Holla <sudeep.holla at arm.com> wrote:
>
> 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.

Thanks for the report. There's a bigger upgrade we are doing to 6.10+
kbuild as we speak.
That will have  bigger changes wrt to clang. In the meantime I'll have
a look at the current breakage

Cheers
/Ilias
>
> --
> Regards,
> Sudeep


More information about the U-Boot mailing list