http://bugs.freedesktop.org/show_bug.cgi?id=25663
--- Comment #5 from Ben Matthews <[email protected]> 2009-12-16 00:09:01 PST --- BG/L is more or less Linux based (not AIX at all, though still an IBM product). The host string is powerpc-bgl-blrts-gnu-gcc. As such, _AIX is not defined. __blrts and __blrts__ should both be defined instead (at least gcc usually defines both, I'm not sure how to get xlc to dump it's list of preset macros). I apologize for missing that you had a public git repository. Normally I would try that before reporting anything, but I didn't find it the first time through your website. This patch against your latest git version seems to fix the xlc build (gcc is still unhappy about this issue and some of the others -- I can try to figure that out later): diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h index 87c3b2e..4eb249b 100644 --- a/src/mesa/main/compiler.h +++ b/src/mesa/main/compiler.h @@ -234,7 +234,7 @@ extern "C" { #elif defined(__APPLE__) #include <CoreFoundation/CFByteOrder.h> #define CPU_TO_LE32( x ) CFSwapInt32HostToLittle( x ) -#elif defined(_AIX) +#elif (defined(_AIX) || defined(__blrts)) #define CPU_TO_LE32( x ) x = ((x & 0x000000ff) << 24) | \ ((x & 0x0000ff00) << 8) | \ ((x & 0x00ff0000) >> 8) | \ -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
