blob: fb51c65382adc8c252d0a6557ebce7512169e0df (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
mips binaries segfault
Hello World appears to segfault with qemu mips, on a Debian 10.0.0 Buster amd64 host.
Example:
$ cat mips/test/hello.cpp
#include <iostream>
using std::cout;
int main() {
cout << "Hello World!\n";
return 0;
}
$ mips-linux-gnu-g++ -o hello hello.cpp && ./hello
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Note that 64-bit MIPS and little endian 32-bit MIPS qemu work fine. The problem is limited to big endian 32-bit MIPS.
|