From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Ceizn-0001A1-F1 for qemu-devel@nongnu.org; Wed, 15 Dec 2004 18:55:51 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Ceizl-000191-Ls for qemu-devel@nongnu.org; Wed, 15 Dec 2004 18:55:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Ceizl-00018r-Hf for qemu-devel@nongnu.org; Wed, 15 Dec 2004 18:55:49 -0500 Received: from [38.113.3.61] (helo=smtp-out.hotpop.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CeipV-0001q2-Dt for qemu-devel@nongnu.org; Wed, 15 Dec 2004 18:45:13 -0500 Received: from phreaker.net (kubrick.hotpop.com [38.113.3.103]) by smtp-out.hotpop.com (Postfix) with SMTP id 958C6BA25FF for ; Wed, 15 Dec 2004 23:44:59 +0000 (UTC) Received: from jbrown.mylinuxbox.org (pcp03144805pcs.midval01.tn.comcast.net [68.59.228.236]) by smtp-1.hotpop.com (Postfix) with ESMTP id CC1F31A0197 for ; Wed, 15 Dec 2004 23:44:54 +0000 (UTC) Date: Wed, 15 Dec 2004 18:45:03 -0500 From: "Jim C. Brown" Subject: Re: [Qemu-devel] get_func() hangs with gcc 3.4.2 on MinGW and WinXP host Message-ID: <20041215234503.GA12778@jbrown.mylinuxbox.org> References: <20041215134754.GA28410@100tka.net> <20041215145903.GA29957@100tka.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041215145903.GA29957@100tka.net> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, Dec 15, 2004 at 03:59:03PM +0100, tomba@100tka.net wrote: > Witam, > Dnia Wed, Dec 15, 2004 at 03:18:03PM +0100 Johannes Schindelin napisal(a): > > > this is the heart of QEmu and Works Here, I think that it's got to do > > something with the compilation: either gcc 3.4.2, or some compiler flags. > > Did you try with another gcc version? > > Well, I guess that's it. I didn't want to downgrade gcc earlier, but I guess > I'll have no choice as it works with 3.2.3 and 3.3.1 and only hangs on 3.4.x. > Thanks for the hint. > > t. > This is due to a change in the way gcc compiles code ... 3.4.0 may work, but later versions will cause functions to return prematurely (due to the way qemu handles translated blocks). I suggested that a fix for this would be to use function pointer calls instead of directly chaining machine code, but apparently this is too slow to make qemu usable. > -- > Tomasz B?tor e-mail: tomba@bartek.tu.kielce.pl ICQ: 101194886 > ------ ---- -- - - - - - - - - - - - -- ---- ------ > "The only thing that stops God from sending another flood is > that the first one was useless." > -- Chamfort > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel > -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.