This weekend, when working on a Mesa driver for an ARM platform, I ran straight into a strange problem where the glClear () in glxdemo produced a white background rather than a grey one. I traced it down to a problem with the CLAMP macro called in src/mesa/main/clear.c.
A bit of digging eventually revealed that it's due to a bug in GCC: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39501, which affects this type of calculation under certain circumstances. Adding "-fno-finite-math-only" to the compiler options works around it. The bug still exists in mainline GCC, so this would currently appear to be the only useful workaround. This message is just intended as a heads-up that Mesa is one of the pieces of software affected by this bug, especially given increasing interest in running Mesa/DRI on ARM platforms. Hopefully noone else now needs to spend hours tracking down this or similar problems. Tom -- Thomas White <[email protected]> ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
