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

From: Nicolas Schier

Date: Mon Mar 16 2026 - 13:57:04 EST


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
> (2) Implement a condition, as the --thin flag is only required for
> llvm-ar. I assume the reported error was using gcc? (can someone send
> a link for the failure?)
>
> I think (2) is less involved. I can prepare a updated patch.

Great, thanks! Yes, the report was using gcc.

The report is at https://lore.kernel.org/linux-next/476507c9-a371-4864-9e87-572c1ecae82d@xxxxxxxxxxxxx/

Kind regards,
Nicolas