qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: win32 build broken


From: Ronald
Subject: [Qemu-devel] Re: win32 build broken
Date: Sat, 08 Jan 2005 22:47:41 +0100
User-agent: Pan/0.14.2 (This is not a psychotic episode. It's a cleansing moment of clarity.)

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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]