All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ronald <look@reply.to>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: win32 build broken
Date: Sat, 08 Jan 2005 22:47:41 +0100	[thread overview]
Message-ID: <pan.2005.01.08.21.47.38.829699@reply.to> (raw)
In-Reply-To: 20050106223507.GG23549@cs.unibo.it

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.

  parent reply	other threads:[~2005-01-08 22:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 13:03 [Qemu-devel] win32 build broken Ronald
2005-01-04 20:55 ` René Korthaus
2005-01-06 22:35   ` Renzo Davoli
2005-01-06 22:52     ` Magnus Damm
2005-01-07  7:37       ` [Qemu-devel] softmmu ppc Laurent Amon
2005-01-07  9:43         ` Daniel Egger
2005-01-07 12:06           ` Magnus Damm
2005-01-07 14:05             ` Piotras
2005-01-07 16:05             ` Daniel Egger
2005-01-08  9:57               ` Magnus Damm
2005-01-08 12:49                 ` Daniel Egger
2005-01-08 21:47     ` Ronald [this message]
2005-01-08 22:12       ` [Qemu-devel] Re: win32 build broken Filip Navara
2005-01-08 22:37         ` [Qemu-devel] " Ronald

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pan.2005.01.08.21.47.38.829699@reply.to \
    --to=look@reply.to \
    --cc=daimon55@free.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.