Skip to contentSkip to conversation

package/nqptp: needs threads

PATCH Applied Bernd Kuhls 2 participants 2 messages Jan 6 – Jan 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/nqptp: needs threads

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

---
 package/nqptp/Config.in | 5 +++++
 1 file changed, 5 insertions(+)
package/nqptp/Config.in +5 -0
index ec5d2ece2e..62742e81fb 100644
@@ -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
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 13 lines · On Tue, 6 Jan 2026 20:20:06 +0100 Bernd Kuhls <[email protected]> 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

Quoted 4 lines
---
 package/nqptp/Config.in | 5 +++++
 1 file changed, 5 insertions(+)

Applied to master, thanks.

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot