diff options
| author | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:00 +0000 |
|---|---|---|
| committer | Christian Krinitsin <mail@krinitsin.com> | 2025-06-16 16:59:33 +0000 |
| commit | 9aba81d8eb048db908c94a3c40c25a5fde0caee6 (patch) | |
| tree | b765e7fb5e9a3c2143c68b0414e0055adb70e785 /results/classifier/118/files/1877706 | |
| parent | b89a938452613061c0f1f23e710281cf5c83cb29 (diff) | |
| download | emulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.tar.gz emulator-bug-study-9aba81d8eb048db908c94a3c40c25a5fde0caee6.zip | |
add 18th iteration of classifier
Diffstat (limited to 'results/classifier/118/files/1877706')
| -rw-r--r-- | results/classifier/118/files/1877706 | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/results/classifier/118/files/1877706 b/results/classifier/118/files/1877706 new file mode 100644 index 00000000..943bbd41 --- /dev/null +++ b/results/classifier/118/files/1877706 @@ -0,0 +1,81 @@ +architecture: 0.979 +x86: 0.943 +files: 0.937 +performance: 0.870 +ppc: 0.856 +semantic: 0.837 +user-level: 0.821 +device: 0.817 +graphic: 0.784 +vnc: 0.764 +boot: 0.760 +permissions: 0.759 +risc-v: 0.755 +network: 0.737 +PID: 0.736 +hypervisor: 0.729 +mistranslation: 0.714 +socket: 0.689 +register: 0.671 +virtual: 0.608 +kernel: 0.584 +VMM: 0.571 +assembly: 0.567 +debug: 0.563 +peripherals: 0.530 +TCG: 0.520 +i386: 0.513 +arm: 0.496 +KVM: 0.464 + + [Feature request] qemu does not support for Octeon MIPS64 on X86 + +Description of problem: + +I use mips64-octeon-linux-gnu-gcc cross toolchain on X86,and generate binary file. + +> mips64-octeon-linux-gnu-gcc hello.c -static +> file a.out +> a.out: ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1 (SYSV), statically linked, for GNU/Linux 2.4.0, not stripped + +I execute it with mips64-linux-user mode in qemu, it is invalid. + +> ./qemu-5.0.0/mips64-linux-user/qemu-mips64 a.out +> a.out: Invalid ELF image for this architecture + +when I choose mips-linux-user mode, it regards as illegal instruction. + +> ./qemu-5.0.0/mips-linux-user/qemu-mips a.out +> qemu: uncaught target signal 4 (Illegal instruction) - core dumped +> Illegal instruction (core dumped) + +I would like to know, is this due to my problem or does qemu not support Octeon MIPS64 on X86? + +if qemu has supported Octeon MIPS64 on X86, how can I emulate it. + +Probably not, but there may be a workaround. The closest cpu to Octeon that is supported in QEMU is "MIPS64R2-generic". + +Please try using switch -cpu MIPS64R2-generic in your QEMU command line. + +Also, I think you should use qemu-mipsn32 rather than qemu-mips or qemu-mips64. + +I don't have much hope that all this will work, but it is worth trying. + + + + + + +Hi, Lu. + +Where can I download Octeon toolchain you used? + +I want to try it by myself. + +Aleksandar + +Was the MIPS64R2-generic good enough for you? + +If your file is "ELF 32-bit MSB executable, MIPS, N32 MIPS64 rel2 version 1", +then you have to use the mipsn32-linux-user variant of QEMU (binary 'qemu-mipsn32'). + |