[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#745547: pixman: Disable vmx for ppc64el architecture



On 04/22/2014 03:27 PM, Julien Cristau wrote:
>> In order to be able to compile pixman on the ppc64el archictecture, the option
>> disable-vmx needs to be disabled at this initial moment.  So, this patch adds the
>> --disable-vmx option during the configure process.  
>>
> Shouldn't configure be made to detect it instead?
Yes, this makes sense. Are you willing to see something like this?

--- pixman-0.32.4.new/configure.ac      2013-11-18 01:58:34.000000000 +0000
+++ pixman-0.32.4/configure.ac  2014-04-22 19:52:26.000000000 +0000
@@ -540,6 +540,9 @@ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
 #if defined(__GNUC__) && (__GNUC__ < 3 || (__GNUC__ == 3 && __GNUC_MINOR__ < 4))
 #error "Need GCC >= 3.4 for sane altivec support"
 #endif
+#if defined(__PPC64__) && (__BYTE_ORDER__==__ORDER_LITTLE_ENDIAN__)
+#error VMX utilization is still not ready on ppc64el
+#endif
 #include <altivec.h>
 int main () {
     vector unsigned int v = vec_splat_u32 (1);


Reply to: