From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CnOes-0001Iq-TB for qemu-devel@nongnu.org; Sat, 08 Jan 2005 17:02:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CnOer-0001Hf-Jt for qemu-devel@nongnu.org; Sat, 08 Jan 2005 17:02:05 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CnOer-0001Hc-Gi for qemu-devel@nongnu.org; Sat, 08 Jan 2005 17:02:05 -0500 Received: from [80.91.229.2] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CnOR2-0001Sd-5b for qemu-devel@nongnu.org; Sat, 08 Jan 2005 16:47:48 -0500 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CnOR1-0007IT-00 for ; Sat, 08 Jan 2005 22:47:47 +0100 Received: from amarseille-206-1-14-134.w81-49.abo.wanadoo.fr ([81.49.202.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jan 2005 22:47:46 +0100 Received: from daimon55 by amarseille-206-1-14-134.w81-49.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Jan 2005 22:47:46 +0100 From: Ronald Date: Sat, 08 Jan 2005 22:47:41 +0100 Message-ID: References: <0607B33A-5E93-11D9-9B65-000A9585A104@cordney.com> <20050106223507.GG23549@cs.unibo.it> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Sender: news Subject: [Qemu-devel] Re: win32 build broken 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 Le Thu, 06 Jan 2005 23:35:07 +0100, Renzo Davoli a écrit : > I have the same problem on linuxppc (also using tonight cvs updates). > (the line is 1265 instead of 1266). > > renzo > > On Tue, Jan 04, 2005 at 09:55:53PM +0100, Ren? Korthaus wrote: >> >Hi, >> > >> >build of cvs for win32 abort with: >> > >> >/home/ronald/Prog/Win32/combo/qemu-win32/target-i386/op.c: In function >> >`op_goto_tb0': >> >/home/ronald/Prog/Win32/combo/qemu-win32/target-i386/op.c:1266: >> >warning: implicit declaration of function `GOTO_TB' ../dyngen.exe -o >> >op.h op.o >> >dyngen: ret or jmp expected at the end of op_movslq_T0_T0 make[1]: *** >> >[op.h] Erreur 1 >> > >> >GOTO_TB is not defined in exec-all.h because of undefined >> >USE_DIRECT_JUMP. >> >> Same issue on Mac OS X: >> >> /Users/cordney/cocoa/qemu-cvs/target-i386/op.c: In function >> `op_goto_tb0': >> /Users/cordney/cocoa/qemu-cvs/target-i386/op.c:1266: warning: implicit >> declaration of function `GOTO_TB' >> /Users/cordney/cocoa/qemu-cvs/target-i386/op.c: At top level: >> /Users/cordney/cocoa/qemu-cvs/dyngen-exec.h:201: warning: `__op_param3' >> defined but not used >> ../dyngen -o op.h op.o >> dyngen: empty code for op_movslq_T0_T0 make[1]: *** [op.h] Error 1 >> make: *** [all] Error 1 >> >> May somebody provide a fix? After tonight's update here is what I get: /home/ronald/Prog/Win32/combo/qemu-win32/target-i386/op.c: In function `op_goto_tb0': /home/ronald/Prog/Win32/combo/qemu-win32/target-i386/op.c:1265: warning: implicit declaration of function `GOTO_TB' ../dyngen.exe -o op.h op.o ../dyngen.exe -c -o opc.h op.o i386-mingw32-gcc -Wall -O2 -g -fno-strict-aliasing -fomit-frame-pointer -I. -I/home/ronald/Prog/Win32/combo/qemu-win32/target-i386 -I/home/ronald/Prog/Win32/combo/qemu-win32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/home/ronald/Prog/Win32/combo/qemu-win32/slirp -c -o translate-all.o /home/ronald/Prog/Win32/combo/qemu-win32/translate-all.c In file included from /home/ronald/Prog/Win32/combo/qemu-win32/translate-all.c:41: op.h: In function `dyngen_code': op.h:5241: syntax error before '.' token op.h:5244: syntax error before '.' token op.h:5252: syntax error before '.' token op.h:5255: syntax error before '.' token op.h:8049: warning: built-in function `sqrtl' declared as non-function op.h:8069: warning: built-in function `sqrtl' declared as non-function op.h:8083: warning: built-in function `sqrtl' declared as non-function op.h:8099: warning: built-in function `sqrtl' declared as non-function make: *** [translate-all.o] Erreur 1 I get the 4 warnings about sqrtl for linux build too but at different line number . The following are the lines 5239 to 5259 of the generated op.h _______________________________________________________________________ case INDEX_op_goto_tb0: { extern void op_goto_tb0(); extern char .text; extern char GOTO_TB; memcpy(gen_code_ptr, (void *)((char *)&op_goto_tb0+0), 14); *(uint32_t *)(gen_code_ptr + 3) = (long)(&.text) + 35472; *(uint32_t *)(gen_code_ptr + 8) = (long)(&GOTO_TB) - (long)(gen_code_ptr + 8) + 0 -4; gen_code_ptr += 14; } break; case INDEX_op_goto_tb1: { extern void op_goto_tb1(); extern char .text; extern char GOTO_TB; memcpy(gen_code_ptr, (void *)((char *)&op_goto_tb1+0), 14); *(uint32_t *)(gen_code_ptr + 3) = (long)(&.text) + 35488; *(uint32_t *)(gen_code_ptr + 8) = (long)(&GOTO_TB) - (long)(gen_code_ptr + 8) + 0 -4; gen_code_ptr += 14; } break; _______________________________________________________________________ qemu-system-ppc and qemu-system-sparc can still be built.