From nobody Wed Apr 1 11:13:38 2026 Received: from mail-dl1-f74.google.com (mail-dl1-f74.google.com [74.125.82.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F22843DEADF for ; Tue, 31 Mar 2026 15:48:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.74 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774972119; cv=none; b=GBZ2qswJp0VBLodGp/jDQblU13jHp5YYfjFmg+n6luUKI8xUcNanD/ODwiz6gUD1K8eHAxp5b43jY0Fa3MMOj86b++v1XxhFffzmN4YsCFSYSyh76xqyJI6EhQ6SLbCDAaoN09AA/x6i7qlDDlvRqiAAjamJZ/+zFmEpnQudyqQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774972119; c=relaxed/simple; bh=1dn6wx0kE3uz2URoABPgvTVUTzuMBnxMjei6SlfoEfk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=KG5aoIOIU9laJleVst8DQZvk2RBky3qVublFZ5l7HTZTn6F8T6ZhBg5ESw+B9Ys/XAP5GwbDS6XILfM2nJV9ljRWeWEhbWSOLGlog45oParZ7IyjEbD28inCefzDcRpZ095hpod4pojyR2yb90d4kUzgXjre7ZaDwlT1boCd+/A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com; spf=pass smtp.mailfrom=flex--xur.bounces.google.com; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b=I2IUGM9z; arc=none smtp.client-ip=74.125.82.74 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=flex--xur.bounces.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="I2IUGM9z" Received: by mail-dl1-f74.google.com with SMTP id a92af1059eb24-1275c6fc58aso7829199c88.0 for ; Tue, 31 Mar 2026 08:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1774972114; x=1775576914; darn=vger.kernel.org; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=LVbuFhtmsLe2EwKEnKkn8YIdx3PwrexQLmQHP24bifI=; b=I2IUGM9zNwd48RzptOc0p3+UMo6699e7KyHVtt+p34WNNDtR++QpvLtLPsCxk33EuK 55oWj+60d8vJHiA9Gcb0ExEGMuPn28NsHaRP8XV8SDhPe5E2PGiByMkw8PjFRnFevKIu aC0IFfWpTbfD/urwPZp6xLZut+2auVywnJGl0gtWjzhnblHco7nF0dvoRicj8kHV45mB YwAWJAfDsv06n4/j1vEaM4IS23LIzt9h+jlWjTORf3eCfbRWvQoqTXdHxyqQQLnK/jlu i03ikG8F3uvLIBEH49PSnGlYjH3qeYZmzXPs2QgMACU1E+EvMn689QwAHjgRiALOLQL9 dNSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774972114; x=1775576914; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LVbuFhtmsLe2EwKEnKkn8YIdx3PwrexQLmQHP24bifI=; b=hT0etu5JbalPdeQ/Rpatr/+ukWXqosxU3ckchhKRcku6XssvkAj/hj5Jp2ziexoTLL EZwuP2OmyUUGE1cQHBrS6Lvb7DpfKVe6k4IyaKuRb2IgEbGRNWs5RrKpQX6yGT75bczF qZS+Rk8Y3y6hTgK9DhisBLEgFBOWo6LdO6Uy3hrhMnoLHB4014PSQRrcAI69PQLOL9r/ g7+ypzMJ1YYWIBZOVrThzq4VxCwCtGPVnWmU35vFBabQKskA4ilWAb/JuROxhCX6i5p3 sOPavxEBsjDTq4dY6sSFG7bjCAeM/AyJsKg3Y8qKndx+7FF4VTH5z0a6Ducof4cYQb5n pNEw== X-Gm-Message-State: AOJu0YwtIisn7Y0EzeMqI4hKxHuWb6BPLQKxh1GD60itxkcEG0rPHrcT /CiVDOhzLYmzaXUgu2oJdDPLqjUo1mAmdsx+us4LIqmz2tzqqBavMJtP8ZFoCHK9oXlnNA== X-Received: from dlbdz8.prod.google.com ([2002:a05:7022:ec8:b0:128:bbbe:13df]) (user=xur job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:e01:b0:12a:6a64:81f1 with SMTP id a92af1059eb24-12be63db71cmr11894c88.5.1774972114169; Tue, 31 Mar 2026 08:48:34 -0700 (PDT) Date: Tue, 31 Mar 2026 15:48:26 +0000 In-Reply-To: <20260331154827.2793269-1-xur@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 References: <20260331154827.2793269-1-xur@google.com> X-Mailer: git-send-email 2.53.0.1018.g2bb0e51243-goog Message-ID: <20260331154827.2793269-3-xur@google.com> Subject: [PATCH v9 2/3] kbuild: change --thin back to 'T' in $(AR) From: xur@google.com To: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , Yonghong Song , Bill Wendling , Justin Stitt , Miguel Ojeda , Thomas Gleixner , Alice Ryhl , Sami Tolvanen , "Mike Rapoport (Microsoft)" , Rafael Aquini , Michael Ellerman , Stafford Horne , Christophe Leroy , Piotr Gorski , Rong Xu , Venkat Rao Bagalkote , Miguel Ojeda , Teresa Johnson Cc: linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Rong Xu The '-T' flag in $(AR) is no longer problematic since the minimum requirement for LLVM has been updated to version 15. As of LLVM 14 and onward, the '-T' flag functions identically to the '--thin' flag. Fixed the issue seen on IBM Power11 System: ar: unrecognized option '--thin' Reported-by: Venkat Rao Bagalkote Closes: https://lore.kernel.org/linux-next/476507c9-a371-4864-9e87-572c1eca= e82d@linux.ibm.com/ Signed-off-by: Rong Xu --- scripts/Makefile.vmlinux_a | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile.vmlinux_a b/scripts/Makefile.vmlinux_a index 9774f02b43b2..650d44330d1f 100644 --- a/scripts/Makefile.vmlinux_a +++ b/scripts/Makefile.vmlinux_a @@ -10,12 +10,12 @@ include $(srctree)/scripts/Makefile.lib # Link of built-in-fixup.a # ------------------------------------------------------------------------= --- =20 -# '$(AR) mPi' needs --thin to workaround the bug of llvm-ar <=3D 14 +# '$(AR) mPi' needs 'T' to workaround the bug of llvm-ar <=3D 14 quiet_cmd_ar_builtin_fixup =3D AR $@ cmd_ar_builtin_fixup =3D \ rm -f $@; \ - $(AR) cDPrS --thin $@ $(KBUILD_VMLINUX_OBJS); \ - $(AR) mPi --thin $$($(AR) t $@ | sed -n 1p) $@ $$($(AR) t $@ | grep -F -f= $(srctree)/scripts/head-object-list.txt) + $(AR) cDPrST $@ $(KBUILD_VMLINUX_OBJS); \ + $(AR) mPiT $$($(AR) t $@ | sed -n 1p) $@ $$($(AR) t $@ | grep -F -f $(src= tree)/scripts/head-object-list.txt) =20 targets +=3D built-in-fixup.a built-in-fixup.a: $(KBUILD_VMLINUX_OBJS) scripts/head-object-list.txt FORCE --=20 2.53.0.1018.g2bb0e51243-goog