From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LhLlm-0002yJ-SX for qemu-devel@nongnu.org; Wed, 11 Mar 2009 06:34:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LhLlj-0002uW-Oh for qemu-devel@nongnu.org; Wed, 11 Mar 2009 06:34:38 -0400 Received: from [199.232.76.173] (port=45370 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LhLlj-0002u7-H9 for qemu-devel@nongnu.org; Wed, 11 Mar 2009 06:34:35 -0400 Received: from smtp-out0.tiscali.nl ([195.241.79.175]:49035) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LhLlj-0002V3-4u for qemu-devel@nongnu.org; Wed, 11 Mar 2009 06:34:35 -0400 Subject: Re: [Qemu-devel] TCG/GCC breakage From: Paul Bolle In-Reply-To: <5d6222a80903102040reef9775s8aaf9975e7594133@mail.gmail.com> References: <5d6222a80903102040reef9775s8aaf9975e7594133@mail.gmail.com> Content-Type: text/plain Date: Wed, 11 Mar 2009 11:34:29 +0100 Message-Id: <1236767669.1486.14.camel@test.thuisdomein> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Glauber Costa Cc: qemu-devel@nongnu.org On Wed, 2009-03-11 at 00:40 -0300, Glauber Costa wrote: > I'm seeing a strange behaviour here using qemu-system-x86_64 > (kvm not even compiled in) on an i386 host For what it's worth, the same seems to happen here with an i386 guest on an i386 host. > I get segfaults very early in execution, and after some investigation, > I figured out that ebp register is corrupted. I can't determine where > the corruption starts. > > I then did rm x86-64-softmmu/op_helper.o; make CC=gcc34, so only this > file get compiled by an older gcc, and it worked again. If I compile (i386-softmmu/qemu and thus) i386-softmmu/op_helper.o with Fedora rawhide's current gcc (i.e. 4.4.0 20090307 (Red Hat 4.4.0-0.23)) qemu segfaults very early too. If I recompile just that file with gcc34 (i.e, 3.4.6 20060404 (Red Hat 3.4.6-13)) qemu does not segfault very early anymore. Paul Bolle