f50bd3c0b8
This new hidden symbol will allow simplifying the architecture dependencies on package that depends on liburcu. These packages will be updated in follow-up patches. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
|
bool
|
|
depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
|
|
default y
|
|
|
|
config BR2_PACKAGE_LIBURCU
|
|
bool "liburcu"
|
|
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
|
|
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
|
|
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_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
comment "liburcu needs a toolchain not affected by GCC bug 58854"
|
|
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_58854
|