[Buildroot] [PATCH 2/2] liburcu: needs MMU

Baruch Siach baruch at tkos.co.il
Wed Oct 19 09:00:34 UTC 2016


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 at tkos.co.il>
---
 package/liburcu/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
index 49510da4956c..915b17ab9d6d 100644
--- a/package/liburcu/Config.in
+++ b/package/liburcu/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
 config BR2_PACKAGE_LIBURCU
 	bool "liburcu"
 	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
+	depends on BR2_USE_MMU # fork() in test
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Userspace implementation of the Read-Copy-Update (RCU)
@@ -23,4 +24,5 @@ config BR2_PACKAGE_LIBURCU
 
 comment "liburcu needs a toolchain w/ threads"
 	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
+	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
-- 
2.9.3




More information about the buildroot mailing list