[GHC] #696: segmentation fault in ./genprimopcode (x86_64)

Ian Lynagh igloo at earth.li
Wed Mar 1 11:50:12 EST 2006


On Wed, Mar 01, 2006 at 04:34:53PM -0000, GHC wrote:
> 
>  So I guess your Debian build of GHC 6.4.1 is unregisterised.  This is
>  something you should probably look into - there's no reason to have an
>  unregisterised build of 6.4.1 for x86_64, registerised works fine and is a
>  lot faster (and -fasm works).

amd64 is already set to be registerised in the next version, but I
haven't managed to upload it yet due to the various problems discussed
elsewhere. Will hopefully happen RSN though...

>  It is usual to disable the native code generator for a registerised build.
>  I guess the Debian folks didn't do this.

Currently I have this for most arches:

    echo "GhcUnregisterised=YES" >> mk/build.mk
    echo "SplitObjs=NO" >> mk/build.mk

I'll add

    echo "GhcWithNativeCodeGen=NO" >> mk/build.mk

Is there anything else you'd recommend?


Thanks
Ian




More information about the Glasgow-haskell-bugs mailing list