Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Florian Larysch <fl@n621.de>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 1/1] linux: fix pahole discovery when BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE
Date: Sat, 3 Oct 2026 18:31:03 +0200	[thread overview]
Message-ID: <asEtw61UbLFXZVLm@windsurf> (raw)
In-Reply-To: <20260918123409.22775-1-fl@n621.de>

On Fri, Sep 18, 2026 at 02:33:37PM +0200, Florian Larysch wrote:
> Around Linux 5.11, upstream started introducing checks that execute
> "pahole --version" for feature discovery (e.g. [1]).
> 
> However, when building with BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE Buildroot
> only lists host-pahole in LINUX_DEPENDENCIES, so it isn't available for
> the configure step when using BR2_PER_PACKAGE_DIRECTORIES. This results
> in the host pahole being used (resulting in host-dependent behavior), or
> no pahole being detected at all when the build host doesn't have it
> (which will then disable Kconfig options that require it).
> 
> Fix this by adding host-pahole to LINUX_KCONFIG_DEPENDENCIES.
> 
> A similar issue occurs when running "make linux-menuconfig" and friends
> because PATH deliberately gets stripped when pkg-kconfig.mk builds
> x_CONFIGURATOR_MAKE_ENV. Explicitly pass the pahole path to fix this.
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=5f9ae91f7c0dbbc4195e2a6c8eedcaeb5b9e4cbb
> 
> Signed-off-by: Florian Larysch <fl@n621.de>

Applied to master, thanks!

Best regards,

Thomas Petazzoni
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-10-03 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-18 12:33 [Buildroot] [PATCH 1/1] linux: fix pahole discovery when BR2_LINUX_KERNEL_NEEDS_HOST_PAHOLE Florian Larysch
2026-10-03 16:31 ` Thomas Petazzoni via buildroot [this message]
2026-10-10  9:23 ` Thomas Perale via buildroot

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=asEtw61UbLFXZVLm@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fl@n621.de \
    --cc=thomas.petazzoni@bootlin.com \
    /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