[Pixman] [PATCH 0/3] ARM: fixes and workarounds for using pixman with QEMU
Siarhei Siamashka
siarhei.siamashka at gmail.com
Tue Jan 11 08:10:36 PST 2011
From: Siarhei Siamashka <siarhei.siamashka at nokia.com>
The intention of this patchset is to make it easier to test changes
to pixman code for the possible ARM related regressions without the
need to run it on real ARM hardware.
When having ARM crosscompiler (for example CodeSourcery provides one) and
qemu-user with binfmt-misc configured, testing pixman ARM build just becomes
a simple matter of running something like this:
$ ./configure --host=arm-none-linux-gnueabi --enable-static-testprogs --disable-openmp
$ make check
Older QEMU versions have incomplete ARM NEON support, so additionally
using '--disable-arm-neon' configure option may be required to pass the
tests. Also because of limited and buggy threads support in userspace qemu,
pixman has to be configured with '--disable-openmp' option.
The workaraund for the /proc/self/auxv qemu issue may be not the very
best solution. Probably alternatives could try '/proc/cpuinfo' text
parsing or something else. Comments, especially for this part, are welcome.
Also running the same kind of test with big endian MIPS crosscompiler
provides an easy way of testing for big endian related problems and
regressions without having access to big endian hardware.
Siarhei Siamashka (3):
A new configure option --enable-static-testprogs
ARM: do /proc/self/auxv based cpu features detection only in linux
ARM: qemu related workarounds in cpu features detection code
configure.ac | 14 +++++++++
pixman/pixman-cpu.c | 76 +++++++++++++++++++++++++++++++++++++++++---------
test/Makefile.am | 21 ++++++++++++++
3 files changed, 97 insertions(+), 14 deletions(-)
--
1.7.2.2
More information about the Pixman
mailing list