ubuntu-x-swat team mailing list archive
-
ubuntu-x-swat team
-
Mailing list archive
-
Message #51152
[Bug 535183] [NEW] pixman doesn't autodetect SIMD support at build time on arm.
Public bug reported:
Like the summary says, pixman is compiling without SIMD support on arm
when the same package compiled under karmic does enable SIMD support.
The configure.ac check that is failing -
dnl Check for ARM SIMD instructions
ARM_SIMD_CFLAGS="-mcpu=arm1136j-s"
have_arm_simd=no
AC_MSG_CHECKING(whether to use ARM SIMD assembler)
xserver_save_CFLAGS=$CFLAGS
CFLAGS="$ARM_SIMD_CFLAGS $CFLAGS"
AC_COMPILE_IFELSE([
int main () {
asm("uqadd8 r1, r1, r2");
return 0;
}], have_arm_simd=yes)
CFLAGS=$xserver_save_CFLAGS
AC_ARG_ENABLE(arm-simd,
[AC_HELP_STRING([--disable-arm-simd],
[disable ARM SIMD fast paths])],
[enable_arm_simd=$enableval], [enable_arm_simd=auto])
if test $enable_arm_simd = no ; then
have_arm_simd=disabled
fi
if test $have_arm_simd = yes ; then
AC_DEFINE(USE_ARM_SIMD, 1, [use ARM SIMD compiler intrinsics])
else
ARM_SIMD_CFLAGS=
fi
AC_MSG_RESULT($have_arm_simd)
if test $enable_arm_simd = yes && test $have_arm_simd = no ; then
AC_MSG_ERROR([ARM SIMD intrinsics not detected])
fi
AC_SUBST(ARM_SIMD_CFLAGS)
AM_CONDITIONAL(USE_ARM_SIMD, test $have_arm_simd = yes)
from #ubuntu-arm irc with a fix-
<lool> Sarvatt: Quick workaround for you: add CFLAGS+=-marm in debian/rules
** Affects: pixman (Ubuntu)
Importance: Undecided
Status: New
--
pixman doesn't autodetect SIMD support at build time on arm.
https://bugs.launchpad.net/bugs/535183
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to pixman in ubuntu.
Follow ups
References