All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 1880287] [NEW] gcc crashes in hppa emulation
@ 2020-05-23  8:36 Helge Deller
  2020-07-17 21:26 ` [Bug 1880287] " Helge Deller
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: Helge Deller @ 2020-05-23  8:36 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

There seems to be a translation bug in the qemu-hppa (qemu v5.0.0) emulation:
A stripped down testcase (taken from Linux kernel build) is attached.

In there is "a.sh", a shell script which calls gcc-9 (fails with both
debian gcc-9.3.0-11 or gcc-9.3.0-12). and "a.iii", the preprocessed
source.

When starting a.sh, in the emulation gcc crashes with segfault.
On real hardware gcc succeeds to compile the source.

In a hppa-user chroot running "apt update && apt install gcc-9" should
be sufficient to get the needed reproducer environment.

** Affects: qemu
     Importance: Undecided
         Status: New

** Attachment added: "reproducer testcase, including a script to call gcc and the preprocessed source"
   https://bugs.launchpad.net/bugs/1880287/+attachment/5375826/+files/gcc-9.3.0-12-segfault.tgz

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

Title:
  gcc crashes in hppa emulation

Status in QEMU:
  New

Bug description:
  There seems to be a translation bug in the qemu-hppa (qemu v5.0.0) emulation:
  A stripped down testcase (taken from Linux kernel build) is attached.

  In there is "a.sh", a shell script which calls gcc-9 (fails with both
  debian gcc-9.3.0-11 or gcc-9.3.0-12). and "a.iii", the preprocessed
  source.

  When starting a.sh, in the emulation gcc crashes with segfault.
  On real hardware gcc succeeds to compile the source.

  In a hppa-user chroot running "apt update && apt install gcc-9" should
  be sufficient to get the needed reproducer environment.

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


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

end of thread, other threads:[~2020-08-20 15:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-23  8:36 [Bug 1880287] [NEW] gcc crashes in hppa emulation Helge Deller
2020-07-17 21:26 ` [Bug 1880287] " Helge Deller
2020-07-19 17:31   ` svens
2020-07-18 10:41 ` Philippe Mathieu-Daudé
2020-07-19 21:47 ` Helge Deller
2020-07-20  8:12 ` Laurent Vivier
2020-07-20 17:29 ` Richard Henderson
2020-07-26 20:02 ` Richard Henderson
2020-07-26 20:32 ` Laurent Vivier
2020-08-20 15:02 ` Thomas Huth

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.