> When compiling ghc-4.06 I get this error message:
>
> ../driver/ghc-inplace -I../includes -I. -Iparallel -optc-Wall
> -optc-W
> -optc-Wstrict-prototypes -optc-Wmissing-prototypes
> -optc-Wmissing-declarations -optc-Winline
> -optc-Waggregate-return -optc-Wpointer-arith
> -optc-Wbad-function-cast -O2 -optc-DCOMPILING_RTS
> -static -c PrimOps.hc -o PrimOps.o -osuf o
> PrimOps.hc:581: fixed or forbidden register was spilled.
> This may be due to a compiler bug or to impossible asm
> statements or clauses.
> gmake[2]: *** [PrimOps.o] Error 1
> gmake[1]: *** [all] Error 1
> gmake: *** [all] Error 1
>
> Does sb have a hint, what to do?
Is this on an HP box, by any chance? I get the same error when compiling on
HP/UX, in a couple of functions that deal with long longs in PrimOps.hc. At
the moment I just #ifdef out these two functions (integerToInt64 and
integerToWord64 I think) on HP.
Cheers,
Simon