AppImage / AppImage/AppImageKit

Cannot run foreign architecture AppImages directly with binfmt_misc support

未关闭
#965 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
没有语言数据
星标
9.4k
派生
588
PR 合并指标
30 天内没有已合并 PR

描述

I cannot directly run foreign architecture (ARM, ARM64) AppImages on an x64 installation even with binfmt-support and qemu-user-static installed.

Trying to run `appimagetool-armhf.AppImage` gives:

```
~/$ ./appimagetool-armhf.AppImage
bash: ./appimagetool-armhf.AppImage: Cannot execute binary file: Exec format error
```

I can run it by explicitly invoking qemu-arm-static though:

```
~/$ qemu-arm-static ./appimagetool-armhf.AppImage
appimagetool, continuous build (commit effcebc), build 2084 built on 2019-05-01 21:02:27 UTC
SOURCE is missing
```

I can run other ARM executables directly without explicitly invoking qemu:

```
~/$ arm-linux-gnueabihf-gcc helloworld.cpp -o helloworld
~/$ file helloworld
helloworld: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-, for GNU/Linux 3.2.0, BuildID[sha1]=1b96535ea748e1c22960251f84ea72c0ff1a45df, not stripped
~/$ ./helloworld
Hello world!
```
Would be great if this could be made to work for AppImages too.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。