Re: FW: ghc-6.4.1 on solaris

Sven Panne <[email protected]>
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Am Mittwoch, 13. Juli 2005 10:04 schrieb Christian Maeder:
> No, sorry, I did not fully inspect the log (~maeder/haskell/leo-ghc.log2)
>
> ../../ghc/compiler/ghc-inplace -H16m -O -Wall -fffi -Iinclude '-#include
> "HsOpenG
> L.h"' -cpp -funbox-strict-fields -I/usr/local/X11/include
> -DCALLCONV=ccall -igno
> re-package OpenGL -O -Rghc-timing -fgenerics  -package base -fgenerics
> -split-obj
> s    -c Graphics/Rendering/OpenGL/GL/VertexSpec.hs -o
> Graphics/Rendering/OpenGL/G
> L/VertexSpec.o  -ohi Graphics/Rendering/OpenGL/GL/VertexSpec.hi
> /tmp/ghc2171.hc: In function `scP4_ret':
> /tmp/ghc2171.hc:6847: error: unable to find a register to spill in class
> `GENERAL
> _REGS'
> /tmp/ghc2171.hc:6847: error: this is the insn:
> (insn 36 35 37 0 (set (reg:DF 9 %o1 [ d ])
>         (reg:DF 44 %f12 [orig:111 d ] [111])) 89 {*movdf_insn_sp32}
> (insn_list 15
>  (nil))
>     (expr_list:REG_DEAD (reg:DF 44 %f12 [orig:111 d ] [111])
>         (nil)))
> /tmp/ghc2171.hc:6847: confused by earlier errors, bailing out
> <<ghc: 653241564 bytes, 371 GCs, 6636794/11308564 avg/max bytes
> residency (7 samp
> les), 30M in use, 0.01 INIT (0.00 elapsed), 8.15 MUT (19.85 elapsed),
> 3.05 GC (5.
> 46 elapsed) :ghc>>
> gmake[2]: *** [Graphics/Rendering/OpenGL/GL/VertexSpec.o] Error 1
> gmake[1]: *** [all] Error 1
> gmake[1]: Leaving directory `/home/maeder/haskell/leo-ghc/libraries'
> gmake: *** [build] Error 1
> + date
> Wed Jul 13 05:39:16 MEST 2005

That's really strange, because I think I've used the same machine and the same 
setup... Hmmm, I'll update and rebuild again (using my previous GHC from HEAD 
and the gcc from /usr/local/bin/gcc, which seems to be the default one in the 
path).

Cheers,
   S.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.