From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BmXeb-0007Ly-U4 for qemu-devel@nongnu.org; Mon, 19 Jul 2004 08:54:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BmXeY-0007Ka-Gk for qemu-devel@nongnu.org; Mon, 19 Jul 2004 08:54:00 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BmXeY-0007KW-Ef for qemu-devel@nongnu.org; Mon, 19 Jul 2004 08:53:58 -0400 Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BmXbp-0006r8-KX for qemu-devel@nongnu.org; Mon, 19 Jul 2004 08:51:10 -0400 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BmXbl-0003OC-00 for ; Mon, 19 Jul 2004 14:51:05 +0200 Received: from amarseille-206-1-24-86.w81-51.abo.wanadoo.fr ([81.51.158.86]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Jul 2004 14:51:05 +0200 Received: from daimon55 by amarseille-206-1-24-86.w81-51.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 19 Jul 2004 14:51:05 +0200 From: Ronald Date: Mon, 19 Jul 2004 14:50:59 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] qemu-system-ppc gcc-3.4.0 optimization problem Reply-To: daimon55@free.fr, 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 Hello world, I have experienced a strange thing, With gcc-3.4 it seems I have two choices to build qemu correctly: replacing -O2 with -O1 in Makefile.target or editing target-i386/op.c so ASM_SOFTMMU is defined for gcc-3.4 too. When qemu-system-ppc is build with -O1 I am able to boot my prep kernel, everything go fine. But when i edit op.c, qemu-system-ppc hangs with (on my xterm): *** ERROR: idx fe already assigned to a direct opcode *** ERROR: unable to insert opcode [20-fe-fd] *** ERROR initializing PPC instruction 0x20 0xfe 0xfd invalid/unsupported opcode: 12 - 02 - 18 (4bfffe05) 0xfffffffc 0 invalid/unsupported opcode: 00 - 00 - 00 (00000000) 0x00000700 0 qemu cvs from yesterday.