[PATCH] Fix -unawareness of large-addresses on mingw (#8520)

transfuturist timothy.schmid at gmail.com
Tue Jun 3 06:06:19 UTC 2014


---
 compiler/main/SysTools.lhs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/main/SysTools.lhs b/compiler/main/SysTools.lhs
index dc9642d..1cf1155 100644
--- a/compiler/main/SysTools.lhs
+++ b/compiler/main/SysTools.lhs
@@ -740,6 +740,7 @@ getLinkerInfo' dflags = do
                    [ -- Reduce ld memory usage
                      "-Wl,--hash-size=31"
                    , "-Wl,--reduce-memory-overheads"
+                   , "-Wl,--large-address-aware"      --Trac #8520
                      -- Increase default stack, see
                      -- Note [Windows stack usage]
                    , "-Xlinker", "--stack=0x800000,0x800000" ]
-- 
1.8.4.msysgit.0



More information about the ghc-devs mailing list