Compiling xorg-server for a Duron (Morgan) box, my CFLAGS include -march=athlon -mno-sse because this processor does not support SSE instructions. (this is a shortcoming in gcc's -march option, but that's a problem for another day and not strictly related to this bug). The file xorg-server-1.0.1/fb/fbmmx.c contains flawed logic when it comes to #including SSE intrinsic definitions from xmmintrin.h, and this causes a compile time error when using -mno-sse. The use of _mm_shuffle_pi16 and _MM_SHUFFLE from xmmintrin.h are correctly contained in #ifdef USE_SSE, but the #include is not. The patch fixes this behaviour to allow compilation to proceed beyond fbmmx.c - I have not yet tested any further. I suspect that this should be pushed upstream.
Created attachment 82830 [details, diff] Fix for fbmmx.c to correctly handle include of xmmintrin.h
Indeed. Please file it upstream at bugs.freedesktop.org in the xorg product and post the URL here, so we can track it. Thanks!
https://bugs.freedesktop.org/show_bug.cgi?id=6346