From mboxrd@z Thu Jan 1 00:00:00 1970 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 CAD113F1651 for ; Fri, 29 May 2026 18:53:52 +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=1780080836; cv=none; b=ABjMWL3hifrKhfTJn/K3mSsimdhI7vAtZc0zsn5OshoOtd+i7rQ3HodsTZ6ei2CjnNvTx9YY6Ffzp7anErWzDZA2H7yLHC1MpYBOz9tfqNylysELpocQYMQY+iKyM8F94SZT63/X1IrZjg9Iqr++jQ2QyoFegzUQfj06WcBM7Rc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780080836; c=relaxed/simple; bh=s7bt/YWGN9UF4BwynJHskbfVkLN9m3OOGrUY7+PeC50=; h=Date:In-Reply-To:Mime-Version:References:Message-ID:Subject:From: To:Cc:Content-Type; b=UHq9MPuxx/DlyRvZDhwB5nm5UrSLxDmGuG/SIoOWqdi3u3P9prcl40zTyaLedZN7b2bS59pQCmldRKAsAROsot3BKfWj+q4t6SsvMg937ra12rngrk+casWg+NwpsB3HfRthrlu0L2Bi5NrmycXavfQa6o+4EGyRrSecJWnzjPE= 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=fuGSjKYj; 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="fuGSjKYj" Received: by mail-dy1-f201.google.com with SMTP id 5a478bee46e88-304d8e9563eso553921eec.0 for ; Fri, 29 May 2026 11:53:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20251104; t=1780080832; x=1780685632; 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=0JV5t//kdKJl6/uVoDLYHDKpOZGmoUYcNXdk8MLbmZA=; b=fuGSjKYjpStzD/MiX39EYg4T+iPs+EDWiaMck/A4AMDEEAB5ob+ZRgRMi43ian8Lgk VcKt8a3lmzDvAgh4C8Q5v+gcOVtWsugqerU3KVJctcWMU8yHvibb0FurLaagv+OIOTRg BLZvIUTtPVHT2hgeWcZnTBDVUX6LT7d1hSb9wdUhXLldqnUkmq6NncydeGVJpkcDPw9f nQYn4LkEuWAKerc9iVlH07L3OThU2bhqpUK2xDkhUd7V6AYqAHjtpyeEeNUdETOzVR2g vvRi61kS3Ei9kIKxqLBX52AZOP54a3kXcQiFri/TPTdGvWBbi7b7R6iv5Sg9H8Gh8dDX tNmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780080832; x=1780685632; 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=0JV5t//kdKJl6/uVoDLYHDKpOZGmoUYcNXdk8MLbmZA=; b=VWk9lmdRCYum8wRE4MFq/WRgSVqCE0flikJfwdxaa1ZnB4yjCpEhM4rt9aeNzNO+kg ZXG4BK1czJq4kyPJ9jmPixsJ+O1McLn4ywNjGInrbVq0xVuFLKZzulW1R1GlTbokkV1l NOmsKYs73kYFtceASaVAcL1+kpvPhIhxkwLda797qyhJdxli2QmUf6nw3BgJ7WXIZmnu Q/4h6EeijDVMCMqnKs2Y+hc5vzHEC0REOxkgpszf453D4OZx+96gzzdoln0AKCZJJ87a bA/P6jMDO7LtKW2/TTgYkkOcCdSUosbs8fgIjqh4Tc+VXX+aTnZO3BTnAelfiJL/FxnX +gJA== X-Gm-Message-State: AOJu0YyCnUQFNX0W7rNLdeSw1JK2KSq1U42pZOUF/8wqAzGvaGD/LAv3 j2HDCXHQYXvNb+fwRqwWqgtOQMV1Oq2Hb9/QJ0uuv70ZwrpZ3MJLFg7PKGfiSK62N3ApWA== X-Received: from dycme17.prod.google.com ([2002:a05:693c:2411:b0:303:9118:b1ef]) (user=xur job=prod-delivery.src-stubby-dispatcher) by 2002:a05:7300:214c:b0:2c5:ed1b:ca9 with SMTP id 5a478bee46e88-304fa4a9576mr574362eec.1.1780080831505; Fri, 29 May 2026 11:53:51 -0700 (PDT) Date: Fri, 29 May 2026 11:53:45 -0700 In-Reply-To: <20260529185347.2418373-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: <20260529185347.2418373-1-xur@google.com> X-Mailer: git-send-email 2.54.0.823.g6e5bcc1fc9-goog Message-ID: <20260529185347.2418373-3-xur@google.com> Subject: [PATCH v12 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-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-572c1ecae82d@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 # --------------------------------------------------------------------------- -# '$(AR) mPi' needs --thin to workaround the bug of llvm-ar <= 14 +# '$(AR) mPi' needs 'T' to workaround the bug of llvm-ar <= 14 quiet_cmd_ar_builtin_fixup = AR $@ cmd_ar_builtin_fixup = \ 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 $(srctree)/scripts/head-object-list.txt) targets += built-in-fixup.a built-in-fixup.a: $(KBUILD_VMLINUX_OBJS) scripts/head-object-list.txt FORCE -- 2.54.0.823.g6e5bcc1fc9-goog