From 1eeed7e97867feaffff38bfac501eb3f5624e411 Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 31 May 2026 08:18:40 +0200 Subject: [PATCH] package/crucible: needs NPTL gcc_stack_unix.c: In function 'x_cgo_getstackbound': gcc_stack_unix.c:28:9: error: implicit declaration of function 'pthread_getattr_np'; did you mean 'pthread_attr_init'? [-Wimplicit-function-declaration] 28 | pthread_getattr_np(pthread_self(), &attr); // GNU extension Fixes: https://autobuild.buildroot.net/results/e07/e07198d7864331027d21cd2109054d86e7ac1c3d/ The build error also occured in Oct 2024 so a backport to buildroot LTS branches should be considered: https://autobuild.buildroot.net/results/ebb/ebbd051010c27f97fafc0b203b22c8b0af7e5ccd/ Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- package/crucible/Config.in | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package/crucible/Config.in b/package/crucible/Config.in index 1e1b29c3df..f52f871d0b 100644 --- a/package/crucible/Config.in +++ b/package/crucible/Config.in @@ -1,9 +1,14 @@ config BR2_PACKAGE_CRUCIBLE bool "crucible" depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_getattr_np() select BR2_PACKAGE_HOST_GO help Crucible is a One-Time-Programmable (OTP) fusing tool for the i.MX family. https://github.com/usbarmory/crucible + +comment "crucible needs a toolchain w/ NPTL" + depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS + depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL