Excerpts from Michael Tokarev's message of Tue Nov 11 14:16:23 +0100 2014: > 11.11.2014 13:18, Michal Suchanek wrote: > [] > >> So, to rehash, do I understand it right that you're having > >> probs with running x86 binaries on arm, when using -user-binfmt > >> but not when using -user-static ? > > > > I am having problem running x86 binaries on arm with either package. > > Aha. That is entirely different thing. Retitling the bugreport > accordingly. Please correct me if I'm wrong.
That's not entirely true. It only fails for static binaries and I happened to have a statically linked application. I am able to run full x86 wine at racing snail speed. Probably because it's dynamically linked. > > > # strace ./app > > execve("./app", ["./app"], [/* 17 vars */]) = -1 ENOEXEC (Exec format > > error) > > write(2, "strace: exec: Exec format error\n", 32strace: exec: Exec > > format error > > ) = 32 > > exit_group(1) = ? > > +++ exited with 1 +++ > > > > # file app > > app: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), > > statically linked, stripped > > > > # uname -a > > Linux sun5i 3.4.103+ #36 PREEMPT Thu Aug 28 17:40:10 CEST 2014 armv7l > > GNU/Linux > > > > There is probably problem with static binaries: > > > > # apt-get install unrar:amd64 > > ... > > ldconfig: /lib/x86_64-linux-gnu/libz.so.1 is for unknown machine 62. > > ... > > ldconfig: /lib/ld-linux.so.2 is for unknown machine 3. > > ... > > > > # unrar /? > > qemu: uncaught target signal 11 (Segmentation fault) - core dumped > > Segmentation fault > > > > # apt-get install cdebootstrap-static:amd64 > > > > # cdebootstrap-static /? > > -bash: /usr/bin/cdebootstrap-static: cannot execute binary file > > Ok. This makes sense. Thanks, will try to look into this. > Thanks Michal -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org