mmap() returned memory outside 2Gb - GHC on ubuntu hardy amd64

Rahul Kapoor rk at trie.org
Thu Nov 20 00:04:46 EST 2008


> I've made a speculative fix.  If you're able to test it, that would be very
> helpful:
>
> http://hackage.haskell.org/trac/ghc/ticket/2063
>
> Cheers,
>        Simon


I had no luck installing the binary snapshot (libedit problems, which I worked
around by creating a link to the version I had) after which I started get libc
version problems so I gave up on that built the HEAD snapshot from source.

running ghci in-place now gives:

GHCi, version 6.11.20081117: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
ghc: internal error: loadObj: failed to mmap() memory below 2Gb; asked
for 57344 bytes at 0x0x4009fa00, got 0x0x7f3a9b2b8000.  Try specifying
an address with +RTS -xm<addr> -RTS
    (GHC version 6.11.20081117 for x86_64_unknown_linux)


I am not really sure what I <addr> for -xm should be.

Rahul


More information about the Glasgow-haskell-users mailing list