[Pixman] [PATCH 1/2] autotools: use custom build rule to build iwMMXt code

Siarhei Siamashka siarhei.siamashka at gmail.com
Sat Jul 27 10:35:57 PDT 2013


On Sat, 27 Jul 2013 15:02:42 +0200
Julien Cristau <jcristau at debian.org> wrote:

> Hi Matt,
> 
> On Wed, May 30, 2012 at 16:46:38 -0400, Matt Turner wrote:
> 
> > gcc has no sane way of enabling iwmmxt code generation, like -msse for
> > SSE, so you have to use -march=iwmmxt{,2}. User CFLAGS are placed after
> > -march=iwmmxt and override the march value, so we have to use a custom
> > build rule to order the CFLAGS such that pixman-mmx.c will be built with
> > the necessary CFLAGS.
> > ---
> >  configure.ac       |    2 +-
> >  pixman/Makefile.am |   18 +++++++++++++-----
> >  2 files changed, 14 insertions(+), 6 deletions(-)
> > 
> This custom rule seems to have dependency issues, see
> https://buildd.debian.org/status/fetch.php?pkg=pixman&arch=armel&ver=0.30.0-1&stamp=1374857136

Interesting. For armhf it succeeds because iwmmxt support is not built
at all:

configure:13042: checking whether to use ARM IWMMXT intrinsics
configure:13068: gcc -c -g -O2 -Wall -fno-strict-aliasing -fvisibility=hidden -flax-vector-conversions -Winline -march=iwmmxt2  conftest.c >&5
conftest.c:1:0: sorry, unimplemented: iWMMXt and hardware floating point

Is there a pre-built debian armel rootfs available somewhere for a
quick test?

-- 
Best regards,
Siarhei Siamashka


More information about the Pixman mailing list