From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796092519; b=KTKZiB9vagWDzKrZ8TMWcnQ0xTijD129MrZUjKAirgFHPu//99/80iOeagCaS1h04UaW dkwDamv4bli1VALW50HK+1uJmgMdVkFCDBlgRE8tVNHiLRNJmoEA/jRi0Iz/eXkEXw6kQ BAIsij/Ox/LjA2WTjejWQU/cwkN61D81nQYO4BnBCvG20GQ6T3BkRK1f41RLNl15T0h7B EKjHEuDPL982+OmxTk5nBrJqoTLlhMW+Bx8aoLkehslZ7L4iY7m1S8qcv4eJMkElHKhPS WhzNw1v6NmTELBgjgxCcsygc1T78o9ifLy1ZaE6vJE4PWW6K5DSaAA4wtUS9Hp5ogTw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796092519; h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=c/l43hyJkSXoSR/HRf2bLQxDk3Ql7brQnuoSy6R5C/A=; b=gGUUqOezark8dVUByrngBGTwGLJsEymyz/xT6776Eejff6iIW2r+KxgGUF0YF4Pjnxik OPn+3r8I/OGTJwU8CBZECVU+IINI9gqx2M3BIpvR8oH4A1M/Knv9DiESOcM6E545eKEhZ udoHp0zdk5N5dj10h+vplbS9fXuCVi8CJx7KlEXNGuP7B68KXDuPn7igokgmSg5NgM7Pw zlSNtXEY2So89AhS+rTAC0J5VmHBOY33XiAqtgJyDEl4Rfbfj44De5RfyncbQY6443fkY syGsTtaEPpEH48igUz3F4LcF6gZaCtfstFYjdVNwngUdCzGH4SBZTHWBq6egM2REtVg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=INKhxlgD; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D487A606A31A; Tue, 1 Dec 2026 02:35:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=INKhxlgD Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67C951F00893; Tue, 1 Dec 2026 02:35:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796092519; bh=c/l43hyJkSXoSR/HRf2bLQxDk3Ql7brQnuoSy6R5C/A=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=INKhxlgDBUH/D5XJowZjCiirDMKSk4GULtxhbA87kPVuR6/Hir5dJKQ74eaUmxXh/ rBNHli5YRiZRuVXfv8RQTBpvZjSnbIY0J/KpqWu4ACTIBzlbXk6GQhFFNfGrkJKrQG QICuaFhlK1Zh/ffnOGLO/IIXoyDkDO9gdTMVzNJ8oKKFh9hfkou+r4XBqIPiK9ftJt rKkoXmIn+Ep0Ni3lQYcq/2P0jLyqGqvnXUpVj+uo0W6q5FsLqwY4epIyZdnYdNbJzE O6kcHm5SQVKAppwKkPGG98uLJ0mj1dn3iPuRI5eMAlzHDjuhPpeepYIJ2VUb20BdNj c9W1eGtHhRkJA== Date: Mon, 30 Nov 2026 19:35:12 -0700 From: Nathan Chancellor To: Sasha Levin Cc: Nicolas Schier , linux-kbuild@vger.kernel.org, Shuah Khan , linux-kselftest@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Namhyung Kim , Mark Rutland , Alexander Shishkin , Jiri Olsa , Ian Rogers , Adrian Hunter , James Clark , linux-perf-users@vger.kernel.org, Thomas =?iso-8859-1?Q?Wei=DFschuh?= , Andrew Morton , Thorsten Leemhuis , linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 0/7] kbuild: build the userspace tools in tools/ with the kernel Message-ID: <20261201023512.GA2264386@ax162> References: <20261112195427.3411746-1-sashal@kernel.org> <20261116182426.3440056-1-sashal@kernel.org> <20261116193513.GA1037705@ax162> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261116193513.GA1037705@ax162> Hi Sasha, On Mon, Nov 16, 2026 at 12:35:13PM -0700, Nathan Chancellor wrote: > On Mon, Nov 16, 2026 at 01:24:26PM -0500, Sasha Levin wrote: > > Will you be picking this up through the kbuild tree? > > > > 3/7 has acks from Arnaldo and Namhyung, 4/7 from Namhyung, and Shuah and > > Thomas reviewed 5/7 and 1/7. What's left without a review is the kbuild > > side: 2/7, 6/7 and 7/7. > > > > If you'd rather see it go in some other way, or want something done > > differently, let me know. > > I intend to take a look at this either this week or next. I assume we > will want to take this via the Kbuild if/when we are happy with the > implementation but I cannot make any guarantee. I totally empathize with > the reasons for wanting this listed in the commit message but it is a > big commitment on both Kbuild's part and other maintainers to integrate > tools/ into the build in this manner. I took this for a spin on next-20261130 on an arm64 test box. Everything built successfully, although I did have some warnings with clang-23 (I think you have sent patches for some of them but I didn't check too closely). Some initial observations from this session: 1. Some of the tests do not respect '-s', resulting in a decent amount of additional output for allmodconfig (see recording below). 2. I see some issues with warnings being garbled, maybe from too much parallel building? https://asciinema.org/a/QZ80lob7lWhvoEvp 3. I worry about warnings coming from the tools build not being as easy to investigate because the warning does not always have the absolute or srctree relative file name, requiring an additional command to search the tree for the file in tools before being able to fix it. It is just unfortunate ergonomics. I'll try to take a closer look at the implementation soon. -- Cheers, Nathan