From: Thiemo Seufer <ths@networkno.de>
To: Gabriele Gorla <gorlik@yahoo.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] qemu on alpha
Date: Tue, 25 Dec 2007 00:29:56 +0000 [thread overview]
Message-ID: <20071225002955.GB5128@networkno.de> (raw)
In-Reply-To: <691343.68402.qm@web53703.mail.re2.yahoo.com>
Gabriele Gorla wrote:
> Hello,
> I recently downloaded qemu-0.9.0 and tried to compile
> it on alpha.
> I was not able to get any target to compile.
>
> I searched the mailing list but I was not able to find
> any recent information on the alpha host status.
>
> I am using gcc-3.3.6 on debian stable with upgraded
> kernel
> 2.6.22
> I have tried with gcc-3.4 and 4.1 with similar
> results.
>
> I patched the line:
> #if defined (__x86_64__) || defined(__ia64) ||
> defined(__alpha__)
> of file dyngen-exec.h to add the alpha to the 64-bit
> architectures to prevent redefinition of int64_t and
> uint64_t
>
> beside tons of warning about casting pointers to int
> of different sizes I get the following two fatal
> errors:
>
> qemu-0.9.0/target-i386/ops_template.h:278: warning:
> implicit declaration of function `GOTO_LABEL_PARAM'
>
> qemu-0.9.0/target-i386/translate.c:1898: error: too
> many arguments to function `gen_op_jnz_T0_label'
> qemu-0.9.0/target-i386/translate.c:1900: error: too
> many arguments to function `gen_op_jmp_label'
>
> in the translate.c file the function is called with:
> 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;
> }
>
> 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
> 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
> hint.
Current CVS has probably less broken alpha host support. Still, it is
unlikely to work out of the box, fixing this requires some knowledge
of alpha assembler. (E.g. for implementing a GOTO_LABEL_PARAM for alpha.)
Thiemo
next prev parent reply other threads:[~2007-12-25 0:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-21 8:14 [Qemu-devel] qemu on alpha Gabriele Gorla
2007-12-25 0:29 ` Thiemo Seufer [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-02-26 9:36 Gabriele Gorla
2008-02-26 11:56 ` Thiemo Seufer
2008-01-12 2:48 Gabriele Gorla
2004-07-20 7:39 [Qemu-devel] QEMU on Alpha Alex Melnikov
2004-07-20 22:19 ` Falk Hueffner
2003-05-28 0:58 [Qemu-devel] QEMU 0.2 is out Fabrice Bellard
2003-06-01 18:19 ` Falk Hueffner
2003-06-02 22:52 ` Fabrice Bellard
2003-06-02 23:20 ` Falk Hueffner
2003-06-03 0:49 ` Fabrice Bellard
2003-06-03 13:18 ` Falk Hueffner
2003-06-05 1:12 ` [Qemu-devel] QEMU on Alpha Fabrice Bellard
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=20071225002955.GB5128@networkno.de \
--to=ths@networkno.de \
--cc=gorlik@yahoo.com \
--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.