1
0
forked from pool/userspace-rcu

- remove dependency on gpg-offline, is done by source validator

- add userspace-rcu-aarch64.patch (fate#318370)
  enables build for aarch64

- Update to version 0.8,7 (FATE#319273)
  Changelog 0.8.7:
    * Fix: deadlock when thread join is issued in read-side C.S.
    * Fix: rename RCU_DEBUG to DEBUG_RCU in urcu-qsbr.h
    * Mark braced-groups within expressions with __extension__
    * Fix: compat_futex_noasync race condition
    * Fix: documentation: urcu-pointer.h: s/rcu_dereference_pointer/rcu_dereference/
    * Fix: call rcu should call internal RCU API

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/userspace-rcu?expand=0&rev=19
This commit is contained in:
Dirk Mueller 2015-09-29 19:10:30 +00:00 committed by Git OBS Bridge
parent 70d00ce162
commit 8feca509fa
7 changed files with 80 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b1a5d3bce014ba7a702759bc60b692c1cd46ff0e8a5b53f0d0a95e22db74ab21
size 424037

View File

@ -1,11 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJUWPlHAAoJEBcoCpeBGGrP0+YH/2XZ6YpdSEHV/Hb7UNNPHX2t
VzEa+WMY8tnohN+fEq/kh6E1AqzFDGATBAdJUGuNvXOUNieflEOcT+y3ty8S/cWv
xSjkwPWtkhOgRTbPjK211A9KULiQ7AuO18e3g56Xcj/rltQxwNQrETiKFMPKZXiz
4k1vrzuzTaBIgKzls4qdoay+NMXPymYw/CFW2Rig97wwXmTIC1oF0Ek+KRFVG6L3
jc15y09BwOzzC6TcCHxRiHFmsqPAdt/rTFx7vJrQnF8PBA/qKmps8u8RXCU2sJt0
0pZQjqBJ+RXcKJL/YgprpYQ4mmfT7GwG0MC7tITUm72mLwjWdsGUU/9ylsKknSU=
=uTIm
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b523f22c4726ca6bb77a77d258e76d8c33c89724433bd65313024b98e55c4295
size 425072

View File

@ -0,0 +1,11 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAABAgAGBQJVP9cHAAoJEBcoCpeBGGrPo8cH/REm+4wdZ8hzwlVJkJIyouyO
tvuj9IpIDPCjUZ4Ir6MLeiQ60yCEGLCEbvjS8aDuJgdHygwWA8c9peOxR/qaT1wM
qvkD7aLujUZrQRqtMEyrN65quQoR+d21h8eB1e13hSCXnKbFnI/3MUO2+xas3Uli
uSjOz2qzn1hCwIG4HjBzOgtFca61ZZl9Crv1mqwL+uJ/SPFL7dUO+uYUmH0dU5ev
UkKC4ureyDoJcmsKgTi2/AsS5STzq/FyL3HHfDh7/29BYlzBSUnXPv9OUlwQx5f5
NW1nqwV1+0TpoQM4gdPlFzmBAu5DdQeBI8detkIdkQsZFuCI9w++0IkaBtvaWIg=
=wwpo
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,36 @@
From: Dimitri John Ledkov <xnox@ubuntu.com>
Date: Wed, 12 Mar 2014 12:17:51 +0000 (-0400)
Subject: Use gcc atomics on aarch64/powerpc64le
X-Git-Url: http://git.lttng.org/?p=userspace-rcu.git;a=commitdiff_plain;h=3913336f0e763b4ab614aa6b6e41e20b481e50c3
Use gcc atomics on aarch64/powerpc64le
Currently there are two fairly recent architectures, which at the
moment can only be compiled with "gcc atomics" code path.
The two new architectures are (GNU Types):
* aarch64-linux-gnu (aka ARMv8, ARM64, AARCH64, etc)
* powerpc64le-linux-gnu
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
---
diff --git a/configure.ac b/configure.ac
index 079c145..3368b33 100644
--- a/configure.ac
+++ b/configure.ac
@@ -69,6 +69,7 @@ AS_CASE([$host_cpu],
[powerpc], [ARCHTYPE="ppc"],
[ppc64], [ARCHTYPE="ppc"],
[powerpc64], [ARCHTYPE="ppc"],
+ [powerpc64le], [ARCHTYPE="gcc"],
[ppc], [ARCHTYPE="ppc"],
[s390], [ARCHTYPE="s390"],
[s390x], [ARCHTYPE="s390"],
@@ -77,6 +78,7 @@ AS_CASE([$host_cpu],
[alpha*], [ARCHTYPE="alpha"],
[ia64], [ARCHTYPE="gcc"],
[arm*], [ARCHTYPE="arm"],
+ [aarch64], [ARCHTYPE="gcc"],
[mips*], [ARCHTYPE="mips"],
[tile*], [ARCHTYPE="gcc"],
[ARCHTYPE="unknown"]

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Tue Sep 29 19:09:49 UTC 2015 - dmueller@suse.com
- remove dependency on gpg-offline, is done by source validator
-------------------------------------------------------------------
Mon Aug 31 19:14:52 UTC 2015 - dmueller@suse.com
- add userspace-rcu-aarch64.patch (fate#318370)
enables build for aarch64
-------------------------------------------------------------------
Tue Jul 28 22:32:41 UTC 2015 - tonyj@suse.com
- Update to version 0.8,7 (FATE#319273)
Changelog 0.8.7:
* Fix: deadlock when thread join is issued in read-side C.S.
* Fix: rename RCU_DEBUG to DEBUG_RCU in urcu-qsbr.h
* Mark braced-groups within expressions with __extension__
* Fix: compat_futex_noasync race condition
* Fix: documentation: urcu-pointer.h: s/rcu_dereference_pointer/rcu_dereference/
* Fix: call rcu should call internal RCU API
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 24 15:56:46 UTC 2014 - mq@suse.cz Mon Nov 24 15:56:46 UTC 2014 - mq@suse.cz

View File

@ -2,7 +2,7 @@
# #
# spec file for package userspace-rcu # spec file for package userspace-rcu
# #
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org> # Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
@ -19,7 +19,7 @@
Name: userspace-rcu Name: userspace-rcu
Version: 0.8.6 Version: 0.8.7
Release: 0 Release: 0
%define soname 2 %define soname 2
Summary: Userspace Read-Copy-Update Library Summary: Userspace Read-Copy-Update Library
@ -28,14 +28,13 @@ Group: System/Libraries
Source0: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2 Source0: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2
Source1: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2.asc Source1: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2.asc
Source2: userspace-rcu.keyring Source2: userspace-rcu.keyring
Patch0: userspace-rcu-ppc64le.patch Patch1: userspace-rcu-aarch64.patch
Url: http://lttng.org/urcu Url: http://lttng.org/urcu
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: gcc BuildRequires: gcc
BuildRequires: glibc-devel BuildRequires: glibc-devel
%if 0%{?suse_version} >= 1230 BuildRequires: libtool
BuildRequires: gpg-offline
%endif
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig BuildRequires: pkgconfig
@ -70,11 +69,11 @@ structure to live at the same time, and by monitoring the data structure
accesses to detect grace periods after which memory reclamation is possible. accesses to detect grace periods after which memory reclamation is possible.
%prep %prep
%{?gpg_verify: %gpg_verify %{SOURCE1}}
%setup -q %setup -q
%patch0 -p1 %patch1 -p1
%build %build
autoreconf -fi
%configure --disable-silent-rules --disable-static %configure --disable-silent-rules --disable-static
%__make %{?_smp_mflags} %__make %{?_smp_mflags}