diff options
Diffstat (limited to 'results/classifier/zero-shot-user-mode/output/instruction/1052857')
| -rw-r--r-- | results/classifier/zero-shot-user-mode/output/instruction/1052857 | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/results/classifier/zero-shot-user-mode/output/instruction/1052857 b/results/classifier/zero-shot-user-mode/output/instruction/1052857 new file mode 100644 index 00000000..ba47af0d --- /dev/null +++ b/results/classifier/zero-shot-user-mode/output/instruction/1052857 @@ -0,0 +1,21 @@ +instruction: 0.613 +syscall: 0.197 +runtime: 0.190 + + + +qemu-user compiled static for ppc fails on 64bit hosts + +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. \ No newline at end of file |