* [Buildroot] [PATCH] package/runc: enable uClibc support
@ 2026-08-16 13:14 Waldemar Brodkorb
2026-09-01 20:51 ` Thomas Petazzoni via buildroot
0 siblings, 1 reply; 2+ messages in thread
From: Waldemar Brodkorb @ 2026-08-16 13:14 UTC (permalink / raw)
To: buildroot; +Cc: Christian Stewart
fexecve was added to uClibc in 2019 in commit
858ffad217076227089cc17eb832db0bd1497792.
Runtime tested on a Raspberry PI4 (64 Bit).
System compiled with Bootlin Toolchain.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
package/runc/Config.in | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/package/runc/Config.in b/package/runc/Config.in
index 73eac72527..e4027fddaa 100644
--- a/package/runc/Config.in
+++ b/package/runc/Config.in
@@ -3,7 +3,6 @@ config BR2_PACKAGE_RUNC
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_USES_UCLIBC # no fexecve
select BR2_PACKAGE_HOST_GO
help
runC is a CLI tool for spawning and running containers
@@ -14,4 +13,4 @@ config BR2_PACKAGE_RUNC
comment "runc needs a glibc or musl toolchain w/ threads"
depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS && \
BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
- depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_TOOLCHAIN_USES_UCLIBC
+ depends on !BR2_TOOLCHAIN_HAS_THREADS
--
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] package/runc: enable uClibc support
2026-08-16 13:14 [Buildroot] [PATCH] package/runc: enable uClibc support Waldemar Brodkorb
@ 2026-09-01 20:51 ` Thomas Petazzoni via buildroot
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-01 20:51 UTC (permalink / raw)
To: Waldemar Brodkorb; +Cc: buildroot, Christian Stewart
Hello Waldemar,
Thanks for your patch!
On Sun, Aug 16, 2026 at 03:14:28PM +0200, Waldemar Brodkorb wrote:
> fexecve was added to uClibc in 2019 in commit
> 858ffad217076227089cc17eb832db0bd1497792.
>
> Runtime tested on a Raspberry PI4 (64 Bit).
> System compiled with Bootlin Toolchain.
>
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
> package/runc/Config.in | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/package/runc/Config.in b/package/runc/Config.in
> index 73eac72527..e4027fddaa 100644
> --- a/package/runc/Config.in
> +++ b/package/runc/Config.in
> @@ -3,7 +3,6 @@ config BR2_PACKAGE_RUNC
> 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_USES_UCLIBC # no fexecve
> select BR2_PACKAGE_HOST_GO
> help
> runC is a CLI tool for spawning and running containers
> @@ -14,4 +13,4 @@ config BR2_PACKAGE_RUNC
> comment "runc needs a glibc or musl toolchain w/ threads"
You need to update this comment, to drop "glibc or musl". I had done
that locally, because it was trivial.
But the less trivial thing that you need to do is look at the reverse
dependencies of runc:
package/containerd/Config.in: select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime dependency
package/podman/Config.in: select BR2_PACKAGE_RUNC if !BR2_PACKAGE_CRUN # runtime
containerd has:
depends on !BR2_TOOLCHAIN_USES_UCLIBC # runc
which is no longer correct since runc no longer depends on !uclibc. So
either this dependency can be dropped, or its comment needs to be
updated to explain why containerd still doesn't work with uclibc.
Regarding podman, it's even weirder because it doesn't have this
dependency.. But I guess that's OK because podman needs rust, and rust
is only available for glibc and musl configurations. That's why we
didn't see any issue there.
Still, the containerd case needs to be looked at. Can you check this?
Thanks!
Thomas
--
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-09-01 20:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-16 13:14 [Buildroot] [PATCH] package/runc: enable uClibc support Waldemar Brodkorb
2026-09-01 20:51 ` Thomas Petazzoni via buildroot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.