$ qemu-arm --version
qemu-arm version 5.2.0 (Debian 1:5.2+dfsg-6)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
I’m seeing this error on a totally different file:
I’ve made a short test program (hello world-ish) and compiled it with the OpenWrt toolchain but added -static so I can run it on the host using qemu-user-arm:
$ qemu-arm --version
qemu-arm version 5.2.0 (Debian 1:5.2+dfsg-6)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
I’m seeing this error on a totally different file:
I’ve made a short test program (hello world-ish) and compiled it with the OpenWrt toolchain but added -static so I can run it on the host using qemu-user-arm:
$ STAGING_ DIR=$PWD/ staging_ dir PATH=staging_ dir/toolchain- arm_cortex- a15+neon- vfpv4_gcc- 7.5.0_musl_ eabi/bin: $PATH arm-openwrt- linux-muslgnuea bi-gcc -Os -pipe -g3 -fno-caller-saves -fno-plt -fhonour-copts -mfloat-abi=hard -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -static x.c
$ ./a.out
Allocating guest commpage: Operation not permitted