Ian Collier wrote:
> While I was trying to compiling ArrBase.o on i386-unknown-solaris2 this
> message appeared:
> >/tmp/ghc18527.hc:6388: fixed or forbidden register was spilled.
> >This may be due to a compiler bug or to impossible asm
> >statements or clauses.
This happened with me, with ghc-2.04 aswell. Sigbjorn said
"the backend is trying to steal more x86 registers than gcc can handle".
The solution is to do the following, compile ArrBase separately using:

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

Then go on with the make.
Meurig Sage
Dept of Computing Science
University of Glasgow

Reply via email to