mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-26 03:50:44 -09:00
Upstream lists uClibc-ng support as a "nice-to-have, eventually", and
tracks the required build fixes as an enhancement:
https://bugs.passt.top/show_bug.cgi?id=5
passt relies on interfaces and definitions missing from uClibc,
resulting in build failures such as:
qrap.c:145:25: error: 'ARG_MAX' undeclared
tcp.c:2926:34: error: storage size of 'wnd' isn't known
tcp.c:3321:47: error: 'TCP_SEND_QUEUE' undeclared
Disable passt for uClibc toolchains and propagate the dependency to
Podman's passt backend.
Fixes:
- http://autobuild.buildroot.org/results/7e4/7e4434e01baece4d090e44b4b3713f2eeefc1e27/
- http://autobuild.buildroot.org/results/3f6/3f60889b4599f1bc42a69076f6fe469517ea9ab5/
Signed-off-by: Joseph Kogut <joseph@anodize.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 87e95b9877)
Signed-off-by: Raphaël Mélotte <raphael.melotte@mind.be>
27 lines
1012 B
Plaintext
27 lines
1012 B
Plaintext
config BR2_PACKAGE_PASST
|
|
bool "passt"
|
|
# lacks ARG_MAX, struct tcp_repair_window, TCP_SEND_QUEUE
|
|
depends on !BR2_TOOLCHAIN_USES_UCLIBC
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|
|
help
|
|
passt: Plug A Simple Socket Transport
|
|
pasta: Pack A Subtle Tap Abstraction
|
|
|
|
passt implements a translation layer between a Layer-2
|
|
network interface and native Layer-4 sockets (TCP, UDP,
|
|
ICMP/ICMPv6 echo) on a host. It doesn't require any
|
|
capabilities or privileges, and it can be used as a simple
|
|
replacement for Slirp.
|
|
|
|
pasta (same binary as passt, different command) offers
|
|
equivalent functionality, for network namespaces: traffic
|
|
is forwarded using a tap interface inside the namespace,
|
|
without the need to create further interfaces on the host,
|
|
hence not requiring any capabilities or privileges.
|
|
|
|
https://passt.top/passt/about/
|
|
|
|
comment "passt needs a glibc or musl toolchain w/ headers >= 5.9"
|
|
depends on BR2_TOOLCHAIN_USES_UCLIBC || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_9
|