Source: liburcu
Severity: wishlist
Tags: patch
User: [email protected]

The attached patch from the Ubuntu package adds aarch64 (64-bit ARMv8) support
using the gcc primitives.

Thanks,
Ian.

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
>From 4513f563686920489ff176abbc3ba137dd6d7247 Mon Sep 17 00:00:00 2001
From: Ian Campbell <[email protected]>
Date: Sun, 8 Jun 2014 08:24:37 +0100
Subject: [PATCH] Include patch to support aarch64 builds using gcc atomics.

Extracted from http://patches.ubuntu.com/libu/liburcu/liburcu_0.7.12-0ubuntu2.patch
where the original author was Dmitrijs Ledkovs.
---
 debian/patches/arm64-archtype.patch | 21 +++++++++++++++++++++
 debian/patches/series               |  1 +
 2 files changed, 22 insertions(+)
 create mode 100644 debian/patches/arm64-archtype.patch

diff --git a/debian/patches/arm64-archtype.patch b/debian/patches/arm64-archtype.patch
new file mode 100644
index 0000000..55c0048
--- /dev/null
+++ b/debian/patches/arm64-archtype.patch
@@ -0,0 +1,21 @@
+Description: Use gcc atomics on aarch64 for bootstrapping.
+Author: Dmitrijs Ledkovs <[email protected]>
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -70,6 +70,7 @@
+ 	[ppc64], [ARCHTYPE="ppc"],
+ 	[powerpc64le], [ARCHTYPE="ppc"],
+ 	[powerpc64], [ARCHTYPE="ppc"],
++	[powerpc64le], [ARCHTYPE="gcc"],
+ 	[ppc], [ARCHTYPE="ppc"],
+ 	[s390], [ARCHTYPE="s390"],
+ 	[s390x], [ARCHTYPE="s390"],
+@@ -80,6 +81,7 @@
+ 	[arm*], [ARCHTYPE="arm"],
+ 	[mips*], [ARCHTYPE="mips"],
+ 	[tile*], [ARCHTYPE="gcc"],
++	[aarch64], [ARCHTYPE="gcc"],
+ 	[ARCHTYPE="unknown"]
+ )
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 308a6d6..24d08b4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 ignore-gcc-check.patch
 liburcu_add_ppc64le_architecture.patch
+arm64-archtype.patch
-- 
1.9.0

Reply via email to