> While trying to compile qforeign cvs with ghc-5.02.1, I get
> the following error.
> 
> 
> /usr/bin/ghc -c -O -Wall -fglasgow-exts   -package lang 
> -package data -package concurrent -package posix -iexamples 
> -ilib -Iexamples -Ilib  examples/Libgr_hsc.c
> programs/hsc2hs-inplace --cc=/usr/bin/ghc -I. -Iexamples 
> -Ilib --template qforeign-template.h --include 
> qforeign-config.h    examples/Libgr.hsc
> /usr/bin/ghc -c -O -Wall -fglasgow-exts   -package lang 
> -package data -package concurrent -package posix -iexamples 
> -ilib -Iexamples -Ilib  examples/Libgr.hs
...
> /tmp/ghc19742.hc: In function `seBN_ret':
> /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
> rm examples/Libgr.hs
> 
> Compilation exited abnormally with code 2 at Thu Nov 22 12:46:40

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.

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to