kumquat-buildroot/package/liburcu/Config.in
Baruch Siach 7a25ecc3c9 liburcu: needs MMU
The test_urcu_fork.c test calls fork(). Upstream provides no easy way to
disable tests build.

Fixes:
http://autobuild.buildroot.net/results/9eb/9eb182ab2d0b396eeff3d637a040da5a4d5bdcd7/
http://autobuild.buildroot.net/results/47a/47aabc219a2fd50105881b1e2715f7eeb1a6a588/
http://autobuild.buildroot.net/results/566/56631605f76b8623c9674f25c529ac67d0de12a8/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-19 17:57:18 +02:00

28 lines
926 B
Plaintext

config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
bool
depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
depends on BR2_USE_MMU # fork() in test
default y
config BR2_PACKAGE_LIBURCU
bool "liburcu"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
help
Userspace implementation of the Read-Copy-Update (RCU)
synchronization mechanism. This library is mainly used by
the LTTng tracing infrastructure, but can be used for other
purposes as well.
On ARM, because of bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
liburcu cannot be built using gcc 4.8.0, 4.8.1 or 4.8.2 without the
following bug fix:
http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=204665
http://lttng.org/urcu
comment "liburcu needs a toolchain w/ threads"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS