From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CDODj-00064u-8E for qemu-devel@nongnu.org; Fri, 01 Oct 2004 10:17:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CDODi-00064i-SH for qemu-devel@nongnu.org; Fri, 01 Oct 2004 10:17:15 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CDODi-00064f-Pp for qemu-devel@nongnu.org; Fri, 01 Oct 2004 10:17:14 -0400 Received: from [130.136.1.101] (helo=lea.cs.unibo.it) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CDO7E-0004P0-On for qemu-devel@nongnu.org; Fri, 01 Oct 2004 10:10:33 -0400 Date: Fri, 1 Oct 2004 16:10:29 +0200 Subject: Re: [Qemu-devel] Patch: Sparc system support Message-ID: <20041001141029.GA19335@cs.unibo.it> References: <415C874B.6070307@bellard.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <415C874B.6070307@bellard.org> From: renzo@cs.unibo.it (Renzo Davoli) 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 Fri, Oct 01, 2004 at 12:23:07AM +0200, Fabrice Bellard wrote: > I applied your patches with some modifications. Please update your > sources with the CVS version and tell me if you see problems in my > modifications. Yes, I do ;-) With the latest cvs I get stuck during the compilation inside sparc-user. (I am working on a linuxppc host) In file included from /....... /qemu/translate-all.c:41: op.h: In function `dyngen_code': op.h:4781: error: parse error before ')' token op.h:4782: error: parse error before ')' token op.h:4797: error: parse error before ')' token op.h:4798: error: parse error before ')' token In fact there is something wrong in the op.h file: Line 4778: case INDEX_op_fitos: { extern void op_fitos(); memcpy(gen_code_ptr, (void *)((char *)&op_fitos+0), 56); *(uint16_t *)(gen_code_ptr + 26) = ((long)(&) + 0 + 0x8000) >> 16; *(uint16_t *)(gen_code_ptr + 30) = ((long)(&) + 0); gen_code_ptr += 56; } (long)(&) .... the operand is missing. The same error appears again some lines below: Line 4794: case INDEX_op_fitod: { extern void op_fitod(); memcpy(gen_code_ptr, (void *)((char *)&op_fitod+0), 52); *(uint16_t *)(gen_code_ptr + 26) = ((long)(&) + 8 + 0x8000) >> 16; *(uint16_t *)(gen_code_ptr + 30) = ((long)(&) + 8); gen_code_ptr += 52; } ciao renzo