From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CHAw5-0002PA-Rv for qemu-devel@nongnu.org; Mon, 11 Oct 2004 20:54:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CHAw5-0002Oy-DG for qemu-devel@nongnu.org; Mon, 11 Oct 2004 20:54:41 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CHAw5-0002Ov-9B for qemu-devel@nongnu.org; Mon, 11 Oct 2004 20:54:41 -0400 Received: from [64.233.170.203] (helo=mproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CHAoy-0005qb-Kp for qemu-devel@nongnu.org; Mon, 11 Oct 2004 20:47:20 -0400 Received: by mproxy.gmail.com with SMTP id 73so600505rnl for ; Mon, 11 Oct 2004 17:47:20 -0700 (PDT) Message-ID: <2ad73a041011174644920456@mail.gmail.com> Date: Mon, 11 Oct 2004 21:46:02 -0300 From: =?ISO-8859-1?Q?Andr=E9_Braga?= Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Compiling QEMU on gcc 4.0 20040924 Reply-To: =?ISO-8859-1?Q?Andr=E9_Braga?= , 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 Just wanted to let you know that as of the 20040924 snapshot of GCC 4.0, QEMU won't compile. It fails when compiling op.c: gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -mpreferred-stack- boundary=2 -falign-functions=0 -fno-gcse -fno-reorder-blocks -fno-optimize-sibl ing-calls -I. -Iqemu-snapshot-2004-10-10_23/target-i386 -Iqemu-snapshot-2004-10-10_23 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Iqemu-snapshot-2004-10-10_23/slirp -c - o op.o qemu-snapshot-2004-10-10_23/target-i386/op.c qemu-snapshot-2004-10-10_23/target-i386/ops_template_mem.h: In function 'op_cmpxchgb_kernel_T0_T1_EAX_cc': qemu-snapshot-2004-10-10_23/softmmu_header.h:183: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' So I guess the -fno-gcse hack won't help us anymore. Cheers, A. -- "A year spent in artificial intelligence is enough to make one believe in God" Alan J. Perlis