> > 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 Sorry, I forgot to say: It's indeed HP-UX B.10.20 A 9000/780. > 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. Thanks, I tried that and it compiled PrimOps.hc. But now 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 -O2 -optc-fomit-frame-pointer -c universal_call_c.S -o universal_call_c.o as: "universal_call_c.S", line 16: error 1052: Directive name not recognized - FILE as: warning 31: Empty source file(s) gmake[2]: *** [universal_call_c.o] Error 1 gmake[1]: *** [all] Error 1 gmake: *** [all] Error 1 Matthias Mann JWG-Universit�t Frankfurt
