[DHG_packages] 01/01: ghc: patch from James Clarke to prevent unaligned accesses on sparc64
Clint Adams
clint at moszumanska.debian.org
Tue Nov 1 15:07:22 UTC 2016
This is an automated email from the git hooks/post-receive script.
clint pushed a commit to branch master
in repository DHG_packages.
commit 7e924c62dce6880e6bd419dec7378d866d2c193c
Author: Clint Adams <clint at debian.org>
Date: Tue Nov 1 11:06:53 2016 -0400
ghc: patch from James Clarke to prevent unaligned accesses on sparc64
---
p/ghc/debian/changelog | 5 +++++
p/ghc/debian/patches/compiler-cmm-PprC-sparc-alignment.patch | 11 +++++++++++
p/ghc/debian/patches/series | 1 +
3 files changed, 17 insertions(+)
diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 1f3a426..f1e1f0c 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,7 +1,12 @@
ghc (8.0.1-9) UNRELEASED; urgency=medium
+ [ Ilias Tsitsimpis ]
* Add upstream patch to avoid find_tycon panic (Closes: #842679).
+ [ Clint Adams ]
+ * Patch from James Clarke to prevent unaligned accesses on sparc64.
+ closes: #842780.
+
-- Ilias Tsitsimpis <i.tsitsimpis at gmail.com> Sat, 29 Oct 2016 20:03:26 +0300
ghc (8.0.1-8) unstable; urgency=medium
diff --git a/p/ghc/debian/patches/compiler-cmm-PprC-sparc-alignment.patch b/p/ghc/debian/patches/compiler-cmm-PprC-sparc-alignment.patch
new file mode 100644
index 0000000..9f65bd7
--- /dev/null
+++ b/p/ghc/debian/patches/compiler-cmm-PprC-sparc-alignment.patch
@@ -0,0 +1,11 @@
+--- a/compiler/cmm/PprC.hs
++++ b/compiler/cmm/PprC.hs
+@@ -1114,6 +1114,8 @@ cLoad expr rep
+ bewareLoadStoreAlignment ArchMipsel = True
+ bewareLoadStoreAlignment (ArchARM {}) = True
+ bewareLoadStoreAlignment ArchARM64 = True
++ bewareLoadStoreAlignment ArchSPARC = True
++ bewareLoadStoreAlignment ArchSPARC64 = True
+ -- Pessimistically assume that they will also cause problems
+ -- on unknown arches
+ bewareLoadStoreAlignment ArchUnknown = True
diff --git a/p/ghc/debian/patches/series b/p/ghc/debian/patches/series
index 7371f2c..6dc4453 100644
--- a/p/ghc/debian/patches/series
+++ b/p/ghc/debian/patches/series
@@ -9,3 +9,4 @@ add-missing-MO_WriteBarrier
opt-pic
no-pie
find-tycon-panic
+compiler-cmm-PprC-sparc-alignment.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git
More information about the Pkg-haskell-commits
mailing list