Mariano Suarez Alvarez writes:
> Building ghc-2.04-pl2 on a i586 under linux with a `gcc --version` 2.7.2.1
> in /fptools/ghc, compiling ArrBase.lhs, ghc-0.29 dies saying 
> 
> > /tmp/ghc29172.hc:953: fixed or forbidden register was spilled.
> > This may be due to a compiler bug or to impossible asm
> 
> What then?
> 

Try compiling it with -monly-2-regs set, i.e.

  make EXTRA_HC_OPTS=-monly-2-regs ghc/ArrBase.o ; make

see optimisation section of user's guide for info of why
this flag is needed. 

Unfortunately, we did not try compiling 2.04 on a box with an Intel
Inside before releasing it, so you may run into this panic a couple of
times when compiling the prelude libraries (or the compiler with itself).

> 
> PS: Why is the deforester omitted by default when building ghc-2.04?
> 

Not Commonly Used, and I doubt it will compile if you try enabling it
now (reason: bitrot).

hth,

--Sigbjorn

Reply via email to