Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
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>
[Fabrice: update for 0.13.0]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
urcu/compiler.h | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/include/urcu/arch/arm.h b/include/urcu/arch/arm.h
index 1e30903..56115f1 100644
--- a/include/urcu/arch/arm.h
+++ b/include/urcu/arch/arm.h
@@ -118,10 +118,17 @@
*/
/*
+ * 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 URCU_GCC_VERSION
-# 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

32
package/liburcu/Config.in Normal file
View File

@@ -0,0 +1,32 @@
config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
bool
default y
depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_aarch64_be || \
BR2_i386 || BR2_mips || BR2_mips64 || BR2_mipsel || \
BR2_mips64el || BR2_powerpc || BR2_powerpc64 || \
BR2_powerpc64le || BR2_riscv || BR2_sparc64 || BR2_s390x || BR2_x86_64
depends on BR2_USE_MMU # fork() in test
config BR2_PACKAGE_LIBURCU
bool "liburcu"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
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, C++"
depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
!BR2_INSTALL_LIBSTDCPP

View File

@@ -0,0 +1,8 @@
# From https://lttng.org/files/urcu/userspace-rcu-0.15.5.tar.bz2.sha256
sha256 b2f787a8a83512c32599e71cdabcc5131464947b82014896bd11413b2d782de1 userspace-rcu-0.15.5.tar.bz2
# Hash for license files
sha256 aaf135472f81c5b4a0dca9367e5bb5e9750032b5bebe5442b36e4c0a47430df3 LICENSES/GPL-2.0-or-later.txt
sha256 fa6f36630bb1e0c571d34b2bbdf188d08495c9dbf58f28cac112f303fc1f58fb LICENSES/LGPL-2.1-or-later.txt
sha256 b85dcd3e453d05982552c52b5fc9e0bdd6d23c6f8e844b984a88af32570b0cc0 LICENSES/MIT.txt
sha256 5f968522edc611ac568371336609170b00dca5159211a87d2e136b837222826b LICENSE.md

View File

@@ -0,0 +1,24 @@
################################################################################
#
# liburcu
#
################################################################################
LIBURCU_VERSION = 0.15.5
LIBURCU_SITE = http://lttng.org/files/urcu
LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2
LIBURCU_LICENSE = LGPL-2.1+ (library), MIT-like (few source files listed in LICENSE), GPL-2.0+ (test), GPL-3.0 (few *.m4 files)
LIBURCU_LICENSE_FILES = \
LICENSES/GPL-2.0-or-later.txt \
LICENSES/LGPL-2.1-or-later.txt \
LICENSES/MIT.txt \
LICENSE.md
LIBURCU_INSTALL_STAGING = YES
# ac_cv_prog_cc_c99 is required for BR2_USE_WCHAR=n because the C99 test
# provided by autoconf relies on wchar_t.
LIBURCU_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99
$(eval $(autotools-package))
$(eval $(host-autotools-package))