The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Nathan Chancellor <nathan@kernel.org>
To: Sasha Levin <sashal@kernel.org>
Cc: "Nicolas Schier" <nsc@kernel.org>,
	linux-kbuild@vger.kernel.org, "Shuah Khan" <shuah@kernel.org>,
	linux-kselftest@vger.kernel.org,
	"Peter Zijlstra" <peterz@infradead.org>,
	"Ingo Molnar" <mingo@redhat.com>,
	"Arnaldo Carvalho de Melo" <acme@kernel.org>,
	"Namhyung Kim" <namhyung@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Alexander Shishkin" <alexander.shishkin@linux.intel.com>,
	"Jiri Olsa" <jolsa@kernel.org>, "Ian Rogers" <irogers@google.com>,
	"Adrian Hunter" <adrian.hunter@intel.com>,
	"James Clark" <james.clark@linaro.org>,
	linux-perf-users@vger.kernel.org,
	"Thomas Weißschuh" <linux@weissschuh.net>,
	"Andrew Morton" <akpm@linux-foundation.org>,
	"Thorsten Leemhuis" <linux@leemhuis.info>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH v4 0/7] kbuild: build the userspace tools in tools/ with the kernel
Date: Mon, 30 Nov 2026 19:35:12 -0700	[thread overview]
Message-ID: <20261201023512.GA2264386@ax162> (raw)
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

      reply	other threads:[~2026-12-01  2:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-12 19:54 [PATCH v4 0/7] kbuild: build the userspace tools in tools/ with the kernel Sasha Levin
2026-11-12 19:54 ` [PATCH v4 1/7] kbuild: factor the userspace ABI flags out into KBUILD_USERABI Sasha Levin
2026-11-12 19:54 ` [PATCH v4 2/7] kbuild: add "make tools_build" to build userspace tools from tools/ Sasha Levin
2026-11-12 19:54 ` [PATCH v4 3/7] perf build: Add MINIMAL=1 to build without optional features Sasha Levin
2026-11-12 19:54 ` [PATCH v4 4/7] tools: build perf in tools_build Sasha Levin
2026-11-12 19:54 ` [PATCH v4 5/7] tools: build kernel selftests " Sasha Levin
2026-11-12 19:54 ` [PATCH v4 6/7] kbuild: build the tools selected in tools/Kconfig as part of "make all" Sasha Levin
2026-11-12 19:54 ` [PATCH v4 7/7] Documentation: describe building tools with the kernel Sasha Levin
2026-11-12 20:23 ` [PATCH v4 0/7] kbuild: build the userspace tools in tools/ " Andrew Morton
2026-11-13  1:52   ` Sasha Levin
2026-11-20 20:53   ` Nicolas Schier
2026-11-23 18:19     ` Sasha Levin
2026-11-16 18:24 ` Sasha Levin
2026-11-16 19:35   ` Nathan Chancellor
2026-12-01  2:35     ` Nathan Chancellor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201023512.GA2264386@ax162 \
    --to=nathan@kernel.org \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=alexander.shishkin@linux.intel.com \
    --cc=irogers@google.com \
    --cc=james.clark@linaro.org \
    --cc=jolsa@kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux@leemhuis.info \
    --cc=linux@weissschuh.net \
    --cc=mark.rutland@arm.com \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=nsc@kernel.org \
    --cc=peterz@infradead.org \
    --cc=sashal@kernel.org \
    --cc=shuah@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox