package/crucible: needs NPTL
PATCH 1/1 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 <[email protected]>
--- package/crucible/Config.in | 4 ++++ 1 file changed, 4 insertions(+)
package/crucible/Config.in +4 -0
@@ -1,9 +1,13 @@ 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_TOOLCHAIN_HAS_THREADS_NPTL
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot