[Buildroot] [PATCH] package/libfuse3: requires THREAD_NPTL

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sat Apr 19 14:38:07 UTC 2025


On Wed, 16 Apr 2025 22:24:08 +0200
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

> With commit:
> https://github.com/libfuse/libfuse/commit/43ec53d6a16363184a95e59627c3f54d5568d8d1
> pthread_setname_np() has been used and it's part of NPTL, so let's add
> a dependency on BR2_TOOLCHAIN_HAS_THREADS_NPTL.
> 
> Fixes:
> https://autobuild.buildroot.org/results/71299a3db2660084ba362ff7c1b875bd0f71324a
> 
> Signed-off-by: Giulio Benetti <giulio.benetti at benettiengineering.com>

Thanks for the patch. However, it looks like you forgot to propagate to
reverse dependencies of libfuse3.

Another option is to add some meson.build check for
pthread_setname_np() and only use it when available. Indeed, using this
function is really to give a nice thread name, it isn't strictly
necessary.

Thanks!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com


More information about the buildroot mailing list