From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jsi45-0002SH-0p for qemu-devel@nongnu.org; Sun, 04 May 2008 13:31:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jsi43-0002RM-H6 for qemu-devel@nongnu.org; Sun, 04 May 2008 13:31:56 -0400 Received: from [199.232.76.173] (port=38291 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jsi43-0002RF-7c for qemu-devel@nongnu.org; Sun, 04 May 2008 13:31:55 -0400 Received: from wa-out-1112.google.com ([209.85.146.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jsi43-0000WF-DM for qemu-devel@nongnu.org; Sun, 04 May 2008 13:31:55 -0400 Received: by wa-out-1112.google.com with SMTP id j5so283710wah.18 for ; Sun, 04 May 2008 10:31:54 -0700 (PDT) Message-ID: Date: Sun, 4 May 2008 13:31:53 -0400 From: "Ben Taylor" Subject: Re: [Qemu-devel] Compilation broken in SVN version and a debug register question In-Reply-To: <481DF25D.8070009@wasp.net.au> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <527518.23522.qm@web57011.mail.re3.yahoo.com> <481DF25D.8070009@wasp.net.au> 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 Sun, May 4, 2008 at 1:29 PM, Brad Campbell wrote: > Ben Taylor wrote: > > > On Wed, Apr 23, 2008 at 8:34 AM, Balazs Attila-Mihaly (Cd-MaN) > > wrote: > > > > > Hello all. > > > > > > I fail to compile the version 4242 from the SVN (which I checked out ~1 > hour ago). On an Ubuntu 7.10 host with gcc-3.4 and ./configure > --target-list=i386-softmmu, I get the following error: > > > > > > > > > > > > > > > > The following patch should fix the compilation of op.c and helper.c. > > > > This been tested on solaris x86 (32/64 bit) and Ubuntu 7.10 (32-bit). > When > > configuring on the 32-bit systems, I used --extra-cflags="-march=i686 > > -mtune=i686" > > and both spill errors in op.c and helper.c are gone, and the binaries > > will boot Milax (a Solaris based DamnSmallLinux clone) > > > > On ubuntu... > apt-get remove gcc-3.4 > apt-get install gcc-3.3 > .. effectively worked around the issue for me. Tried that, but one of the maintainers thought that was not a reasonable solution. I suppose I can modify the patch to check to see which gcc is being used any invoke those changes if gcc revision < 3.4 Ben