[PATCH]: Fix GLX crashes on RISC cpus.

Daniel Stone daniel at fooishbar.org
Wed Dec 26 23:43:52 PST 2007


On Wed, Dec 26, 2007 at 10:44:21PM -0800, David Miller wrote:
> RISC chips that trap on unaligned loads and stores need to
> define __GLX_ALIGN64.  This used to get added to the cflags
> in the old *.cf files but it no longer does in the modular
> X server.

This is the wrong approach for modular; instead of hardcoding a list of
CPUs that throw errors on unaligned accesses, you could just check
whether or not unaligned accesses work.

> Also, Alpha needs to pass -mieee to the compiler as well.

How portable is this?

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20071227/22267c9e/attachment.pgp>


More information about the xorg mailing list