[HOpenGL] Some quick feedback (was ANNOUNCE: HOpenGL 1.02 released)

Simon Marlow simonmar@microsoft.com
Tue, 23 Apr 2002 12:32:12 +0100


> [ Forwarded to cvs-ghc, too, because of the first bug ]
>=20
> anatoli wrote:
> > I'm on Solaris 2.6, GHC 5.02.3.
> > Thank you for good work! Some quick notes:
> >=20
> > 1. examples/redbook_HS/Clip dumps core :(
>=20
> A quick look with ddd revealed that GHC's RTS has a bug in alloca
> resp. allocaBytes: It must return a pointer with the *strictest*
> alignment, which is 8 bytes on SPARC for 64-bit integrals/floats.
> Currently, the returned pointer has only an alignment of 4 bytes.
> :-(

I think I've now fixed alloca to always return 8-byte aligned memory.

Cheers,
	Simon