Re: [PATCH v5 1/2] kbuild: move vmlinux.a build rule to scripts/Makefile.vmlinux_a

From: Rong Xu

Date: Mon Mar 16 2026 - 14:17:01 EST


If that's the case, we can just remove flag "--thin". Can we verify if
that works?

-Rong

On Mon, Mar 16, 2026 at 11:00 AM Nathan Chancellor <nathan@xxxxxxxxxx> wrote:
>
> On Mon, Mar 16, 2026 at 05:27:01PM +0000, Rong Xu wrote:
> > I think the problem was $(AR) mPi and llvm-ar <= 14 do work correctly
> > in preserving the orders for "thin" archives without --thin.
> >
> > We can either
> > (1) Bump the LLVM version to 15 and remove the --thin flag, or
>
> The minimum supported version of LLVM for building the kernel was
> bumped to 15 in 6.18 with commit 20c098928356 ("kbuild: Bump minimum
> version of LLVM for building the kernel to 15.0.0"), so it seems like we
> can just do this?
>
> Cheers,
> Nathan