2015-12-13 19:47:48 +01:00
|
|
|
config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
|
|
|
|
default y
|
|
|
|
|
2012-01-31 20:40:00 +01:00
|
|
|
config BR2_PACKAGE_LIBURCU
|
|
|
|
bool "liburcu"
|
2015-12-13 19:47:48 +01:00
|
|
|
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
2014-03-08 15:38:31 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
|
2012-12-17 02:32:02 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2012-01-31 20:40:00 +01:00
|
|
|
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.
|
|
|
|
|
2014-03-08 15:38:31 +01:00
|
|
|
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
|
|
|
|
|
2012-01-31 20:40:00 +01:00
|
|
|
http://lttng.org/urcu
|
2012-12-17 02:32:02 +01:00
|
|
|
|
2013-10-13 16:55:32 +02:00
|
|
|
comment "liburcu needs a toolchain w/ threads"
|
2015-12-13 19:47:48 +01:00
|
|
|
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
2014-03-08 15:38:31 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
|
2012-12-17 02:32:02 +01:00
|
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
2014-03-08 15:38:31 +01:00
|
|
|
|
|
|
|
comment "liburcu needs a toolchain not affected by GCC bug 58854"
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_58854
|