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

Rong Xu
2026-03-16T18:16:53Z

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@kernel.org> 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