* [Buildroot] [PATCH 1/1] package/nqptp: needs threads
@ 2026-01-06 19:20 Bernd Kuhls
2026-01-07 14:09 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-01-06 19:20 UTC (permalink / raw)
To: buildroot; +Cc: Trammell Hudson
Fixes:
https://autobuild.buildroot.net/results/5b5/5b5eac85ca0221596ee12ea5e23acde46c6b7edb/
checking for pthread_create in -lpthread... no
configure: error: pthread library needed
NPTL support is not needed, this defconfig builds:
BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y
BR2_PTHREADS=y
BR2_GCC_VERSION_15_X=y
BR2_PACKAGE_NQPTP=y
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/nqptp/Config.in | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/package/nqptp/Config.in b/package/nqptp/Config.in
index ec5d2ece2e..62742e81fb 100644
--- a/package/nqptp/Config.in
+++ b/package/nqptp/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_NQPTP
bool "nqptp"
depends on BR2_USE_MMU
+ depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBCONFIG
help
nqptp is a daemon that monitors timing data from PTP clocks
@@ -11,3 +12,7 @@ config BR2_PACKAGE_NQPTP
timing information for AirPlay 2 operation.
https://github.com/mikebrady/nqptp
+
+comment "nqptp needs a toolchain w/ threads"
+ depends on BR2_USE_MMU
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/nqptp: needs threads
2026-01-06 19:20 [Buildroot] [PATCH 1/1] package/nqptp: needs threads Bernd Kuhls
@ 2026-01-07 14:09 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-01-07 14:09 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Trammell Hudson
On Tue, 6 Jan 2026 20:20:06 +0100
Bernd Kuhls <bernd@kuhls.net> wrote:
> Fixes:
> https://autobuild.buildroot.net/results/5b5/5b5eac85ca0221596ee12ea5e23acde46c6b7edb/
>
> checking for pthread_create in -lpthread... no
> configure: error: pthread library needed
>
> NPTL support is not needed, this defconfig builds:
>
> BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y
> BR2_PTHREADS=y
> BR2_GCC_VERSION_15_X=y
> BR2_PACKAGE_NQPTP=y
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
> package/nqptp/Config.in | 5 +++++
> 1 file changed, 5 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-01-07 14:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-06 19:20 [Buildroot] [PATCH 1/1] package/nqptp: needs threads Bernd Kuhls
2026-01-07 14:09 ` Thomas Petazzoni via buildroot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox