kumquat-buildroot/package/libzenoh-pico/Config.in
Thomas Petazzoni ead797bef7 package/libzenoh-pico: disable on or1k
The upstream libzenoh-pico code uses asm("nop"), which is completely
bogus, and actually breaks build on or1k as the instruction does not
exist.

In upstream commit
7d79a14add
they made the asm("nop") thing "configurable" with ZP_ASM_NOP, but
still that requires some special handling for or1k. The whole thing is
a complete mess, and upstream should have to use any of that. Rather
than stacking piles of bogus stuff on more bogus stuff, let's simply
disable this package for or1k for now.

Thanks a lot to Fabrice for all the investigation, and interaction
with upstream. See
https://patchwork.ozlabs.org/project/buildroot/patch/20240110215515.1263859-1-fontaine.fabrice@gmail.com/
for example.

Fixes:
 - http://autobuild.buildroot.org/results/fd0b2c666a1dc1537162d15b27743abd270243ed

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-02-05 14:22:21 +01:00

19 lines
617 B
Plaintext

config BR2_PACKAGE_LIBZENOH_PICO
bool "libzenoh-pico"
# upstream hardcodes using asm("nop"), which is bogus and
# doesn't work on or1k
depends on !BR2_or1k
depends on BR2_TOOLCHAIN_HAS_THREADS
help
zenoh-pico is the Eclipse zenoh implementation that targets
constrained devices and offers a native C API. It is fully
compatible with its main Rust Zenoh implementation,
providing a lightweight implementation of most
functionalities.
https://github.com/eclipse-zenoh/zenoh-pico
comment "libzenoh-pico needs a toolchain w/ threads"
depends on !BR2_or1k
depends on !BR2_TOOLCHAIN_HAS_THREADS