Hi Joachim!

On 05/04/2017 12:32 PM, Joachim Breitner wrote:
> thanks. Due to the freeze this will not happen immediately.

Sure, I'm with you when it comes to the freeze. No uploads unless we
fix RC bugs.

> JFTR: The patch is not in 8.0.2 or 8.2 either, but might be in 8.4.

And I'm now confident we actually don't need this patch at all. Looking
at rts/StgCRun.S, it doesn't contain any code that would be built
on 32-bit PowerPC anyway (due to the #ifdef guarding), so just building
with --enable-unregisterised is enough.

Please find the updated patch attached.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
diff -Nru old/ghc-8.0.1/debian/changelog new/ghc-8.0.1/debian/changelog
--- old/ghc-8.0.1/debian/changelog	2016-12-17 03:44:45.000000000 +0100
+++ new/ghc-8.0.1/debian/changelog	2017-05-04 11:01:35.068820881 +0200
@@ -1,3 +1,10 @@
+ghc (8.0.1-17.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Build with --enable-unregisterised on powerpcspe. (Closes: #861806)
+
+ -- John Paul Adrian Glaubitz <glaub...@physik.fu-berlin.de>  Thu, 04 May 2017 11:00:20 +0200
+
 ghc (8.0.1-17) unstable; urgency=medium
 
   * Add upstream patch "Add relocation type R_X86_64_REX_GOTPCRELX".

diff -Nru old/ghc-8.0.1/debian/rules new/ghc-8.0.1/debian/rules
--- old/ghc-8.0.1/debian/rules	2016-11-14 17:07:27.000000000 +0100
+++ new/ghc-8.0.1/debian/rules	2017-05-04 10:59:42.672900592 +0200
@@ -38,7 +38,7 @@
 BUILD_HADDOCK_DOCS=YES
 DEB_HOOGLE_TXT_DIR = /usr/lib/ghc-doc/hoogle/
 
-ifeq (x32,$(DEB_HOST_ARCH))
+ifneq (,$(findstring $(DEB_HOST_ARCH), powerpcspe x32))
   EXTRA_CONFIGURE_FLAGS += --enable-unregisterised
 endif
 

Reply via email to