OSX 64bit: ghci: loadObj internal error
When I run ghci, it crashes with the following error message:
GHCi, version 6.12.3: http://www.haskell.org/ghc/ :? for help
ghc: internal error: loadObj: failed to mmap() memory below 2Gb; asked for 724992 bytes at 0x40000000. Try specifying an address with +RTS -xm<addr> -RTS
(GHC version 6.12.3 for x86_64_apple_darwin)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Abort trap
System info:
$ uname -a
Darwin mbook.localhost 10.4.0 Darwin Kernel Version 10.4.0: Fri Apr 23 18:28:53 PDT 2010; root:xnu-1504.7.4~1/RELEASE_I386 i386 i386 MacBookPro3,1 Darwin
$ gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5659)
I compiled ghc-6.12.3 from sources using ghc-6.10.4 (MacPorts) for bootstrap.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 6.12.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |
Edited by Ian Lynagh -