"Unable to find a register to spill in class `SIREG'."
Jens Petersen
petersen at redhat.com
Thu Nov 22 21:28:02 EST 2001
"Simon Marlow" <simonmar at microsoft.com> writes:
>> /tmp/ghc19742.hc:4928: Unable to find a register to spill in
>> class `SIREG'.
>> /tmp/ghc19742.hc:4928: confused by earlier errors, bailing out
>> make: *** [examples/Libgr.o] error 1
>
> This is an error from the C compiler telling you it ran out of registers
> while compiling the intermediate C. Try adding the -monly-3-regs
> option, and failing that -monly-2-regs.
-monly-2-regs did the trick.
Thanks, Jens
More information about the Glasgow-haskell-bugs
mailing list