From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jsk9o-0003Zz-0B for qemu-devel@nongnu.org; Sun, 04 May 2008 15:46:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jsk9n-0003Z9-9N for qemu-devel@nongnu.org; Sun, 04 May 2008 15:45:59 -0400 Received: from [199.232.76.173] (port=40514 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jsk9n-0003Z0-5p for qemu-devel@nongnu.org; Sun, 04 May 2008 15:45:59 -0400 Received: from hall.aurel32.net ([91.121.138.14]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jsk9n-0000zk-Ko for qemu-devel@nongnu.org; Sun, 04 May 2008 15:45:59 -0400 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Jsk9k-0000aP-V2 for qemu-devel@nongnu.org; Sun, 04 May 2008 21:45:57 +0200 Received: from localhost.aurel32.net ([127.0.0.1] ident=aurel32) by volta.aurel32.net with esmtp (Exim 4.69) (envelope-from ) id 1Jsk9k-00055l-CU for qemu-devel@nongnu.org; Sun, 04 May 2008 21:45:56 +0200 Message-ID: <481E1274.1060207@aurel32.net> Date: Sun, 04 May 2008 21:45:56 +0200 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] Compilation broken in SVN version and a debug register question References: <527518.23522.qm@web57011.mail.re3.yahoo.com> <481DF25D.8070009@wasp.net.au> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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 Ben Taylor a écrit : > 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 also think this is a reasonable solution. Hardcoding the use of gcc-3.3 in the Makefile is not. > 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 > > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net