ghc 6.10.1 on freebsd 7 amd64 - ghci problems

Markus Barenhoff alios at alios.org
Thu Nov 27 06:32:16 EST 2008


On Thu 27.11 09:49, Simon Marlow wrote:
> Brandon S. Allbery KF8NH wrote:
> >On 2008 Nov 26, at 9:30, Markus Barenhoff wrote:
> >>Because the ports seem not to get updated, I tried to compile ghc 6.10.1
> >>under freebsd 7 on amd64 myself. For compiling I first used the ports ghc
> >
> >The tree's not being updated because 64-bit on freebsd doesn't work yet, 
> >as you found.  I believe a fix for the mmap() problem has been committed 
> >for the upcoming 6.10.2.
> 
> Yes.
> 
> http://hackage.haskell.org/trac/ghc/ticket/2063
> 
> The patches haven't been merged into stable yet, but you can grab a HEAD 
> snapshot and try that instead - we'd appreciate the testing.

I checked out and translated the head version of ghc today from darcs.
It compiled fine. When I now try to start the ghci I get the following:

---- snip ----
GHCi, version 6.11.20081126: http://www.haskell.org/ghc/  :? for help
ghc: internal error: loadObj: failed to mmap() memory below 2Gb; asked for 626688 bytes at 0x40000000, got 0x801635000.  Try specifying an address with +RTS -xm<addr> -RTS
    (GHC version 6.11.20081126 for x86_64_unknown_freebsd)
	    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
		Abort (core dumped)	
---- snip ----

If it helps somehow, you can find the core dump here:
http://www.alios.org/~alios/ghc.core.bz2

Regards
Markus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 479 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20081127/97f41381/attachment.bin


More information about the Glasgow-haskell-users mailing list