update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
From 54d8fe7ae40902d6d38e670f4024092f53c14e1f Mon Sep 17 00:00:00 2001
|
||||
From: Samuel Martin <s.martin49@gmail.com>
|
||||
Date: Sat, 8 Mar 2014 13:19:14 +0100
|
||||
Subject: [PATCH] Only blacklist ARM gcc 4.8.0 and 4.8.1
|
||||
|
||||
Since many ARM toolchain providers include the bug fix for PR58854 in
|
||||
their latest releases based on gcc-4.8.2, then only blacklist gcc 4.8.0
|
||||
and 4.8.1.
|
||||
|
||||
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
|
||||
---
|
||||
urcu/compiler.h | 9 ++++++++-
|
||||
1 file changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/urcu/compiler.h b/urcu/compiler.h
|
||||
index 1e30903..56115f1 100644
|
||||
--- a/urcu/compiler.h
|
||||
+++ b/urcu/compiler.h
|
||||
@@ -118,10 +118,17 @@
|
||||
+ __GNUC_PATCHLEVEL__)
|
||||
|
||||
/*
|
||||
+ * Official gcc releases from 4.8.0 to 4.8.2 have the following bug,
|
||||
+ * however, many arm toolchain providers have the included the fix for
|
||||
+ * their latest 4.8.2 releases.
|
||||
+ * So, we only blacklist gcc 4.8.0 and 4.8.1.
|
||||
+ * Unfortunately, this bug is not easy to test, so we rely on the
|
||||
+ * knowledge of the user on its compiler.
|
||||
+ *
|
||||
* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58854
|
||||
*/
|
||||
# ifdef __ARMEL__
|
||||
-# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40802
|
||||
+# if URCU_GCC_VERSION >= 40800 && URCU_GCC_VERSION <= 40801
|
||||
# error Your gcc version produces clobbered frame accesses
|
||||
# endif
|
||||
# endif
|
||||
--
|
||||
1.9.0
|
||||
|
||||
27
bsp/buildroot-2017.02.11/package/liburcu/Config.in
Normal file
27
bsp/buildroot-2017.02.11/package/liburcu/Config.in
Normal file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
4
bsp/buildroot-2017.02.11/package/liburcu/liburcu.hash
Normal file
4
bsp/buildroot-2017.02.11/package/liburcu/liburcu.hash
Normal file
@@ -0,0 +1,4 @@
|
||||
# http://www.lttng.org/files/urcu/userspace-rcu-0.9.2.tar.bz2.sha1
|
||||
sha1 61d1d0d1b955c7a67a7253317647304d04b400a0 userspace-rcu-0.9.2.tar.bz2
|
||||
# Locally generated
|
||||
sha256 8f7fa313b1e0a3f742cea24ce63a39c0efe63e615a769e2961e55bd2663ecaa3 userspace-rcu-0.9.2.tar.bz2
|
||||
15
bsp/buildroot-2017.02.11/package/liburcu/liburcu.mk
Normal file
15
bsp/buildroot-2017.02.11/package/liburcu/liburcu.mk
Normal file
@@ -0,0 +1,15 @@
|
||||
################################################################################
|
||||
#
|
||||
# liburcu
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBURCU_VERSION = 0.9.2
|
||||
LIBURCU_SITE = http://lttng.org/files/urcu
|
||||
LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2
|
||||
LIBURCU_LICENSE = LGPLv2.1+ (library), MIT-like (few source files listed in LICENSE), GPLv2+ (test), GPLv3 (few *.m4 files)
|
||||
LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE
|
||||
|
||||
LIBURCU_INSTALL_STAGING = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user