From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE2D5271471; Thu, 12 Mar 2026 11:46:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773315982; cv=none; b=PlrEwBP2ZZp7Fcyq8fbHClcye6SVjzKrfDChk5zol01f/3kithxDhdu7OEr7zw9/w6OgiiEg6I8EUshbHWfqnwYJRhagYlBeVFqAXU4h0mh8I6IbEuSKQ/KYOIpWosbYriVO3oKHaxMdDqgi/so77Uc1tGYTEMKtdU5dNrnbx1g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773315982; c=relaxed/simple; bh=jtK8dDtUft4/ENJDBV0ud3J6ohGSG6+qs6EFqSMBhvI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=W+jy3Xm7dpcpsD5mtxKBgaApX69YMMF8h5hApykXS5vdQD7oVZe3qoS3FT6RNGuAW9NHFyGtMBrvvasB8BLfeAAwwbbruQarb5b6s9V9i/KHafgwb0aXg0nuIADK4kru7WVGJXlw8weQpWHCmasmQntQdfllmenmXDyB0U0LMmU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PZXUUnyV; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PZXUUnyV" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AA820C4CEF7; Thu, 12 Mar 2026 11:46:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773315982; bh=jtK8dDtUft4/ENJDBV0ud3J6ohGSG6+qs6EFqSMBhvI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=PZXUUnyV3P/yfYnBvbNTdP9S9ELy+NCg5I4wCNuJDtVPC2GoQGzZzS7709Q/y/y1F Nn98lG0hCj8nFakpbrY0FpBwyz6Ri8f9IU6W2zDm/Z7cO8xuF6FCAvMw4VgVh6knj0 bPdwVH5fQPaa5/+LgQsbj5Fsq26PTJmV5IbGNuk8BuV4en6El2O7vUsZ5p2cthQq0W krc37S0WpO8hR1W8rakhvHFFR8IdWSUZ37/8FMfjdTdVN/jzvUduB8it0/klLcNvLl bN4mcQCT9/CdOwpTRDXfc9u0Qkwba6xXTchjwDh03jGo3jmsDK0xgVaAbW+r4A5OtP ddSg1vWEyXBQQ== Date: Thu, 12 Mar 2026 12:45:42 +0100 From: Nicolas Schier To: Nathan Chancellor Cc: xur@google.com, Masahiro Yamada , 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 , Teresa Johnson , linux-kernel@vger.kernel.org, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev Subject: Re: [PATCH v5 0/2] kbuild: distributed build support for Clang ThinLTO Message-ID: References: <20251028182822.3210436-1-xur@google.com> <20260312082502.GA790897@ax162> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260312082502.GA790897@ax162> On Thu, Mar 12, 2026 at 01:25:02AM -0700, Nathan Chancellor wrote: > Hi Nicolas, > > On Tue, Oct 28, 2025 at 06:28:20PM +0000, xur@google.com wrote: > > From: Rong Xu > > > > ChangeLog: > > > > V5: Handle single quote escaping in echo _c_flags to fix > > Piotr Gorski's reported error. > > > > V4: This is based on the reimplementation provided by Masahiro Yamada > > on May 26. The difference is that this version now saves the compiler > > flags (_c_flags) from the Front-End (FE) compilation and re-uses them > > for the subsequent Back-End (BE) compilation. > > > > Rong Xu (2): > > kbuild: move vmlinux.a build rule to scripts/Makefile.vmlinux_a > > kbuild: distributed build support for Clang ThinLTO > > > > .gitignore | 2 + > > Makefile | 25 +++++------- > > arch/Kconfig | 19 +++++++++ > > scripts/Makefile.lib | 7 ++++ > > scripts/Makefile.thinlto | 40 ++++++++++++++++++ > > scripts/Makefile.vmlinux_a | 83 ++++++++++++++++++++++++++++++++++++++ > > scripts/mod/modpost.c | 15 +++++-- > > 7 files changed, 174 insertions(+), 17 deletions(-) > > create mode 100644 scripts/Makefile.thinlto > > create mode 100644 scripts/Makefile.vmlinux_a > > I have been running this for a few months locally and I have not noticed > any problems with it (at least for the two distribution configurations I > regularly test). I think this looks good overall and seems fairly well > contained thanks to Masahiro's work on the earlier revisions. Could this > be picked up in kbuild-next-unstable so it can bake in -next for a > little bit? It should still be applicable. > > Reviewed-by: Nathan Chancellor > Tested-by: Nathan Chancellor Thanks! Sure, I will pick the series up. Kind regards, Nicolas