All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1860056] [NEW] mips binaries segfault
@ 2020-01-17  0:55 mcandre
  2020-01-17  3:34 ` [Bug 1860056] " Aleksandar Markovic
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mcandre @ 2020-01-17  0:55 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

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.

** Affects: qemu
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860056

Title:
  mips binaries segfault

Status in QEMU:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860056/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1860056] Re: mips binaries segfault
  2020-01-17  0:55 [Bug 1860056] [NEW] mips binaries segfault mcandre
@ 2020-01-17  3:34 ` Aleksandar Markovic
  2020-01-17  7:31 ` Aleksandar Markovic
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Aleksandar Markovic @ 2020-01-17  3:34 UTC (permalink / raw)
  To: qemu-devel

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

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860056

Title:
  mips binaries segfault

Status in QEMU:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860056/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1860056] Re: mips binaries segfault
  2020-01-17  0:55 [Bug 1860056] [NEW] mips binaries segfault mcandre
  2020-01-17  3:34 ` [Bug 1860056] " Aleksandar Markovic
@ 2020-01-17  7:31 ` Aleksandar Markovic
  2020-03-06  9:09 ` Philippe Mathieu-Daudé
  2020-05-06  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Aleksandar Markovic @ 2020-01-17  7:31 UTC (permalink / raw)
  To: qemu-devel

Does the problem exist using c hello world and gcc?

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860056

Title:
  mips binaries segfault

Status in QEMU:
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860056/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1860056] Re: mips binaries segfault
  2020-01-17  0:55 [Bug 1860056] [NEW] mips binaries segfault mcandre
  2020-01-17  3:34 ` [Bug 1860056] " Aleksandar Markovic
  2020-01-17  7:31 ` Aleksandar Markovic
@ 2020-03-06  9:09 ` Philippe Mathieu-Daudé
  2020-05-06  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Philippe Mathieu-Daudé @ 2020-03-06  9:09 UTC (permalink / raw)
  To: qemu-devel

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860056

Title:
  mips binaries segfault

Status in QEMU:
  Incomplete

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860056/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1860056] Re: mips binaries segfault
  2020-01-17  0:55 [Bug 1860056] [NEW] mips binaries segfault mcandre
                   ` (2 preceding siblings ...)
  2020-03-06  9:09 ` Philippe Mathieu-Daudé
@ 2020-05-06  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Launchpad Bug Tracker @ 2020-05-06  4:17 UTC (permalink / raw)
  To: qemu-devel

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

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1860056

Title:
  mips binaries segfault

Status in QEMU:
  Expired

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1860056/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-06  4:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-17  0:55 [Bug 1860056] [NEW] mips binaries segfault mcandre
2020-01-17  3:34 ` [Bug 1860056] " Aleksandar Markovic
2020-01-17  7:31 ` Aleksandar Markovic
2020-03-06  9:09 ` Philippe Mathieu-Daudé
2020-05-06  4:17 ` Launchpad Bug Tracker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.