[Qemu-devel] qemu-ppc v0.10.2 linux: segfault on all ppc binaries
From:
Jay Schulist
Subject:
[Qemu-devel] qemu-ppc v0.10.2 linux: segfault on all ppc binaries
Date:
Tue, 21 Apr 2009 12:31:18 -0700
Hello,
I'm using qemu-ppc v0.10.2 on Intel x86 Fedora 11 and I can't get any PPC binaries to work, every binary fails to execute (even hello world) and ends up with a segmentation fault (the crash is included below).
I have noticed that every program never seems to get past doing an mmap or mmap2.
I'm using a PPC cross-compiler and sys-root made from crosstools-ng's standard powerpc-unknown-linux-gnu configuration. This binary works fine on an actual PPC-linux system, but never using qemu-ppc. I've tried many different combinations of gcc/glibc for the cross-compiler and it hasn't seemed to make any difference.
Any help would be greatly appreciated as I'm not sure what to try next to debug this issue. In case it helps, I've included the the crash, qemu version, hello.c program, /proc/cpu output, and gcc -v information.