blob: e7cbe937425b19fc1bb0df5b7da1a3acdc12384c [file] [log] [blame]
Thomas Petazzoni971e0b02012-01-31 20:40:00 +01001config BR2_PACKAGE_LIBURCU
2 bool "liburcu"
Thomas Petazzoni832b1ef2012-03-20 09:17:46 +01003 depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
Samuel Martina1a86eb2014-03-08 15:38:31 +01004 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
Maxime Riparda425c2a2012-12-17 01:32:02 +00005 depends on BR2_TOOLCHAIN_HAS_THREADS
Thomas Petazzoni971e0b02012-01-31 20:40:00 +01006 help
7 Userspace implementation of the Read-Copy-Update (RCU)
8 synchronization mechanism. This library is mainly used by
9 the LTTng tracing infrastructure, but can be used for other
10 purposes as well.
11
Samuel Martina1a86eb2014-03-08 15:38:31 +010012 On ARM, because of bug:
13 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
14 liburcu cannot be built using gcc 4.8.0, 4.8.1 or 4.8.2 without the
15 following bug fix:
16 http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=204665
17
Thomas Petazzoni971e0b02012-01-31 20:40:00 +010018 http://lttng.org/urcu
Maxime Riparda425c2a2012-12-17 01:32:02 +000019
Thomas De Schampheleire66bb10b2013-10-13 16:55:32 +020020comment "liburcu needs a toolchain w/ threads"
Thomas De Schampheleirebe084202013-11-07 09:24:37 +010021 depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
Samuel Martina1a86eb2014-03-08 15:38:31 +010022 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
Maxime Riparda425c2a2012-12-17 01:32:02 +000023 depends on !BR2_TOOLCHAIN_HAS_THREADS
Samuel Martina1a86eb2014-03-08 15:38:31 +010024
25comment "liburcu needs a toolchain not affected by GCC bug 58854"
26 depends on BR2_TOOLCHAIN_HAS_GCC_BUG_58854