From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:48072) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qoibj-0003AY-PU for qemu-devel@nongnu.org; Wed, 03 Aug 2011 17:04:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qoibi-00013S-G8 for qemu-devel@nongnu.org; Wed, 03 Aug 2011 17:04:03 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:33826) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qoibi-00013C-BP for qemu-devel@nongnu.org; Wed, 03 Aug 2011 17:04:02 -0400 Message-ID: <4E39B7B8.5070208@mail.berlios.de> Date: Wed, 03 Aug 2011 23:03:52 +0200 From: Stefan Weil MIME-Version: 1.0 References: <80797ddb7efb09eef63b444485bd3f5c9fd328b9.1309865252.git.batuzovk@ispras.ru> <4E399AC4.4060906@mail.berlios.de> <4E39B606.9000601@mail.berlios.de> In-Reply-To: <4E39B606.9000601@mail.berlios.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 2/6] Add copy and constant propagation. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Blue Swirl , qemu-devel@nongnu.org, zhur@ispras.ru, Kirill Batuzov Am 03.08.2011 22:56, schrieb Stefan Weil: > Am 03.08.2011 22:20, schrieb Blue Swirl: >> On Wed, Aug 3, 2011 at 7:00 PM, Stefan Weil >> wrote: >>> Am 07.07.2011 14:37, schrieb Kirill Batuzov: >>>> >>>> Make tcg_constant_folding do copy and constant propagation. It is a >>>> preparational work before actual constant folding. >>>> >>>> Signed-off-by: Kirill Batuzov >>>> --- >>>> tcg/optimize.c | 182 >>>> +++++++++++++++++++++++++++++++++++++++++++++++++++++++- >>>> 1 files changed, 180 insertions(+), 2 deletions(-) >>>> >>>> diff --git a/tcg/optimize.c b/tcg/optimize.c >>>> index c7c7da9..f8afe71 100644 >>>> --- a/tcg/optimize.c >>>> +++ b/tcg/optimize.c >>>> >>> >>> ... >>> >>> This patch breaks QEMU on 32 bit hosts (tested on 386 Linux >>> and w32 hosts). Simply running qemu (BIOS only) terminates >>> with abort(). As the error is easy to reproduce, I don't provide >>> a stack frame here. >> >> I can't reproduce, i386/Linux and win32 versions of i386, Sparc32 and >> Sparc64 emulators work fine. >> >> Maybe you have a stale build (bug in Makefile dependencies)? > > Sorry, an important information was wrong / missing in my report. > It's not qemu, but qemu-system-x86_64 which fails to work. > > I just tested it once more with a new build: > > $ bin/x86_64-softmmu/qemu-system-x86_64 -L pc-bios > /qemu/tcg/tcg.c:1646: tcg fatal error > Abgebrochen > > Cheers, > Stefan qemu-system-mips64el fails with the same error, so the problem occurs when running 64 bit emulations on 32 bit hosts.