
12 Dec
2008
12 Dec
'08
9:36 a.m.
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.