
Am Donnerstag, 9. Juni 2005 12:28 schrieb Simon Marlow:
[ forwarding to hopengl@haskell.org ]
Christian is having trouble compiling the HOpenGL in GHC 6.4 on Solaris. The symptom is a gcc crash when compiling Graphics.Rendering.OpenGL.GL.VertexSpec (see attached log). It fails with gcc 4.0.0 and 3.3.6.
Is there anything in that file that might cause gcc trouble, such as foreign calls to inline C functions maybe? Any guesses at a workaround?
FYI: I've just committed a fix to CVS HEAD for GHC on SPARC to reduce the register pressure on gcc, which will probably make its way into GHC 6.4.1. The OpenGL/GLUT packages compile fine now with gcc 3.4.4 on SPARC, success stories and/or tragic failures with this patch are highly welcome... Cheers, S.