From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJBpp-0001oM-IX for qemu-devel@nongnu.org; Sun, 27 Jan 2008 13:02:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJBpn-0001lT-A4 for qemu-devel@nongnu.org; Sun, 27 Jan 2008 13:02:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJBpn-0001lJ-3c for qemu-devel@nongnu.org; Sun, 27 Jan 2008 13:02:23 -0500 Received: from smtp02.citrix.com ([66.165.176.63]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJBpm-0007Jt-On for qemu-devel@nongnu.org; Sun, 27 Jan 2008 13:02:22 -0500 Received: from [172.31.33.111] (host217-46-209-99.in-addr.btopenworld.com [217.46.209.99]) (authenticated bits=0) by smtp01.ad.xensource.com (8.13.1/8.13.1) with ESMTP id m0RI1bAG015139 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 27 Jan 2008 10:01:39 -0800 Message-ID: <479CC6F2.6050207@citrix.com> Date: Sun, 27 Jan 2008 18:01:22 +0000 From: Stefano Stabellini MIME-Version: 1.0 Subject: Re: [Qemu-devel] Compilation error on Ubuntu 6.06 and 7.10 with gcc-3.4 References: <479CBCF4.8000905@wasp.net.au> In-Reply-To: <479CBCF4.8000905@wasp.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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: qemu-devel@nongnu.org I can confirm this, I have the same problem on Kubuntu 7.10 i386 using either gcc-3.4 or gcc-3.3. Brad Campbell wrote: > G'day all, > > Getting this on my two development machines with up-to-date CVS as of now.. > > I did a complete directory removal and fresh CVS checkout just to be sure. > > Configured with.. > > ./configure --target-list=i386-softmmu --enable-alsa > > > gcc-3.4 -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I.. > -I/tracks/src/src/qemu/target-i386 -I/tracks/src/src/qemu -MMD -MP > -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE > -I/tracks/src/src/qemu/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE > -I/tracks/src/src/qemu/slirp -c -o cpu-exec.o > /tracks/src/src/qemu/cpu-exec.c > /tracks/src/src/qemu/cpu-exec.c: In function `cmp1': > /tracks/src/src/qemu/cpu-exec.c:143: error: unable to find a register to > spill in class `DIREG' > /tracks/src/src/qemu/cpu-exec.c:143: error: this is the insn: > (insn:HI 15 62 16 0 /tracks/src/src/qemu/cpu-exec.c:140 (parallel [ > (set (reg:SI 2 cx [64]) > (unspec:SI [ > (mem:BLK (reg/f:SI 66 [ s2 ]) [0 A8]) > (reg:QI 0 ax [68]) > (const_int 1 [0x1]) > (reg:SI 2 cx [67]) > ] 20)) > (use (reg:SI 19 dirflag)) > (clobber (reg/f:SI 66 [ s2 ])) > (clobber (reg:CC 17 flags)) > ]) 632 {*strlenqi_1} (insn_list 11 (insn_list 12 (insn_list 13 > (insn_list 14 (nil))))) > (expr_list:REG_DEAD (reg:SI 19 dirflag) > (expr_list:REG_DEAD (reg:SI 2 cx [67]) > (expr_list:REG_DEAD (reg:QI 0 ax [68]) > (expr_list:REG_DEAD (reg/f:SI 66 [ s2 ]) > (expr_list:REG_UNUSED (reg:CC 17 flags) > (expr_list:REG_UNUSED (reg/f:SI 66 [ s2 ]) > (expr_list:REG_EQUAL (unspec:SI [ > (mem:BLK (reg/f:SI 66 [ s2 ]) [0 > A8]) > (reg:QI 0 ax [68]) > (const_int 1 [0x1]) > (reg:SI 2 cx [67]) > ] 20) > (nil))))))))) > /tracks/src/src/qemu/cpu-exec.c:143: confused by earlier errors, bailing > out > make[1]: *** [cpu-exec.o] Error 1 > make[1]: Leaving directory `/tracks/src/src/qemu/i386-softmmu' > make: *** [subdir-i386-softmmu] Error 2 > > brad@bklaptop2:/tracks/src/src/qemu$ gcc-3.4 --version > gcc-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-1ubuntu2) > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > Brad