Control: retitle -1 x86 emulation does not work on arm host
Control: reassign -1 qemu-user
Control: tag -1 - moreinfo

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.

> # 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,

/mjt


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to