Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2
@ 2016-10-19  9:00 Baruch Siach
  2016-10-19  9:00 ` [Buildroot] [PATCH 2/2] liburcu: needs MMU Baruch Siach
  2016-10-19 15:58 ` [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2 Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Baruch Siach @ 2016-10-19  9:00 UTC (permalink / raw)
  To: buildroot

Drop aarch64 support patch; no longer needed.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/liburcu/0002-support-aarch64.patch | 21 ---------------------
 package/liburcu/liburcu.hash               |  6 +++---
 package/liburcu/liburcu.mk                 |  3 +--
 3 files changed, 4 insertions(+), 26 deletions(-)
 delete mode 100644 package/liburcu/0002-support-aarch64.patch

diff --git a/package/liburcu/0002-support-aarch64.patch b/package/liburcu/0002-support-aarch64.patch
deleted file mode 100644
index 6830e25ebe9c..000000000000
--- a/package/liburcu/0002-support-aarch64.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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/liburcu.hash b/package/liburcu/liburcu.hash
index 64ba90195af5..5866d805ca4d 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.7.tar.bz2.sha1
-sha1  5306999b8a3296f3dea91246d92e0a993d732898  userspace-rcu-0.8.7.tar.bz2
+# 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 b523f22c4726ca6bb77a77d258e76d8c33c89724433bd65313024b98e55c4295 userspace-rcu-0.8.7.tar.bz2
+sha256 8f7fa313b1e0a3f742cea24ce63a39c0efe63e615a769e2961e55bd2663ecaa3 userspace-rcu-0.9.2.tar.bz2
diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
index c886a1cf0e4b..33a301df1793 100644
--- a/package/liburcu/liburcu.mk
+++ b/package/liburcu/liburcu.mk
@@ -4,13 +4,12 @@
 #
 ################################################################################
 
-LIBURCU_VERSION = 0.8.7
+LIBURCU_VERSION = 0.9.2
 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
 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))
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] liburcu: needs MMU
  2016-10-19  9:00 [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2 Baruch Siach
@ 2016-10-19  9:00 ` Baruch Siach
  2016-10-19  9:27   ` Thomas Petazzoni
  2016-10-19 15:58 ` [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2 Thomas Petazzoni
  1 sibling, 1 reply; 5+ messages in thread
From: Baruch Siach @ 2016-10-19  9:00 UTC (permalink / raw)
  To: buildroot

The test_urcu_fork.c test calls fork(). Upstream provides no easy way to
disable tests build.

Fixes:
http://autobuild.buildroot.net/results/9eb/9eb182ab2d0b396eeff3d637a040da5a4d5bdcd7/
http://autobuild.buildroot.net/results/47a/47aabc219a2fd50105881b1e2715f7eeb1a6a588/
http://autobuild.buildroot.net/results/566/56631605f76b8623c9674f25c529ac67d0de12a8/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/liburcu/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
index 49510da4956c..915b17ab9d6d 100644
--- a/package/liburcu/Config.in
+++ b/package/liburcu/Config.in
@@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
 config BR2_PACKAGE_LIBURCU
 	bool "liburcu"
 	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
+	depends on BR2_USE_MMU # fork() in test
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Userspace implementation of the Read-Copy-Update (RCU)
@@ -23,4 +24,5 @@ config BR2_PACKAGE_LIBURCU
 
 comment "liburcu needs a toolchain w/ threads"
 	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
+	depends on BR2_USE_MMU
 	depends on !BR2_TOOLCHAIN_HAS_THREADS
-- 
2.9.3

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] liburcu: needs MMU
  2016-10-19  9:00 ` [Buildroot] [PATCH 2/2] liburcu: needs MMU Baruch Siach
@ 2016-10-19  9:27   ` Thomas Petazzoni
  2016-10-19  9:30     ` Baruch Siach
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Petazzoni @ 2016-10-19  9:27 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 19 Oct 2016 12:00:34 +0300, Baruch Siach wrote:

> diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
> index 49510da4956c..915b17ab9d6d 100644
> --- a/package/liburcu/Config.in
> +++ b/package/liburcu/Config.in
> @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
>  config BR2_PACKAGE_LIBURCU
>  	bool "liburcu"
>  	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
> +	depends on BR2_USE_MMU # fork() in test

You want to put this in BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS so that you
don't have to propagate it to reverse dependencies of liburcu (which
BTW your patch forgot to do).

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] liburcu: needs MMU
  2016-10-19  9:27   ` Thomas Petazzoni
@ 2016-10-19  9:30     ` Baruch Siach
  0 siblings, 0 replies; 5+ messages in thread
From: Baruch Siach @ 2016-10-19  9:30 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On Wed, Oct 19, 2016 at 11:27:57AM +0200, Thomas Petazzoni wrote:
> On Wed, 19 Oct 2016 12:00:34 +0300, Baruch Siach wrote:
> 
> > diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
> > index 49510da4956c..915b17ab9d6d 100644
> > --- a/package/liburcu/Config.in
> > +++ b/package/liburcu/Config.in
> > @@ -6,6 +6,7 @@ config BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
> >  config BR2_PACKAGE_LIBURCU
> >  	bool "liburcu"
> >  	depends on BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS
> > +	depends on BR2_USE_MMU # fork() in test
> 
> You want to put this in BR2_PACKAGE_LIBURCU_ARCH_SUPPORTS so that you
> don't have to propagate it to reverse dependencies of liburcu (which
> BTW your patch forgot to do).

Good point. Will do.

Thanks for reviewing,
baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2
  2016-10-19  9:00 [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2 Baruch Siach
  2016-10-19  9:00 ` [Buildroot] [PATCH 2/2] liburcu: needs MMU Baruch Siach
@ 2016-10-19 15:58 ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2016-10-19 15:58 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed, 19 Oct 2016 12:00:33 +0300, Baruch Siach wrote:
> Drop aarch64 support patch; no longer needed.
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  package/liburcu/0002-support-aarch64.patch | 21 ---------------------
>  package/liburcu/liburcu.hash               |  6 +++---
>  package/liburcu/liburcu.mk                 |  3 +--
>  3 files changed, 4 insertions(+), 26 deletions(-)
>  delete mode 100644 package/liburcu/0002-support-aarch64.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-10-19 15:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-19  9:00 [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2 Baruch Siach
2016-10-19  9:00 ` [Buildroot] [PATCH 2/2] liburcu: needs MMU Baruch Siach
2016-10-19  9:27   ` Thomas Petazzoni
2016-10-19  9:30     ` Baruch Siach
2016-10-19 15:58 ` [Buildroot] [PATCH 1/2] liburcu: bump to version 0.9.2 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox