Skip to contentSkip to conversation

qemu on alpha

Qemu-devel Gabriele Gorla 1 participant 1 message Jan 12, 2008

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Thiemo
Quoted 2 lines · Gabriele Gorla

Hello,
I recently downloaded qemu-0.9.0 and tried to

compile

Quoted 4 lines
Quoted 4 lines

it on alpha.
I was not able to get any target to compile.

beside tons of warning about casting pointers to

int

Quoted 4 lines
Quoted 4 lines

of different sizes I get the following two fatal errors:

qemu-0.9.0/target-i386/ops_template.h:278:

warning:

Quoted 1 line
Quoted 1 line

implicit declaration of function

`GOTO_LABEL_PARAM'

Quoted 2 lines
Quoted 2 lines

qemu-0.9.0/target-i386/translate.c:1898: error:

too

Quoted 2 lines
Quoted 2 lines

many arguments to function `gen_op_jnz_T0_label' qemu-0.9.0/target-i386/translate.c:1900: error:

too

Quoted 3 lines
Quoted 3 lines

many arguments to function `gen_op_jmp_label'

in the translate.c file the function is called

with:

Quoted 8 lines
Quoted 8 lines
        gen_op_jmp_label(l2);

but in gen-op.h it is defined as:
static inline void gen_op_jmp_label(void)

{
    *gen_opc_ptr++ = INDEX_op_jmp_label;
}
Quoted 5 lines
Quoted 5 lines

same for gen_op_jnz_T0_label

for GOTO_LABEL_PARAM the definition is completely missing from dyngen-exec.h (it is there for all

other

Quoted 5 lines
Quoted 5 lines

host CPUs except m68k)

Unfortunately my understanding of the code is not sufficient to do anything useful at this point. I would really appreciate if someone could give me

a

Quoted 5 lines
Quoted 1 line

hint.

Current CVS has probably less broken alpha host
support. Still, it is
unlikely to work out of the box, fixing this

requires

Quoted 3 lines

some knowledge
of alpha assembler. (E.g. for implementing a
GOTO_LABEL_PARAM for alpha.)

Thiemo,
thanks for your reply.

I downloaded the latest CVS snapshot. It seems to be slightly better as I do not have to patch for 64-bit datatypes any longer.
However it still complains about gen_op_jnz_T0_label and gen_op_jmp_label.

I am willing to spend time trying to figure out what is wrong but I really need a little help to understand where to look.

thanks,
GG

      ____________________________________________________________________________________

Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ