[DHG_packages] 02/02: ghc: fix armhf SMP check

Clint Adams clint at moszumanska.debian.org
Thu Dec 15 04:16:35 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 a2d3d735b3197a93e76bc40eb1884e2ca5414f77
Author: Clint Adams <clint at debian.org>
Date:   Wed Dec 14 23:12:12 2016 -0500

    ghc: fix armhf SMP check
---
 p/ghc/debian/changelog                 |  6 ++++++
 p/ghc/debian/patches/series            |  1 +
 p/ghc/debian/patches/smp-arm-fix.patch | 11 +++++++++++
 3 files changed, 18 insertions(+)

diff --git a/p/ghc/debian/changelog b/p/ghc/debian/changelog
index 568c98c..3fe039c 100644
--- a/p/ghc/debian/changelog
+++ b/p/ghc/debian/changelog
@@ -1,3 +1,9 @@
+ghc (8.0.1-16) unstable; urgency=medium
+
+  * Patch to fix SMP support enablement on armhf.
+
+ -- Clint Adams <clint at debian.org>  Wed, 14 Dec 2016 23:10:26 -0500
+
 ghc (8.0.1-15) unstable; urgency=high
 
   * Add osdecommitmemory-compat.patch (Closes: #847677).
diff --git a/p/ghc/debian/patches/series b/p/ghc/debian/patches/series
index 2ffbb76..14a6c0c 100644
--- a/p/ghc/debian/patches/series
+++ b/p/ghc/debian/patches/series
@@ -13,3 +13,4 @@ get-linker-flags-correctly
 x32-use-native-x86_64-insn.patch
 fix-ppc-lwa-generation
 osdecommitmemory-compat.patch
+smp-arm-fix.patch
diff --git a/p/ghc/debian/patches/smp-arm-fix.patch b/p/ghc/debian/patches/smp-arm-fix.patch
new file mode 100644
index 0000000..7c4fea8
--- /dev/null
+++ b/p/ghc/debian/patches/smp-arm-fix.patch
@@ -0,0 +1,11 @@
+--- a/mk/config.mk.in
++++ b/mk/config.mk.in
+@@ -187,7 +187,7 @@
+ # includes/stg/SMP.h
+ ifeq "$(TargetArch_CPP)" "arm"
+ # We don't support load/store barriers pre-ARMv7. See #10433.
+-ArchSupportsSMP="$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)"
++ArchSupportsSMP=$(if $(filter $(ARM_ISA),ARMv5 ARMv6),NO,YES)
+ else
+ ArchSupportsSMP=$(strip $(patsubst $(TargetArch_CPP), YES, $(findstring $(TargetArch_CPP), i386 x86_64 sparc powerpc powerpc64 powerpc64le aarch64)))
+ endif

-- 
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