From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JqT6J-0006GC-9l for qemu-devel@nongnu.org; Mon, 28 Apr 2008 09:08:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JqT6I-0006Fc-1D for qemu-devel@nongnu.org; Mon, 28 Apr 2008 09:08:58 -0400 Received: from [199.232.76.173] (port=52146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JqT6H-0006FU-Rl for qemu-devel@nongnu.org; Mon, 28 Apr 2008 09:08:57 -0400 Received: from wasp.net.au ([203.190.192.17]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JqT6H-0001rg-3J for qemu-devel@nongnu.org; Mon, 28 Apr 2008 09:08:57 -0400 Message-ID: <4815CC5E.6090108@wasp.net.au> Date: Mon, 28 Apr 2008 17:08:46 +0400 From: Brad Campbell MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Which compiler to use to compile current SVN 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 G'day all, I can't get current SVN to compile at all here (same problem with regard to register spill other people are seeing). I applied Blue Swirls patches (as seen here http://lists.gnu.org/archive/html/qemu-devel/2008-03/msg00320.html) and cleaned up the rejects, but I just get stumped further on... gcc-3.4 -fomit-frame-pointer -I. -I.. -I/tracks/src/src/qemu.new/target-i386 -I/tracks/src/src/qemu.new -MMD -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/tracks/src/src/qemu.new/tcg -I/tracks/src/src/qemu.new/tcg/i386 -I/tracks/src/src/qemu.new/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/tracks/src/src/qemu.new/slirp -march=pentium-mmx -Wall -O2 -g -fno-strict-aliasing -m32 -c -o helper.o /tracks/src/src/qemu.new/target-i386/helper.c /tracks/src/src/qemu.new/target-i386/ops_sse.h: In function `helper_pshufw_mmx': /tracks/src/src/qemu.new/target-i386/ops_sse.h:586: error: unable to find a register to spill in class `GENERAL_REGS' /tracks/src/src/qemu.new/target-i386/ops_sse.h:586: error: this is the insn: (insn:HI 20 19 21 0 /tracks/src/src/qemu.new/target-i386/ops_sse.h:581 (set (strict_low_part (subreg:HI (reg/v:DI 60 [ r ]) 0)) (mem/s/j:HI (plus:SI (mult:SI (reg:SI 64) (const_int 2 [0x2])) (reg/v/f:SI 62 [ s ])) [0 ._w S2 A16])) 54 {*movstricthi_1} (insn_list 18 (insn_list 14 (insn_list 52 (nil)))) (expr_list:REG_DEAD (reg:SI 64) (nil))) /tracks/src/src/qemu.new/target-i386/ops_sse.h:586: confused by earlier errors, bailing out make[1]: *** [helper.o] Error 1 make[1]: Leaving directory `/tracks/src/src/qemu.new/i386-softmmu' make: *** [subdir-i386-softmmu] Error 2 brad@bklaptop2:~$ gcc --version gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7) Copyright (C) 2007 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@bklaptop2:~$ gcc-3.4 --version gcc-3.4 (GCC) 3.4.6 (Ubuntu 3.4.6-6ubuntu3) 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. I'll download and compile a specific compiler if there is one guaranteed to compile cleanly (or even work at all). What compilers are the major developers using that actually function? Brad -- "Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so." -- Douglas Adams