From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JQTDg-0002sI-EH for qemu-devel@nongnu.org; Sat, 16 Feb 2008 15:01:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JQTDe-0002qS-OA for qemu-devel@nongnu.org; Sat, 16 Feb 2008 15:01:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JQTDe-0002q8-Gc for qemu-devel@nongnu.org; Sat, 16 Feb 2008 15:01:06 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JQTDd-00047M-SW for qemu-devel@nongnu.org; Sat, 16 Feb 2008 15:01:06 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Patch for compiling with GCC 4 Date: Sat, 16 Feb 2008 20:01:01 +0000 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802162001.02410.paul@codesourcery.com> 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 Cc: Christian Roue On Saturday 16 February 2008, Christian Roue wrote: > Hi all, > I tried to compile qemu cvs head on my x86_64 linux with gcc 4.1.2 using > --disable-gcc-check, I found compile fails as stated in configure before i > disabled gcc check.. > Error message, points to a problem of dyngen not correctly detecting > function ends on i386 when last instruction is a jump. I applied following > change and successfully compiled/run qemu i386. This extra test check for > a relative backward jump to function exit ret, > gcc 4 apparently generates a few of these. You patch is wrong. The dyngen error is correct. Paul