#4214: OSX 64bit: ghci: loadObj internal error
-------------------------------+--------------------------------------------
Reporter: akborder | Owner:
Type: bug | Status: new
Priority: high | Milestone: 7.0.2
Component: Compiler | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: MacOS X | Blocking:
Architecture: x86_64 (amd64) | Failure: GHCi crash
-------------------------------+--------------------------------------------
Comment(by gwright):
The immediate problem here is likely that 6.12.3 doesn't adjust the size
of pagezero, so all references to memory below 2GB are invalid and `mmap`
will refuse to map any memory into the requested range. The quick fix is
to add
{{{
#if defined(darwin_HOST_OS) && defined(x86_64_HOST_ARCH)
, "-pagezero_size", "0x1000"
#endif
}}}
to the bottom of `rts/package.conf.in`. In my tests, this fixes a lot of
the failing ghci tests (about 600). Many tests still fail with other
crashes after thing addition, however.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4214#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs