Received: from eggs.gnu.org ([2001:4830:134:3::10]:47178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjY2f-00072x-4l for qemu-devel@nongnu.org; Mon, 12 Sep 2016 16:41:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjY2b-0001Dj-TM for qemu-devel@nongnu.org; Mon, 12 Sep 2016 16:41:25 -0400 Received: from indium.canonical.com ([91.189.90.7]:49014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjY2b-0001Da-NY for qemu-devel@nongnu.org; Mon, 12 Sep 2016 16:41:21 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bjY2a-0003vv-AK for ; Mon, 12 Sep 2016 20:41:20 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 30E962E80C7 for ; Mon, 12 Sep 2016 20:41:20 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 12 Sep 2016 20:33:47 -0000 From: Michael Roitzsch Reply-To: Bug 672934 <672934@bugs.launchpad.net> Sender: bounces@canonical.com References: <20101109090530.8672.92975.malonedeb@soybean.canonical.com> Message-Id: <20160912203347.1825.83141.malone@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 672934] Re: FPU incorrect on Mac OS X List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org I can confirm that recent QEMU works fine. Sorry, I forgot about this bug and did not update it. -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/672934 Title: FPU incorrect on Mac OS X Status in QEMU: Fix Released Bug description: I am using the 0.13.0 release version of QEMU on Mac OS X 10.6.4. I work for a university and the affected guest OS is our own research OS. I believe I found a bug in QEMU's FPU emulation, which only triggers on the Mac. You can reproduce the problem by booting the attached ISO image. Investigating the problem, I found that the lua interpreter in our loader component (called "ned") internally uses doubles to represent all lua-numbers. These doubles are showing completely wrong values on QEMU/Mac, resulting in the lua code not processing properly. I also attached a patch which fixes the problem for me. The attached ZIP-file also contains "before" and "after" screenshots. Note that booting the ISO on a real machine or on a Linux-QEMU always shows the correct "after" behavior. Only QEMU on the Mac exhibits the wrong "before" behavior without my patch. The patch might break other systems setting the CONFIG_BSD flag, so maybe the preprocessor should check for __APPLE__ instead to make the fix Mac-only. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/672934/+subscriptions