From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B1EDC88E53 for ; Tue, 15 Sep 2026 08:55:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Subject:References:In-Reply-To: Message-Id:Cc:To:From:Date:MIME-Version:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=c6k+bHiib82N87KHXjN2vDS7hsfGT8dz/hd35GNCNKs=; b=guI5Wc8d1yaFjVLa01WsmByyMx 87GRALGYrgvbyf3ruS6Jd5oRa9oaY8jN5S+duhR3oUibWUwDMWz5EWTWEBy4+i0jDsmXQzY4fYM2a wJhCzDipFiB1Y89ORfmQrfMrGxWwXg32KzaJvDQ21+BeMH1JNyjuXL+UzHN73FeZmikm5JEpAtsy2 6yyybAgCNdlOC+ZerHvf2Zy+DKnQqLb4J3K5ovZlNoOKK9rUk7iUTHGp/Rn1rp7D5Ry2Y+sNssSC7 roZLcfcxWBJD+PuR1f6NEfwl4JKRsJddpRMIgB69QevR1cTtL7ktWBk2Qw6/eaUbPNXNeNPbnLLOQ UinnUH9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6OwA-00000005hfC-2qSQ; Tue, 15 Sep 2026 08:54:46 +0000 Received: from flow-a6-smtp.messagingengine.com ([103.168.172.141]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1x6Ow6-00000005heF-2IBm; Tue, 15 Sep 2026 08:54:44 +0000 Received: from ams-compute-02.internal (ams-compute-02.internal [10.64.2.62]) by mailflow.phl.internal (Postfix) with ESMTP id 0CFA21380347; Tue, 15 Sep 2026 04:54:35 -0400 (EDT) Received: from ams-imap-03 ([10.64.2.23]) by ams-compute-02.internal (MEProxy); Tue, 15 Sep 2026 04:54:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1789462475; x=1789469675; bh=l+Dca6AU7f0s7A11m75QKiePhth6dKEUN646ZUyOcxw=; b= Xody1oJNWEMViAMOHPbGMbFFJWDXAlekhcwJV2SoNNjV3Itz044FXU72K/NOTqui dGNVaAbLlZulA5UBbJ7XisJ4/Tvb8vxRSHZgr1rg86rZaW2N6A20pRXX6CjuJFzZ qN4XhD+zqJj7G6GzdewHzc9Ub5bvOnhXRm5+AIgWAw6aKT926nad1Knuxbpc675A AzTOl0hJn/NZF15+dJYlH0kXOE9oaDD1dkmsAcj8fBTRb96rHKlGhQLyQSuMNDH/ 4VAddWv+NRh+YnPkx2GOowIODOGAueKi2AxYNKtoPrv0OBaFTazekFo9yS6tBLOp 1Q82whhHv8fjGkGI4JpxpA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1789462475; x= 1789469675; bh=l+Dca6AU7f0s7A11m75QKiePhth6dKEUN646ZUyOcxw=; b=F r6fJyQZ3B1K5YtWjMoTp/fRKQnkOGDNwUteDe4nSuymky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internal (Postfix, from userid 501) id 268F432A0081; Tue, 15 Sep 2026 04:54:22 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: AGrkui6Nx9zw Date: Tue, 15 Sep 2026 10:53:51 +0200 From: "Arnd Bergmann" To: "Linus Torvalds" , "Kees Cook" Cc: "Lorenzo Stoakes" , "Nathan Chancellor" , "Nicolas Schier" , "Nick Desaulniers" , "Bill Wendling" , "Justin Stitt" , "Masahiro Yamada" , "Alexey Gladkov" , "Thomas Gleixner" , "Ingo Molnar" , "Borislav Petkov" , "Dave Hansen" , x86@kernel.org, "H. Peter Anvin" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Alexandre Ghiti" , "Catalin Marinas" , "Will Deacon" , "Mark Rutland" , "Ard Biesheuvel" , "Ilias Apalodimas" , "Josh Poimboeuf" , "Peter Zijlstra" , "Miguel Ojeda" , "Boqun Feng" , "Gary Guo" , =?UTF-8?Q?Bj=C3=B6rn_Roy_Baron?= , "Benno Lossin" , "Andreas Hindborg" , "Alice Ryhl" , "Trevor Gross" , "Danilo Krummrich" , "Daniel Almeida" , "Tamir Duberstein" , "Alexandre Courbot" , =?UTF-8?Q?Onur_=C3=96zkan?= , "Jonathan Corbet" , "Randy Dunlap" , "Gustavo A. R. Silva" , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, linux-riscv@lists.infradead.org, Linux-Arch , linux-arm-kernel@lists.infradead.org, linux-efi@vger.kernel.org, rust-for-linux@vger.kernel.org, linux-doc@vger.kernel.org, "Jens Axboe" , linux-hardening@vger.kernel.org Message-Id: <7646eb0c-7c4a-4ec2-9562-66a74c4d9858@app.fastmail.com> In-Reply-To: References: <20260914-build-speedup-v2-0-39817ec5db23@kernel.org> <202609140833.88C0E16E50@keescook> Subject: Re: [PATCH v2 00/21] kbuild: significantly speed up kernel builds X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260915_015443_035680_79D6684C X-CRM114-Status: GOOD ( 11.88 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org On Mon, Sep 14, 2026, at 17:53, Linus Torvalds wrote: > On Mon, 14 Sept 2026 at 08:41, Kees Cook wrote: >> >> One area I think might solved via an LLM is the 3-pass kallsyms stuff. >> If we could get a deterministic kallsyms build in 1 pass, that would be >> very nice. A lot of people have tried, but it has eluded upstreaming. > > Even the three-pass one hasn't apparently always been entirely > deterministic. We've had random reports over the years of it failing > in some circumstances. This tends to break whenever a linker (rather than the compiler) starts creating a new type of symbols that show up in pass 2. > Maybe we've fixed it all, or maybe the failures just go imperceptibly > rare. Regardless, it has definitely been fragile. The rate seems to be once every few years, looking at the list of exceptions added to scripts/kallsyms.c (now scripts/mksysmap): efe6e3068067 ("kallsyms: fix nonconverging kallsyms table with lld") 516d980f8541 ("scripts/kallsyms: skip ppc compiler stub *.long_branch.* / *.plt_branch.*") b9b74be163a2 ("ARM: 8555/1: kallsyms: ignore ARM mode switching veneers") I'm sure there are other instances on architectures that get less build coverage. Arnd _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv