Re: [Buildroot] [PATCH 1/1] package/pahole: fix build on modern toolchains

Julien Olivain via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
On 14/07/2026 16:46, Florian Larysch wrote:
> When building pahole using a modern GCC (e.g. when building
> host-pahole), discarded-qualifiers and unused-but-set-variable warnings
> are produced. In builds that don't set CMAKE_BUILD_TYPE=Release, 
> -Werror
> gets set and causes a build failure.
> 
> Fix this by backporting an unreleased upstream patch (for
> discarded-qualifiers) and adding another pending one for
> unused-but-set-variable (and, arguably, a correctness issue).
> 
> Fixes: 
> https://autobuild.buildroot.org/results/ba7/ba79fb9d08b2c6ec573b79fdbb6b4880bf603a57
> 
> Signed-off-by: Florian Larysch <[email protected]>

Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.