Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DBKTf-0007Tt-BV for qemu-devel@nongnu.org; Tue, 15 Mar 2005 17:25:27 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DBKTY-0007RQ-7v for qemu-devel@nongnu.org; Tue, 15 Mar 2005 17:25:21 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DBKTX-0007Pq-7J for qemu-devel@nongnu.org; Tue, 15 Mar 2005 17:25:19 -0500 Received: from [212.227.126.176] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DBKDr-0005Yy-7v for qemu-devel@nongnu.org; Tue, 15 Mar 2005 17:09:07 -0500 Received: from [212.227.126.155] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1DBKDp-0000Bx-00 for qemu-devel@nongnu.org; Tue, 15 Mar 2005 23:09:05 +0100 Received: from [213.239.215.85] (helo=nic-nac-project.de) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1DBKDp-0006Gh-00 for qemu-devel@nongnu.org; Tue, 15 Mar 2005 23:09:05 +0100 Received: from localhost (localhost [127.0.0.1]) by nic-nac-project.de (Postfix) with ESMTP id D3B021124002 for ; Tue, 15 Mar 2005 23:09:02 +0100 (CET) Received: from nic-nac-project.de ([127.0.0.1]) by localhost (nic-nac-project.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 24427-10 for ; Tue, 15 Mar 2005 23:09:01 +0100 (CET) Date: Tue, 15 Mar 2005 23:09:01 +0100 From: Thomas Schwinge Subject: Re: [Qemu-devel] Error during compilation Message-ID: <20050315220901.GA24612@nic-nac-project.de> References: <20050315155818.84245.qmail@web13826.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050315155818.84245.qmail@web13826.mail.yahoo.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 On Tue, Mar 15, 2005 at 07:57:55AM -0800, Peter Federighi wrote: > gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. > -I/usr/src/qemu-0.6.1/target-i386 -I/usr/src/qemu-0.6.1 -D_GNU_SOURCE > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/src/qemu-0.6.1/slirp -c > -o helper.o /usr/src/qemu-0.6.1/target-i386/helper.c > /usr/src/qemu-0.6.1/softmmu_template.h: In function `__stq_mmu': > /usr/src/qemu-0.6.1/softmmu_template.h:223: error: unable to find a > register to spill in class `GENERAL_REGS' > /usr/src/qemu-0.6.1/softmmu_template.h:223: error: this is the insn: > (insn:HI 315 314 316 13 /usr/src/qemu-0.6.1/softmmu_template.h:252 > (parallel [ > (set (reg:DI 0 ax [194]) > (lshiftrt:DI (reg/v:DI 59 [ val ]) > (subreg:QI (reg:SI 0 ax [193]) 0))) > (clobber (scratch:SI)) > (clobber (reg:CC 17 flags)) > ]) 306 {lshrdi3_1} (insn_list 314 (nil)) > (expr_list:REG_DEAD (reg:SI 0 ax [193]) > (expr_list:REG_UNUSED (reg:CC 17 flags) > (expr_list:REG_UNUSED (scratch:SI) > (nil))))) > /usr/src/qemu-0.6.1/softmmu_template.h:223: confused by earlier errors, > bailing out > make[1]: *** [helper.o] Error 1 > make[1]: Leaving directory `/usr/src/qemu-0.6.1/i386' > make: *** [all] Error 1 I'm getting the same error when having '-march=athlon-xp' in my $CFLAGS (and forcing qemu to use those). Replacing that with '-march=pentium' fixes the issue for me. Perhaps someone (e.g. you :-) should report it on one of GCC's mailing lists or through bugzilla (and reduce the code to only contain the relevant parts before doing so). Regards, Thomas