* [Buildroot] [PATCH 1/1] package/docker-cli: needs NPTL
@ 2026-10-25 10:33 Bernd Kuhls
2026-10-25 20:23 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2026-10-25 10:33 UTC (permalink / raw)
To: buildroot; +Cc: Adam Duskett, Christian Stewart
pthread_unix.c: In function 'x_cgo_getstackbound':
pthread_unix.c:96:9: error: implicit declaration of function
'pthread_getattr_np'; did you mean 'pthread_attr_init'?
[-Werror=implicit-function-declaration]
Fixes:
https://autobuild.buildroot.net/results/756/756ceb50b78218ac6085e0143d9f358f97d9568d/
The build error occured already in 2023:
https://autobuild.buildroot.net/results/c0b/c0ba9647824dd2dc811c31e7b999167f04d0be49/
A backport to LTS branches should be considered.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/docker-cli-buildx/Config.in | 6 +++---
package/docker-cli/Config.in | 6 +++---
package/mender-update-modules/Config.in | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/package/docker-cli-buildx/Config.in b/package/docker-cli-buildx/Config.in
index 486f1196c3..d1f9bc2804 100644
--- a/package/docker-cli-buildx/Config.in
+++ b/package/docker-cli-buildx/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_DOCKER_CLI_BUILDX
bool "docker-cli-buildx"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
- depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # docker-cli
select BR2_PACKAGE_DOCKER_CLI
help
buildx is a Docker CLI plugin for extended build
@@ -10,7 +10,7 @@ config BR2_PACKAGE_DOCKER_CLI_BUILDX
https://github.com/docker/buildx
-comment "docker-cli-buildx needs a toolchain w/ threads"
+comment "docker-cli-buildx needs a toolchain w/ NPTL"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
diff --git a/package/docker-cli/Config.in b/package/docker-cli/Config.in
index 52e7f7c871..2befb87578 100644
--- a/package/docker-cli/Config.in
+++ b/package/docker-cli/Config.in
@@ -2,7 +2,7 @@ config BR2_PACKAGE_DOCKER_CLI
bool "docker-cli"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
- depends on BR2_TOOLCHAIN_HAS_THREADS
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
select BR2_PACKAGE_HOST_GO
help
Docker is a platform to build, ship,
@@ -20,7 +20,7 @@ config BR2_PACKAGE_DOCKER_CLI_STATIC
endif
-comment "docker-cli needs a toolchain w/ threads"
+comment "docker-cli needs a toolchain w/ NPTL"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL
diff --git a/package/mender-update-modules/Config.in b/package/mender-update-modules/Config.in
index 1fd7384f59..7c5a7e4442 100644
--- a/package/mender-update-modules/Config.in
+++ b/package/mender-update-modules/Config.in
@@ -76,7 +76,7 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_DOCKER
bool "docker"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS # docker-engine, docker-cli
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS # docker-engine, docker-cli
- depends on BR2_TOOLCHAIN_HAS_THREADS # docker-engine, docker-cli
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # docker-cli
depends on !BR2_TOOLCHAIN_USES_UCLIBC # containerd -> runc
depends on BR2_USE_MMU # containerd
depends on !BR2_PACKAGE_CGROUPFS_MOUNT # docker-engine
@@ -98,11 +98,11 @@ config BR2_PACKAGE_MENDER_UPDATE_MODULES_DOCKER
https://github.com/mendersoftware/mender-update-modules/tree/master/docker
-comment "docker support needs a glibc or musl toolchain w/ threads, headers >= 5.2"
+comment "docker support needs a glibc or musl toolchain w/ NPTL, headers >= 5.2"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS || \
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
BR2_TOOLCHAIN_USES_UCLIBC || \
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_2
depends on BR2_USE_MMU
--
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/docker-cli: needs NPTL
2026-10-25 10:33 [Buildroot] [PATCH 1/1] package/docker-cli: needs NPTL Bernd Kuhls
@ 2026-10-25 20:23 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-25 20:23 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: buildroot, Adam Duskett, Christian Stewart
On Sun, Oct 25, 2026 at 11:33:54AM +0100, Bernd Kuhls wrote:
> pthread_unix.c: In function 'x_cgo_getstackbound':
> pthread_unix.c:96:9: error: implicit declaration of function
> 'pthread_getattr_np'; did you mean 'pthread_attr_init'?
> [-Werror=implicit-function-declaration]
>
> Fixes:
> https://autobuild.buildroot.net/results/756/756ceb50b78218ac6085e0143d9f358f97d9568d/
>
> The build error occured already in 2023:
> https://autobuild.buildroot.net/results/c0b/c0ba9647824dd2dc811c31e7b999167f04d0be49/
> A backport to LTS branches should be considered.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks!
Best regards,
Thomas Petazzoni
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
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-10-25 20:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-25 10:33 [Buildroot] [PATCH 1/1] package/docker-cli: needs NPTL Bernd Kuhls
2026-10-25 20:23 ` 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