* [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7
@ 2015-09-15 14:35 Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 2/5] liburcu: Add support for aarch64 Ben Shelton
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: Ben Shelton @ 2015-09-15 14:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
---
package/liburcu/liburcu.hash | 6 +++---
package/liburcu/liburcu.mk | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/package/liburcu/liburcu.hash b/package/liburcu/liburcu.hash
index 2b1693d..64ba901 100644
--- a/package/liburcu/liburcu.hash
+++ b/package/liburcu/liburcu.hash
@@ -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
diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
index 1582d07..8d06966 100644
--- a/package/liburcu/liburcu.mk
+++ b/package/liburcu/liburcu.mk
@@ -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
--
1.9.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH v2 2/5] liburcu: Add support for aarch64
2015-09-15 14:35 [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Ben Shelton
@ 2015-09-15 14:35 ` Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 3/5] lttng-libust: Bump version to 2.6.2 Ben Shelton
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Ben Shelton @ 2015-09-15 14:35 UTC (permalink / raw)
To: buildroot
Bring over a patch from OpenEmbedded to treat aarch64 like arm in the build
process, which allows the build to succeed.
Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
---
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
diff --git a/package/liburcu/0002-support-aarch64.patch b/package/liburcu/0002-support-aarch64.patch
new file mode 100644
index 0000000..6830e25
--- /dev/null
+++ b/package/liburcu/0002-support-aarch64.patch
@@ -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 <benjamin.h.shelton@intel.com>
+
+
+--- 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"]
diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
index e7cbe93..a4e8dc8 100644
--- a/package/liburcu/Config.in
+++ b/package/liburcu/Config.in
@@ -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
diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
index 8d06966..c886a1c 100644
--- a/package/liburcu/liburcu.mk
+++ b/package/liburcu/liburcu.mk
@@ -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))
--
1.9.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH v2 3/5] lttng-libust: Bump version to 2.6.2
2015-09-15 14:35 [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 2/5] liburcu: Add support for aarch64 Ben Shelton
@ 2015-09-15 14:35 ` Ben Shelton
2015-09-15 15:46 ` Vicente Olivert Riera
2015-09-15 14:35 ` [Buildroot] [PATCH v2 4/5] lttng-libust: Enable aarch64 build Ben Shelton
` (3 subsequent siblings)
5 siblings, 1 reply; 8+ messages in thread
From: Ben Shelton @ 2015-09-15 14:35 UTC (permalink / raw)
To: buildroot
Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
---
package/lttng-libust/lttng-libust.hash | 4 ++--
package/lttng-libust/lttng-libust.mk | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package/lttng-libust/lttng-libust.hash b/package/lttng-libust/lttng-libust.hash
index 65db612..aafc2ba 100644
--- a/package/lttng-libust/lttng-libust.hash
+++ b/package/lttng-libust/lttng-libust.hash
@@ -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
diff --git a/package/lttng-libust/lttng-libust.mk b/package/lttng-libust/lttng-libust.mk
index 2afcd61..4976ff4 100644
--- a/package/lttng-libust/lttng-libust.mk
+++ b/package/lttng-libust/lttng-libust.mk
@@ -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
--
1.9.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH v2 4/5] lttng-libust: Enable aarch64 build
2015-09-15 14:35 [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 2/5] liburcu: Add support for aarch64 Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 3/5] lttng-libust: Bump version to 2.6.2 Ben Shelton
@ 2015-09-15 14:35 ` Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 5/5] lttng-tools: " Ben Shelton
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: Ben Shelton @ 2015-09-15 14:35 UTC (permalink / raw)
To: buildroot
With aarch64 support added to liburcu, lttng-libust has its dependencies met
for aarch64, so allow it to build for this architecture.
Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
---
package/lttng-libust/Config.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/lttng-libust/Config.in b/package/lttng-libust/Config.in
index 1c26843..3c26055 100644
--- a/package/lttng-libust/Config.in
+++ b/package/lttng-libust/Config.in
@@ -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
--
1.9.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH v2 5/5] lttng-tools: Enable aarch64 build
2015-09-15 14:35 [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Ben Shelton
` (2 preceding siblings ...)
2015-09-15 14:35 ` [Buildroot] [PATCH v2 4/5] lttng-libust: Enable aarch64 build Ben Shelton
@ 2015-09-15 14:35 ` Ben Shelton
2015-09-15 15:45 ` [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Vicente Olivert Riera
2015-09-15 22:01 ` Thomas Petazzoni
5 siblings, 0 replies; 8+ messages in thread
From: Ben Shelton @ 2015-09-15 14:35 UTC (permalink / raw)
To: buildroot
Now that liburcu builds for aarch64, lttng-tools has all its dependencies met
for aarch64, so allow it to build for this architecture.
Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
---
package/lttng-tools/Config.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package/lttng-tools/Config.in b/package/lttng-tools/Config.in
index 4d4b923..4c5b5f6 100644
--- a/package/lttng-tools/Config.in
+++ b/package/lttng-tools/Config.in
@@ -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
--
1.9.5
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7
2015-09-15 14:35 [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Ben Shelton
` (3 preceding siblings ...)
2015-09-15 14:35 ` [Buildroot] [PATCH v2 5/5] lttng-tools: " Ben Shelton
@ 2015-09-15 15:45 ` Vicente Olivert Riera
2015-09-15 22:01 ` Thomas Petazzoni
5 siblings, 0 replies; 8+ messages in thread
From: Vicente Olivert Riera @ 2015-09-15 15:45 UTC (permalink / raw)
To: buildroot
Dear 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/
On 09/15/2015 03:35 PM, Ben Shelton wrote:
> Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Regards,
Vincent.
> ---
> package/liburcu/liburcu.hash | 6 +++---
> package/liburcu/liburcu.mk | 2 +-
> 2 files changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/package/liburcu/liburcu.hash b/package/liburcu/liburcu.hash
> index 2b1693d..64ba901 100644
> --- a/package/liburcu/liburcu.hash
> +++ b/package/liburcu/liburcu.hash
> @@ -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
> diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
> index 1582d07..8d06966 100644
> --- a/package/liburcu/liburcu.mk
> +++ b/package/liburcu/liburcu.mk
> @@ -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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH v2 3/5] lttng-libust: Bump version to 2.6.2
2015-09-15 14:35 ` [Buildroot] [PATCH v2 3/5] lttng-libust: Bump version to 2.6.2 Ben Shelton
@ 2015-09-15 15:46 ` Vicente Olivert Riera
0 siblings, 0 replies; 8+ messages in thread
From: Vicente Olivert Riera @ 2015-09-15 15:46 UTC (permalink / raw)
To: buildroot
Dear Ben Shelton,
On 09/15/2015 03:35 PM, Ben Shelton wrote:
> Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Regards,
Vincent.
> ---
> package/lttng-libust/lttng-libust.hash | 4 ++--
> package/lttng-libust/lttng-libust.mk | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/package/lttng-libust/lttng-libust.hash b/package/lttng-libust/lttng-libust.hash
> index 65db612..aafc2ba 100644
> --- a/package/lttng-libust/lttng-libust.hash
> +++ b/package/lttng-libust/lttng-libust.hash
> @@ -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
> diff --git a/package/lttng-libust/lttng-libust.mk b/package/lttng-libust/lttng-libust.mk
> index 2afcd61..4976ff4 100644
> --- a/package/lttng-libust/lttng-libust.mk
> +++ b/package/lttng-libust/lttng-libust.mk
> @@ -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
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7
2015-09-15 14:35 [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Ben Shelton
` (4 preceding siblings ...)
2015-09-15 15:45 ` [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Vicente Olivert Riera
@ 2015-09-15 22:01 ` Thomas Petazzoni
5 siblings, 0 replies; 8+ messages in thread
From: Thomas Petazzoni @ 2015-09-15 22:01 UTC (permalink / raw)
To: buildroot
Dear Ben Shelton,
On Tue, 15 Sep 2015 09:35:17 -0500, Ben Shelton wrote:
> Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
> ---
> 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
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2015-09-15 22:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 14:35 [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 2/5] liburcu: Add support for aarch64 Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 3/5] lttng-libust: Bump version to 2.6.2 Ben Shelton
2015-09-15 15:46 ` Vicente Olivert Riera
2015-09-15 14:35 ` [Buildroot] [PATCH v2 4/5] lttng-libust: Enable aarch64 build Ben Shelton
2015-09-15 14:35 ` [Buildroot] [PATCH v2 5/5] lttng-tools: " Ben Shelton
2015-09-15 15:45 ` [Buildroot] [PATCH v2 1/5] liburcu: Bump version to 0.8.7 Vicente Olivert Riera
2015-09-15 22:01 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox