From nobody Thu Apr 2 15:36:10 2026 Received: from mail-dl1-f73.google.com (mail-dl1-f73.google.com [74.125.82.73]) (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 19FF732FA10 for ; Sat, 28 Mar 2026 01:19:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774660779; cv=none; b=pxqeUYo99ihTZXJF7EBMwevY9ZjbDu6cqwAkCIW7beF1RTZEgchh+3h0hwnrefpaa1X8TlA4XkkxO2GoKOAaPeVgP6F1rL7rJjf3ZqraPEBXHEUTQ4YyhNdOgtfQvQ1tzagaNmQuQyLdZ0Fq3J5XPsgsAAxZMXkDiFZ5W8Qk0RI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774660779; c=relaxed/simple; bh=1dn6wx0kE3uz2URoABPgvTVUTzuMBnxMjei6SlfoEfk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=BE0PDssrhvkWt4+TLD4DNKt4S82aolkBtjqOO4RzyZ0HEaglKrPJv2wy7vzWWhSZZqLiRWotRVpb58kJXmD6GUSWbWzLjpZNdliAIiHZURTPHonY2sU/HsjnejKjLNCGTwQ4jVUAAC5UocXiIiNdUgeOC8IY3WfP+zaNWSbele8= 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=h2ua+E8g; arc=none smtp.client-ip=74.125.82.73 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="h2ua+E8g" Received: by mail-dl1-f73.google.com with SMTP id a92af1059eb24-128d0b690feso1798919c88.0 for ; Fri, 27 Mar 2026 18:19:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1774660774; x=1775265574; 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=h2ua+E8gFbXMBfrRsdEeyUM47RjQtAIztjV3lhVUeTDOc0r9ob1FxicEpwet1UDndw nyNVDUupMeT/BqGmLE6ivQU8KCxjwvtu6pSpdgECd1YItQI1EInTTeK4wtvORo6c3UtB x9hWDnh90o5GIDWoZaKKFvCEccfXlny4EQtoHKLOpIF+nPafchpTx4sP4KHjwit9sQa+ v2ij7aybUTz8QoyI7boQBLtL1s2MJioPHrgyKIiddihFij8ZcKyma2z1eQxBZieGpdO9 D6MOMAgwaPgOsrX8lP5+fGy8F+8kHM8SEtREyDKyFQOcVw32+RZrPLcz4SJVBZS1ghd5 0oJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774660774; x=1775265574; 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=jXv2DLh6XMSLS6tqYmQZKRO1GOom3/LSTH4yVSDz4WYzxFxLd7lh0M/j/s8eP0HPy6 E9IcQWDK1uk6Pn7Lj50Y+wDENNugO1bZ1Sk7TP/bzxBC+6ucEBhgiPGFi0ghl3SFw0Jj YqY0kfLxvONYkYmyl7dguqX65wZlysTHGGtK5WGXTpr/GzQt6tHYW7uw7jWeNh6B3smV 6h+XfrzN9N7d86eyAG2hw2+DKhASVC3c7QXWatqA+0CNC6XN2Qva1RODRvAfbUWRgXeZ NBgBQppyY0HmRAZyEVZMrEgzc/M3m80zL7o1eIo1JQX+uL9c7cmBachapoVFYT9UqOa8 1ezA== X-Gm-Message-State: AOJu0YysoWonIg0JDJSmTUzvQ30l7RrvwI7+4rZpY51La7o7Huq0Cu6C PqhKaSZqv+VtKEmGqLnTrUvL0pSS55kM3TnFTpk15lM7SJsXl+CcoGwiiSc5/d6rZUaPKQ== X-Received: from dlec5-n2.prod.google.com ([2002:a05:701b:4285:20b0:12a:ba56:cfe4]) (user=xur job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7022:ec1:b0:128:d51a:5143 with SMTP id a92af1059eb24-12ab28ef2bamr2473080c88.31.1774660773994; Fri, 27 Mar 2026 18:19:33 -0700 (PDT) Date: Sat, 28 Mar 2026 01:19:26 +0000 In-Reply-To: <20260328011927.3569802-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: <20260328011927.3569802-1-xur@google.com> X-Mailer: git-send-email 2.53.0.1018.g2bb0e51243-goog Message-ID: <20260328011927.3569802-3-xur@google.com> Subject: [PATCH v7 2/3] kbuild: change --thin back to 'T' in $(AR) From: xur@google.com To: Masahiro Yamada , Nathan Chancellor , Nicolas Schier , Nick Desaulniers , 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