mips binaries segfault
Bug #1860056 reported by
mcandre
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Expired
|
Undecided
|
Unassigned |
Bug Description
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.
Changed in qemu: | |
status: | New → Incomplete |
To post a comment you must log in.
Could you attach the version of g++ and qemu? In other words, can you capture the output of:
mips-linux-gnu-g++ --version
and
qemu-mips --version
?
Does the problem happen if you compile with "-static" option?
Yours,
Aleksandar