[Pixman] [PATCH] Check for NEON using a signal handler to catch SIGILL

Aaron Plattner aplattner at nvidia.com
Thu Dec 9 08:19:04 PST 2010


On Thu, Dec 09, 2010 at 04:36:15AM -0800, Mike McCormack wrote:
> I have run into a problem with pixman's CPU detection code under QEMU ARM.
> 
> When trying to run an executable linked with pixman under QEMU, I get a crash like this:
> 
> 21553 open("/proc/self/auxv",O_RDONLY) = 3
> ...
> 21553 read(3,0x7ffdb0,8) = 8
> qemu: uncaught target signal 11 (Segmentation fault) - core dumped
> Exit reason and status: signal 11
> 
> /proc/self/auxv is from the host x86 kernel, not an ARM kernel, as pixman expects.
> Parsing /proc/self/auxv will only work on Linux with proc mounted, and not under QEMU.

Doesn't this indicate a bug in QEMU, rather than something that needs to be
fixed in the emulated environment?


More information about the Pixman mailing list