[Pkg-haskell-commits] darcs: ghc: Disable GHCi on arm, as it is severly borken (for more information see http://hackage.haskell.org/trac/ghc/ticket/7794)

Joachim Breitner mail at joachim-breitner.de
Wed Jun 5 22:40:08 UTC 2013


Wed Jun  5 18:50:54 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Disable GHCi on arm, as it is severly borken (for more information see http://hackage.haskell.org/trac/ghc/ticket/7794)
  Ignore-this: 9cf44ad4027229f6a47f5b6bd63fd7a7

    M ./changelog +2
    M ./rules +5

Wed Jun  5 18:50:54 UTC 2013  Joachim Breitner <mail at joachim-breitner.de>
  * Disable GHCi on arm, as it is severly borken (for more information see http://hackage.haskell.org/trac/ghc/ticket/7794)
  Ignore-this: 9cf44ad4027229f6a47f5b6bd63fd7a7
diff -rN -u old-ghc//changelog new-ghc//changelog
--- old-ghc//changelog	2013-06-05 22:40:08.311041367 +0000
+++ new-ghc//changelog	2013-06-05 22:40:08.383044228 +0000
@@ -2,6 +2,8 @@
 
   * Add patches/Handle-sign-bit-when-generating-veneer-for-ARM-Thumb.patch,
     patch by Colin Watson
+  * Disable GHCi on arm, as it is severly borken (for more information see
+    http://hackage.haskell.org/trac/ghc/ticket/7794)
 
  -- Joachim Breitner <nomeata at debian.org>  Wed, 05 Jun 2013 20:48:20 +0200
 
diff -rN -u old-ghc//rules new-ghc//rules
--- old-ghc//rules	2013-06-05 22:40:08.307039102 +0000
+++ new-ghc//rules	2013-06-05 22:40:08.347040922 +0000
@@ -75,6 +75,11 @@
 	# We also want to build the threaded profiling-enabled debug runtime,
 	# because it does no harm
 	echo 'GhcRTSWays += $$(if $$(findstring p, $$(GhcLibWays)),thr_debug_p,)' >> mk/build.mk
+ifneq (,$(findstring $(DEB_HOST_ARCH),armel armhf))
+	# GHCi is too badly broken on ARM; see
+	# http://hackage.haskell.org/trac/ghc/ticket/7794
+	echo "GhcWithInterpreter = NO" >> mk/build.mk
+endif
 	
 	# We can't do this with a configure flag in 6.8.1 as libdir is not
 	# defined at the point at which we := it





More information about the Pkg-haskell-commits mailing list