diff options
Diffstat (limited to 'results/classifier/118/graphic/1755')
| -rw-r--r-- | results/classifier/118/graphic/1755 | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/results/classifier/118/graphic/1755 b/results/classifier/118/graphic/1755 new file mode 100644 index 000000000..57c00ac69 --- /dev/null +++ b/results/classifier/118/graphic/1755 @@ -0,0 +1,50 @@ +graphic: 0.827 +architecture: 0.804 +user-level: 0.795 +performance: 0.781 +device: 0.764 +x86: 0.742 +arm: 0.719 +files: 0.709 +permissions: 0.705 +network: 0.638 +PID: 0.627 +socket: 0.614 +peripherals: 0.536 +semantic: 0.530 +ppc: 0.523 +register: 0.521 +mistranslation: 0.497 +VMM: 0.479 +vnc: 0.474 +TCG: 0.466 +hypervisor: 0.424 +boot: 0.394 +kernel: 0.394 +assembly: 0.367 +risc-v: 0.341 +virtual: 0.305 +i386: 0.294 +KVM: 0.293 +debug: 0.179 + +qemu-arm fails to execute a cortex-M binary (page_set_flags: Assertion 'last <= GUEST_ADDR_MAX' failed.) +Description of problem: +I've noticed that qemu-arm (so linux-user mode) fails to execute a binary targeting cortex-M. This used to work until commit +"Make the commpage executable". +Steps to reproduce: +1. Compile a simple hello.c for arm-eabi. If you don't have such a toolchain, you can download one from https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads For instance https://developer.arm.com/-/media/Files/downloads/gnu/12.2.rel1/binrel/arm-gnu-toolchain-12.2.rel1-x86_64-arm-none-eabi.tar.xz (for an x86_64 linux host) + +2.# compile for cortex-m3: + +3. arm-none-eabi-gcc hello.c -o hello.exe.m3 -mcpu=cortex-m3 -specs=rdimon.specs + +4.qemu-arm -cpu cortex-m3 hello.exe.m3 +.....user-exec.c:492: page_set_flags: Assertion 'last <= GUEST_ADDR_MAX' failed. + +5. # compile for cortex-a9: + +6. arm-none-eabi-gcc hello.c -o hello.exe.a9 -mcpu=cortex-a9 -specs=rdimon.specs + +7. qemu-arm -cpu cortex-a9 hello.exe.a9 +Hello |