Can't compile GHC 6.8.2

Barney Stratford barney_stratford at fastmail.fm
Fri Dec 12 04:36:09 EST 2008


> The right place to add this would be in rts/package.conf.in, in extra-ld-
> opts, with suitable platform-specific #ifdefs.  If you can whip up a
> patch and test it, I'll commit.
Here's the patch, which now compiles correctly.

diff -u a/rts/package.conf.in b/rts/package.conf.in
--- a/rts/package.conf.in       Mon Dec 10 18:11:32 2007
+++ b/rts/package.conf.in       Thu Dec 11 09:36:54 2008
@@ -150,6 +150,10 @@
         , "-u", "base_GHCziConc_ensureIOManagerIsRunning_closure"
 #endif
 
+#ifdef darwin_HOST_OS
+         , "-read_only_relocs", "warning"
+#endif
+
 framework-dirs:
 
 #ifdef HAVE_FRAMEWORK_GMP

Cheers,
Barney.


More information about the Glasgow-haskell-users mailing list