Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GtX14-0003vf-Cs for qemu-devel@nongnu.org; Sun, 10 Dec 2006 17:19:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GtX11-0003uo-Rl for qemu-devel@nongnu.org; Sun, 10 Dec 2006 17:19:26 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GtX11-0003uh-Ng for qemu-devel@nongnu.org; Sun, 10 Dec 2006 17:19:23 -0500 Received: from [193.7.176.60] (helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GtX11-0007ue-BY for qemu-devel@nongnu.org; Sun, 10 Dec 2006 17:19:23 -0500 Date: Sun, 10 Dec 2006 22:19:15 +0000 Subject: Re: [Qemu-devel] qemu-cvs-2006-12-9 compile error Message-ID: <20061210221915.GE21819@networkno.de> References: <20061209082855.000021FD01F20265@mail6.dreamwiz.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061209082855.000021FD01F20265@mail6.dreamwiz.com> From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Hwang YunSong(??????)" Cc: qemu-devel@nongnu.org Hwang YunSong(??????) wrote: > gcc32 -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I.. -I/usr/src/Haansoft/BUILD/qemu/target-mips -I/usr/src/Haansoft/BUILD/qemu -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/src/Haansoft/BUILD/qemu/fpu -I/usr/src/Haansoft/BUILD/qemu/slirp -c -o op_helper.o /usr/src/Haansoft/BUILD/qemu/target-mips/op_helper.c > /usr/src/Haansoft/BUILD/qemu/target-mips/op_helper.c: In function `invalidate_tlb': > /usr/src/Haansoft/BUILD/qemu/target-mips/op_helper.c:305: unable to find a register to spill in class `SIREG' > /usr/src/Haansoft/BUILD/qemu/target-mips/op_helper.c:305: this is the insn: > (insn 83 80 84 (parallel[ > (set (reg:SI 2 ecx [85]) > (const_int 0 [0x0])) > (set (reg/f:SI 0 eax [82]) > (plus:SI (ashift:SI (reg:SI 2 ecx [84]) > (const_int 2 [0x2])) > (reg/f:SI 0 eax [82]))) > (set (reg/f:SI 83) > (plus:SI (ashift:SI (reg:SI 2 ecx [84]) > (const_int 2 [0x2])) > (reg/v/f:SI 60))) > (set (mem/s/j:BLK (reg/f:SI 0 eax [82]) [0 .tlb S20 A32]) > (mem/s:BLK (reg/v/f:SI 60) [0 S24 A32])) > (use (reg:SI 2 ecx [84])) > (use (reg:SI 19 dirflag)) > ] ) 603 {*rep_movsi} (insn_list 75 (insn_list 78 (insn_list 80 (nil)))) > (expr_list:REG_DEAD (reg:SI 19 dirflag) > (expr_list:REG_DEAD (reg/v/f:SI 60) > (expr_list:REG_DEAD (reg:SI 2 ecx [84]) > (expr_list:REG_UNUSED (reg:SI 2 ecx [85]) > (expr_list:REG_UNUSED (reg/f:SI 0 eax [82]) > (expr_list:REG_UNUSED (reg/f:SI 83) > (nil)))))))) > /usr/src/Haansoft/BUILD/qemu/target-mips/op_helper.c:305: confused by earlier errors, bailing out > > > I [root@localhost qemu]# gcc32 -v > Reading specs from /usr/lib/gcc-lib/i386-Haansoft-linux/3.2.3/specs > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++,f77 --disable-libgcj --host=i386-Haansoft-linux > Thread model: posix > gcc version 3.2.3 (Haansoft Linux 3.2.3) AFAICS there's nothing special in invalidate_tlb, and it works fo me with gcc 3.4.6. I figure your gcc version has a bug which was fixed in newer versions. Thiemo