All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <1881450@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Bug 1881450] Re: Emulation of a math function fails for m68k Linux user mode
Date: Sun, 31 May 2020 06:49:31 -0000	[thread overview]
Message-ID: <159090777188.13999.5111647128737860570.launchpad@soybean.canonical.com> (raw)
In-Reply-To: 159088695339.29529.1797786788240960646.malonedeb@chaenomeles.canonical.com

** Changed in: qemu
     Assignee: (unassigned) => Laurent Vivier (laurent-vivier)

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

Title:
  Emulation of a math function fails for m68k Linux user mode

Status in QEMU:
  New

Bug description:
  Please check the attached math-example.c file.
  When running the m68k executable under QEMU, it results in an 
  "Illegal instruction" error.
  Other targets don't produce this error.

  Steps to reproduce the bug:

  1. Download the math-example.c attached file.
  2. Compile it by running:
     m68k-linux-gnu-gcc -O2 -static math-example.c -o math-example-m68k -lm
  3. Run the executable with QEMU:
     /build/qemu-5.0.0/build-gcc/m68k-linux-user/qemu-m68k math-example-m68k

  The output of execution is:
     Profiling function expm1f():
     qemu: uncaught target signal 4 (Illegal instruction) - core dumped
     Illegal instruction (core dumped)

  Output when running on other targets:
     Profiling function expm1f():
       Elapsed time: 47 ms
       Control result: 71804.953125

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


  parent reply	other threads:[~2020-05-31  6:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-31  1:02 [Bug 1881450] [NEW] Emulation of a math function fails for m68k Linux user mode Ahmed Karaman
2020-05-31  1:09 ` [Bug 1881450] " Ahmed Karaman
2020-05-31  6:49 ` Laurent Vivier [this message]
2020-05-31 12:37 ` Laurent Vivier
2020-05-31 13:11 ` Laurent Vivier
2020-05-31 13:13 ` Laurent Vivier
2020-06-02 18:27 ` Laurent Vivier
2020-08-20 14:58 ` Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=159090777188.13999.5111647128737860570.launchpad@soybean.canonical.com \
    --to=1881450@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.