From nobody Wed Apr 1 11:03:55 2026 Received: from mail-dy1-f201.google.com (mail-dy1-f201.google.com [74.125.82.201]) (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 4DF123DC4BB for ; Mon, 30 Mar 2026 17:19:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.82.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774891169; cv=none; b=i/FAIBwhmpCvGsSoqgwOyM1U7E/8PWIhy1AI8eaCOoHgiVzSw+K11CO9Pxro3sxOIq9CnPnEpgAM6hMryESEC0S0ueChSzO4EPViZDRslSMrG+4oA3snoylyu7TCS9SXQpToazgw7+RQ8OD4FAgEdBZUbJy8N26CWMAS/LFfO24= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774891169; c=relaxed/simple; bh=1dn6wx0kE3uz2URoABPgvTVUTzuMBnxMjei6SlfoEfk=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=GdrB7Ung7xtla8DNxN+Pn2EG+mauMgEpCQvPNsIWB8BeswHZt9MMc3vArP0XgFPk4JiMzVvEwPCJtqdGQJEaEQQ0gcYi4a+dESOPpVR0ylXhntF96o07nT51lJVk6DcR4Z05RedbQN4inipPW2bUzV16SKBHCqMVcVs1MwOGsNw= 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=I253OkD9; arc=none smtp.client-ip=74.125.82.201 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="I253OkD9" Received: by mail-dy1-f201.google.com with SMTP id 5a478bee46e88-2c17e14e499so34836939eec.1 for ; Mon, 30 Mar 2026 10:19:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1774891168; x=1775495968; 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=I253OkD9h4bAvXnJpjMXX9LkRD1mqNRbPa1bXI8qrcysmCVX/sXLb925Ac3vAQN4T5 NHkqj7U3+4756zf8Ksn1Mh6vYeJDPkmwryKe3pEp69lTOhngkO2Lf2H60hUoZtohZpVO yAP77Ldi3XZjHBiY0+4A8DO8mrA4XGG+uEH4E3VSlVbodRSf2SnBabSmLoUj78n8t6/H 6cAMHSeZNj6tCtsmYUDDUZw+aOFGrpPq5T+TSLtK9nXlolz7yvd8J5RvGai00GY7l08r j5c6CBb0kvJ9Cs8gZOlxlXMxR8osFABwjfIwWqKoMtQul0Ed7Q87wB140T68isuPvHvs 4OAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774891168; x=1775495968; 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=DjVBVc2VG6J+A7j1tkjpFnnzm9nzMpZkCH5t2bUSzywWeFXJgDuMQOFuIofABvHF1W z1aYekxg18a2d0m6djKJHUrhS2OM+7yI0b3yLcCXrEKgSu9+LUlDr+YfUazXMao+8WfN /jrzCUBTNRmmvqVjpZJTI2VJbZv3d3G4rL7/T9U43XOqjRUSFwemOONA02a7lVH2g4k6 tQEYRPyMr/nojNOQjdwgGVR+a892eaFDYguFClHrXTPJzv7AcFMUyf15uMca/eG9fNSF WufMNA4d/K1/KA5yJPQ9BQUOYwwXAfsM4eyAd1zKzYhG4rELHBaLPKmQO0nvNCfVTM0o YF3g== X-Gm-Message-State: AOJu0YwRUvLl/b7R1eMIfxkQ8Up1RBKOGZiagf1z+vOy5BawgCEwfaPE Wmgo02DlcDFkyitbVtOQ96uF7Cq3CQLRx7AfkQ4ct+fZoiITYIMVtWcUJ1rM00I2HZfqAA== X-Received: from dycna11.prod.google.com ([2002:a05:7300:ea8b:b0:2c5:bc3b:f9c2]) (user=xur job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7300:bc0c:b0:2c6:31f0:a018 with SMTP id 5a478bee46e88-2c631f0b30dmr2722363eec.22.1774891167324; Mon, 30 Mar 2026 10:19:27 -0700 (PDT) Date: Mon, 30 Mar 2026 17:19:18 +0000 In-Reply-To: <20260330171920.2026779-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: <20260330171920.2026779-1-xur@google.com> X-Mailer: git-send-email 2.53.0.1018.g2bb0e51243-goog Message-ID: <20260330171920.2026779-3-xur@google.com> Subject: [PATCH v8 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