mips binaries segfault

Bug #1860056 reported by mcandre
8
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.

Tags: mips
Revision history for this message
Aleksandar Markovic (amarkovic) wrote :

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

tags: added: mips
Revision history for this message
Aleksandar Markovic (amarkovic) wrote :

Does the problem exist using c hello world and gcc?

Changed in qemu:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for QEMU because there has been no activity for 60 days.]

Changed in qemu:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.