Package: qemu-user-static Version: 1.7.0+dfsg-2 Severity: normal Dear Maintainer,
I managed to run: $ qemu-ppc-static /lib/powerpc-linux-gnu/libc.so.6 which prints the usual text, but so far that's the only program that hasn't failed with: $ qemu-ppc-static ./bin/true Invalid data memory access: 0xb6d15008 NIP f67e257c LR f67e2658 CTR 00000000 XER 00000000 MSR 00006040 HID0 00000000 HF 00006000 idx 0 TB 00000000 00000000 GPR00 00000000f67e2634 00000000f6ffecc8 0000000000000000 00000000772b5010 GPR04 00000000f67ec31c 000000000000000b 0000000000000002 0000000000000000 GPR08 0000000000000030 0000000080b40010 00000000f677500a 0000000000000002 GPR12 00000000f67dcb98 0000000000000000 00000000f67fea9c 00000000f67fe8c4 GPR16 0000000000000000 00000000f67fe900 000000000000000a 0000000000000000 GPR20 00000000f67feaf0 00000000f67fd4d8 0000000000000000 00000000ffffffff GPR24 00000000100006f9 00000000772b5010 000000007f51571d 00000000c059fff4 GPR28 00000000b6d14ff4 00000000200effff 00000000f67fdff4 0000000010077fff CR 44282042 [ G G E L E - G E ] RES ffffffff FPR00 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR04 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR08 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR12 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR16 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR20 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR24 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPR28 0000000000000000 0000000000000000 0000000000000000 0000000000000000 FPSCR 00000000 qemu: uncaught target signal 11 (Segmentation fault) - core dumped (I tested the /bin/true of coreutils_8.21-1_powerpc.deb to make sure it wasn't my cross-compiler that was broken) I must be doing something wrong, but I don't know what, because I followed exactly the same steps as for armhf, and that one is working just fine (thanks!). I also tested on the same system with qemu-ppc (not static), qemu-ppc64abi32, and with the x86 version of qemu-ppc-static, and all failed. It was already failing a lot with version 1.6, but I seem to remember that at least a trivial "return 0" program worked. Other people seem to have more luck, but I have mostly read posts about debootstrap or chroots, not about multiarch setups. According to strace, the segfault happens just after closing /etc/ld.so.cache. On arm, that's followed by a second check for /etc/ld.so.nohwcap and then looking everywhere for libc.so.6. -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 armhf powerpc Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash qemu-user-static depends on no packages. Versions of packages qemu-user-static recommends: ii binfmt-support 2.0.16 Versions of packages qemu-user-static suggests: ii sudo 1.8.8-2 -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org