pixman doesn't autodetect SIMD support at build time on arm.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pixman (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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_
have_arm_simd=no
AC_MSG_
xserver_
CFLAGS=
AC_COMPILE_IFELSE([
int main () {
asm("uqadd8 r1, r1, r2");
return 0;
}], have_arm_simd=yes)
CFLAGS=
AC_ARG_
[AC_
[enable_
if test $enable_arm_simd = no ; then
have_
fi
if test $have_arm_simd = yes ; then
AC_DEFINE(
else
ARM_SIMD_CFLAGS=
fi
AC_MSG_
if test $enable_arm_simd = yes && test $have_arm_simd = no ; then
AC_MSG_
fi
AC_SUBST(
AM_CONDITIONAL(
from #ubuntu-arm irc with a fix-
<lool> Sarvatt: Quick workaround for you: add CFLAGS+=-marm in debian/rules
uqadd isn't available in thumb mode; we need to either build pixman/ pixman- arm-simd. c with -marm or find a replacement instruction.