Segmentation fault during build of 5.04.3

Simon Marlow simonmar at microsoft.com
Thu Apr 24 10:31:14 EDT 2003


 
> On Tue, Apr 22, 2003 at 03:32:10PM +0100, Simon Marlow wrote:
> >  
> > > * I'm using gcc 3.2.2 (which I've built lots of other 
> software with
> > >   successfully).
> > 
> > That gives me an idea: try recompiling genprimopcode with 
> -fasm and see
> > if that solves the crashes:
> > 
> >   cd ghc/utils/genprimopcode
> >   make clean
> >   make EXTRA_HC_OPTS=-fasm
> 
> Yes, this indeed takes care of the problem with genprimopcode.  I
> tried "make all EXTRA_HC_OPTS=-fasm" at the top level, and reissued
> compilations manually for modules that required -fvia-C.

Ok, this looks like an incompatibility with gcc 3.2.2 on sparc.

Installing gcc 2.95 will get you going for now.  I'll see if I can
install 3.2.2 on the Sparc machine I have access to and try to figure
out what's broken.

Cheers,
	Simon




More information about the Glasgow-haskell-bugs mailing list