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

Simon Marlow simonmarhaskell at gmail.com
Thu Mar 2 07:28:48 EST 2006


Ian Lynagh wrote:
> 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.

Clearly I meant "unregisterised" here, not "registerised".

> 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?

Does GHCi work on an unregisterised build?  If it does, I'm pleasantly 
surprised :-)  If not, you probably want GhcWithInterpreter=NO too.

I've now made it so that GhcWithNativeCodeGen=NO is implicit if 
GhcUnregisterised=YES

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list