I just submitted a patch to the dev mailing list. Just in case there is an issue with the submitted patch, or if Erik wants it sooner, I attached the patch I submitted.
** Patch added: "0001-Change-to-correct-PowerPC-on-64bit-host.patch" https://bugs.launchpad.net/qemu/+bug/1052857/+attachment/3472367/+files/0001-Change-to-correct-PowerPC-on-64bit-host.patch -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1052857 Title: qemu-user compiled static for ppc fails on 64bit hosts Status in QEMU: New Bug description: On debian I used debootstrap to set up a powerpc chroot. If I then copy in a statically linked qemu-user ppc binary it will work for some commands in the chroot and fail for others. Steps to reproduce: host$ mkdir powerpc host$ sudo debootstrap --arch=powerpc --foreign wheezy powerpc http://ftp.debian.org/debian host$ sudo cp /usr/bin/qemu-ppc-static powerpc/usr/bin/ host$ LANG=C sudo chroot powerpc /usr/bin/qemu-ppc-static /bin/bash I have no name!@guest:/# pwd / I have no name!@guest:/# cd home/ I have no name!@guest:/home# ls qemu-ppc-static: /tmp/buildd/qemu-1.1.2+dfsg/linux-user/signal.c:4341: setup_frame: Assertion `({ unsigned long __guest = (unsigned long)(ka->_sa_handler) - guest_base; (__guest < (1ul << 32)) && (!reserved_va || (__guest < reserved_va)); })' failed. I have also built this from the git HEAD sources (hash 6b80f7db8a7f84d21e46d01e30c8497733bb23a0) and I get the same result. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1052857/+subscriptions