Norbert Klose writes:
>
 ..
> ../../ghc/driver/ghc -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing
> -split-objs -odir ghc/ArrBase    -c ghc/ArrBase.lhs -o ghc/ArrBase.o
> -osuf o
 ...
> /tmp/ghc19538.hc:6388: fixed or forbidden register was spilled.
> This may be due to a compiler bug or to impossible asm
> statements or clauses.
>

Hi,

to get past this one, have a look at

 http://www.dcs.gla.ac.uk/fp/software/ghc/bugs.html#2.04-x86

which works around the above gcc panic with the -monly-n-regs option.

However, there is an elusive bug in the handling of -monly-n-regs in
GHC, so I'd recommend having a look at

 http://www.dcs.gla.ac.uk/fp/software/ghc/bugs.html#2.05-mangler

and apply the patch given there before continuing.

Hope that gets you going again,

--Sigbjorn

Reply via email to