[Buildroot] [git commit] package/distribution-registry: needs NPTL

Julien Olivain via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
commit: https://gitlab.com/buildroot.org/buildroot/-/commit/d21a81ef8c2969d46fd3c569936f056dfb7d1abd
branch: https://gitlab.com/buildroot.org/buildroot/-/tree/master

distribution-registry calls pthread_getattr_np() which is only available
with NPTL; i.e. always available with glibc (where it originates from,
since 2.2.3), always available with musl (which has had it since 0.9.10
in 2013), and only available when uClibc has NPTL (since 1.0.0 in 2015).

Fixes: https://autobuild.buildroot.org/results/9395500a8baee6c6142f96d7bc97e81725c2e754/

Signed-off-by: Yann E. MORIN <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
---
 package/distribution-registry/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/distribution-registry/Config.in b/package/distribution-registry/Config.in
index af650171b1..3db2a8d906 100644
--- a/package/distribution-registry/Config.in
+++ b/package/distribution-registry/Config.in
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_DISTRIBUTION_REGISTRY
 	bool "distribution-registry"
+	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL  # pthread_*_np()
 	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
 	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
 	help
_______________________________________________
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.