liburcu: Bump version to 0.8.7
PATCH v2 1/5 liburcu: Bump version to 0.8.7
--- package/liburcu/liburcu.hash | 6 +++--- package/liburcu/liburcu.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
package/liburcu/liburcu.hash +3 -3
@@ -1,4 +1,4 @@ -# http://www.lttng.org/files/urcu/userspace-rcu-0.8.6.tar.bz2.sha1 -sha1 f10e9bf812557cd0c2a35a277e04010ec278d25d userspace-rcu-0.8.6.tar.bz2 +# http://www.lttng.org/files/urcu/userspace-rcu-0.8.7.tar.bz2.sha1 +sha1 5306999b8a3296f3dea91246d92e0a993d732898 userspace-rcu-0.8.7.tar.bz2 # Locally generated -sha256 b1a5d3bce014ba7a702759bc60b692c1cd46ff0e8a5b53f0d0a95e22db74ab21 userspace-rcu-0.8.6.tar.bz2 +sha256 b523f22c4726ca6bb77a77d258e76d8c33c89724433bd65313024b98e55c4295 userspace-rcu-0.8.7.tar.bz2
package/liburcu/liburcu.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -LIBURCU_VERSION = 0.8.6 +LIBURCU_VERSION = 0.8.7 LIBURCU_SITE = http://lttng.org/files/urcu LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2 LIBURCU_LICENSE = LGPLv2.1+ for the library; MIT-like license for few source files listed in LICENSE; GPLv2+ for test; GPLv3 for few *.m4 files
Signature · 1 line
1.9.5
PATCH v2 2/5 liburcu: Add support for aarch64
Bring over a patch from OpenEmbedded to treat aarch64 like arm in the build process, which allows the build to succeed.
--- package/liburcu/0002-support-aarch64.patch | 21 +++++++++++++++++++++ package/liburcu/Config.in | 4 ++-- package/liburcu/liburcu.mk | 1 + 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 package/liburcu/0002-support-aarch64.patch
package/liburcu/0002-support-aarch64.patch new file +21 -0
@@ -0,0 +1,21 @@ +libucru: recognize aarch64 + +Make the same as "arm" internally. + +Upstream-Status: Pending + +Signed-off-by: joe.slater at windriver.com +[moved to buildroot from openembedded-core] +Signed-off-by: Ben Shelton <[email protected]> + + +--- a/configure.ac ++++ b/configure.ac +@@ -77,6 +77,7 @@ AS_CASE([$host_cpu], + [alpha*], [ARCHTYPE="alpha"], + [ia64], [ARCHTYPE="gcc"], + [arm*], [ARCHTYPE="arm"], ++ [aarch64], [ARCHTYPE="arm"], + [mips*], [ARCHTYPE="mips"], + [tile*], [ARCHTYPE="gcc"], + [ARCHTYPE="unknown"]
package/liburcu/Config.in +2 -2
@@ -1,6 +1,6 @@ config BR2_PACKAGE_LIBURCU bool "liburcu" - depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug depends on BR2_TOOLCHAIN_HAS_THREADS help
@@ -18,7 +18,7 @@ config BR2_PACKAGE_LIBURCU http://lttng.org/urcu comment "liburcu needs a toolchain w/ threads" - depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug depends on !BR2_TOOLCHAIN_HAS_THREADS
package/liburcu/liburcu.mk +1 -0
@@ -10,6 +10,7 @@ LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2 LIBURCU_LICENSE = LGPLv2.1+ for the library; MIT-like license for few source files listed in LICENSE; GPLv2+ for test; GPLv3 for few *.m4 files LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE +LIBURCU_AUTORECONF = YES LIBURCU_INSTALL_STAGING = YES $(eval $(autotools-package))
Signature · 1 line
1.9.5
PATCH v2 3/5 lttng-libust: Bump version to 2.6.2
In reply to Ben Shelton--- package/lttng-libust/lttng-libust.hash | 4 ++-- package/lttng-libust/lttng-libust.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/lttng-libust/lttng-libust.hash +2 -2
@@ -1,2 +1,2 @@ -# http://www.lttng.org/files/lttng-ust/lttng-ust-2.6.0.tar.bz2.sha1 -sha1 774fc2052781ba6fd789d422223c739d5f64482d lttng-ust-2.6.0.tar.bz2 +# http://www.lttng.org/files/lttng-ust/lttng-ust-2.6.2.tar.bz2.sha1 +sha1 bfa9cbdabd8698cf5b98667eac5c39775127f634 lttng-ust-2.6.2.tar.bz2
package/lttng-libust/lttng-libust.mk +1 -1
@@ -5,7 +5,7 @@ ################################################################################ LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust -LTTNG_LIBUST_VERSION = 2.6.0 +LTTNG_LIBUST_VERSION = 2.6.2 LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2 LTTNG_LIBUST_LICENSE = LGPLv2.1; MIT for system headers; GPLv2 for liblttng-ust-ctl/ustctl.c (used by lttng-sessiond) LTTNG_LIBUST_LICENSE_FILES = COPYING
Signature · 1 line
1.9.5
PATCH v2 3/5 lttng-libust: Bump version to 2.6.2
Dear Ben Shelton,
Quoted 1 line · Ben Shelton
Signed-off-by Ben Shelton <[email protected]>
Regards,
Vincent.
Quoted 28 lines
--- package/lttng-libust/lttng-libust.hash | 4 ++-- package/lttng-libust/lttng-libust.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)package/lttng-libust/lttng-libust.hash +2
-2@@ -1,2 +1,2 @@ -# http://www.lttng.org/files/lttng-ust/lttng-ust-2.6.0.tar.bz2.sha1 -sha1 774fc2052781ba6fd789d422223c739d5f64482d lttng-ust-2.6.0.tar.bz2 +# http://www.lttng.org/files/lttng-ust/lttng-ust-2.6.2.tar.bz2.sha1 +sha1 bfa9cbdabd8698cf5b98667eac5c39775127f634 lttng-ust-2.6.2.tar.bz2package/lttng-libust/lttng-libust.mk +1
-1@@ -5,7 +5,7 @@ ################################################################################ LTTNG_LIBUST_SITE = http://lttng.org/files/lttng-ust -LTTNG_LIBUST_VERSION = 2.6.0 +LTTNG_LIBUST_VERSION = 2.6.2 LTTNG_LIBUST_SOURCE = lttng-ust-$(LTTNG_LIBUST_VERSION).tar.bz2 LTTNG_LIBUST_LICENSE = LGPLv2.1; MIT for system headers; GPLv2 for liblttng-ust-ctl/ustctl.c (used by lttng-sessiond) LTTNG_LIBUST_LICENSE_FILES = COPYING
PATCH v2 4/5 lttng-libust: Enable aarch64 build
In reply to Ben SheltonWith aarch64 support added to liburcu, lttng-libust has its dependencies met for aarch64, so allow it to build for this architecture.
--- package/lttng-libust/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/lttng-libust/Config.in +2 -2
@@ -5,7 +5,7 @@ config BR2_PACKAGE_LTTNG_LIBUST select BR2_PACKAGE_UTIL_LINUX_LIBUUID depends on BR2_USE_WCHAR # util-linux # liburcu only works on some architectures and requires threads support" - depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug depends on BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_STATIC_LIBS
@@ -18,7 +18,7 @@ config BR2_PACKAGE_LTTNG_LIBUST http://lttng.org comment "lttng-libust needs a toolchain w/ dynamic library, wchar, threads" - depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on BR2_STATIC_LIBS || !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
Signature · 1 line
1.9.5
PATCH v2 5/5 lttng-tools: Enable aarch64 build
In reply to Ben SheltonNow that liburcu builds for aarch64, lttng-tools has all its dependencies met for aarch64, so allow it to build for this architecture.
--- package/lttng-tools/Config.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/lttng-tools/Config.in +2 -2
@@ -6,7 +6,7 @@ config BR2_PACKAGE_LTTNG_TOOLS select BR2_PACKAGE_UTIL_LINUX select BR2_PACKAGE_UTIL_LINUX_LIBUUID # liburcu only works on some architectures and requires thread support - depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # lttng-tools/gcc-4.{7,8}.x bug depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug depends on BR2_USE_WCHAR # util-linux
@@ -30,7 +30,7 @@ config BR2_PACKAGE_LTTNG_TOOLS http://lttng.org comment "lttng-tools needs a toolchain w/ threads, wchar" - depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64 + depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64 depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58595 # lttng-tools/gcc-4.{7,8}.x bug depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
Signature · 1 line
1.9.5
PATCH v2 1/5 liburcu: Bump version to 0.8.7
In reply to Ben SheltonDear Ben Shelton,
please mark your previous series as superseded:
http://patchwork.ozlabs.org/patch/517036/
http://patchwork.ozlabs.org/patch/517035/
http://patchwork.ozlabs.org/patch/517037/
Quoted 1 line · Ben Shelton
Signed-off-by Ben Shelton <[email protected]>
Regards,
Vincent.
Quoted 31 lines
--- package/liburcu/liburcu.hash | 6 +++--- package/liburcu/liburcu.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)package/liburcu/liburcu.hash +3
-3@@ -1,4 +1,4 @@ -# http://www.lttng.org/files/urcu/userspace-rcu-0.8.6.tar.bz2.sha1 -sha1 f10e9bf812557cd0c2a35a277e04010ec278d25d userspace-rcu-0.8.6.tar.bz2 +# http://www.lttng.org/files/urcu/userspace-rcu-0.8.7.tar.bz2.sha1 +sha1 5306999b8a3296f3dea91246d92e0a993d732898 userspace-rcu-0.8.7.tar.bz2 # Locally generated -sha256 b1a5d3bce014ba7a702759bc60b692c1cd46ff0e8a5b53f0d0a95e22db74ab21 userspace-rcu-0.8.6.tar.bz2 +sha256 b523f22c4726ca6bb77a77d258e76d8c33c89724433bd65313024b98e55c4295 userspace-rcu-0.8.7.tar.bz2package/liburcu/liburcu.mk +1
-1@@ -4,7 +4,7 @@ # ################################################################################ -LIBURCU_VERSION = 0.8.6 +LIBURCU_VERSION = 0.8.7 LIBURCU_SITE = http://lttng.org/files/urcu LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2 LIBURCU_LICENSE = LGPLv2.1+ for the library; MIT-like license for few source files listed in LICENSE; GPLv2+ for test; GPLv3 for few *.m4 files
Thomas Petazzoni
AppliedPATCH v2 1/5 liburcu: Bump version to 0.8.7
In reply to Ben SheltonDear Ben Shelton,
Quoted 5 lines · Ben Shelton
Signed-off-by Ben Shelton <[email protected]>--- package/liburcu/liburcu.hash | 6 +++--- package/liburcu/liburcu.mk | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
I've applied the entire patch series, thanks!
There's one thing that could have been done better though (but it can be handled as follow-up patches): instead of propagating the availability of liburcu on AArch64 to all its reverse dependencies, we could have instead switched to the BR2_PACKAGE_<foo>_ARCH_SUPPORTS model, which makes such changes a lot simpler.
See for example how BR2_PACKAGE_LIBATOMIC_ARCH_SUPPORTS is defined and used. Follow-up patches welcome, as I said :-)
Thanks!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com