Accepting request 373383 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/373383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/userspace-rcu?expand=0&rev=12
This commit is contained in:
Dominique Leuenberger 2016-03-17 15:35:12 +00:00 committed by Git OBS Bridge
commit 79d9e11835
3 changed files with 43 additions and 1 deletions

View File

@ -0,0 +1,34 @@
From 61126bd9c901fa403315db71d8d5351d716717cb Mon Sep 17 00:00:00 2001
From: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: Mon, 28 Sep 2015 11:16:57 -0400
Subject: [PATCH] powerpc64le: use "ppc" architecture
powerpc64le has been originally added to urcu with the "gcc" generic
architecture support. After testing, it appears that the "ppc"
architecture works as well.
Move to the "ppc" architecture so it becomes the same as other powerpc
32/64 (big endian) architectures.
Doing so wires up the membarrier system call on powerpc64le.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 57e696d..10a1589 100644
--- a/configure.ac
+++ b/configure.ac
@@ -79,7 +79,7 @@ AS_CASE([$host_cpu],
[powerpc], [ARCHTYPE="ppc"],
[ppc64], [ARCHTYPE="ppc"],
[powerpc64], [ARCHTYPE="ppc"],
- [powerpc64le], [ARCHTYPE="gcc"],
+ [powerpc64le], [ARCHTYPE="ppc"],
[ppc], [ARCHTYPE="ppc"],
[s390], [ARCHTYPE="s390"],
[s390x], [ARCHTYPE="s390"],
--
1.9.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Mar 15 15:56:31 UTC 2016 - dvaleev@suse.com
- userspace-rcu-ppc64le.patch use ppc for ppc64le
http://git.lttng.org/?p=userspace-rcu.git;a=commit;h=61126bd9c901fa403315db71d8d5351d716717cb
-------------------------------------------------------------------
Tue Sep 29 19:09:49 UTC 2015 - dmueller@suse.com

View File

@ -2,7 +2,7 @@
#
# spec file for package userspace-rcu
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -29,6 +29,7 @@ Source0: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2
Source1: http://lttng.org/files/urcu/userspace-rcu-%{version}.tar.bz2.asc
Source2: userspace-rcu.keyring
Patch1: userspace-rcu-aarch64.patch
Patch2: userspace-rcu-ppc64le.patch
Url: http://lttng.org/urcu
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
@ -71,6 +72,7 @@ accesses to detect grace periods after which memory reclamation is possible.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
autoreconf -fi