debian ghci on sparc64

Simon Marlow simonmar at microsoft.com
Tue Jan 18 11:41:02 EST 2005


On 15 December 2004 14:46, William Lee Irwin III wrote:

> There seems to be some trouble with the debian ghci on sparc64. I can
> dredge up more information if given an idea of what to look for.
> 
> $ ghci
>    ___         ___ _
>   / _ \ /\  /\/ __(_)
>  / /_\// /_/ / /  | |      GHC Interactive, version 6.2.2, for
> Haskell 98. / /_\\/ __  / /___| |      http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_|      Type :? for help.
> 
> Loading package base ... linking ... done.
> zsh: 7796 segmentation fault  ghci

This turned out to be relatively straightforward.  Two fixes:
ghc-asm.lprl needs slight modifications for new versions of gcc on
sparc-*-linux, and the dynamic linker also needs to have USE_MMAP
enabled due to needing to execute dynamically allocated memory.

I've made these fixes in the HEAD, and also merged them into the 6.2
branch.  William: there's a fixed tree in /mnt/dm0/simonmar/ghc-6.2.2 on
your sparc64 box.

Cheers,
	Simon


More information about the Glasgow-haskell-users mailing list