From: Alexander Graf <agraf@suse.de>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: Jay Foad <jay.foad@gmail.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2] tcg: fix assertion with --enable-debug
Date: Mon, 22 Feb 2010 15:34:19 +0100 [thread overview]
Message-ID: <4B8295EB.5080003@suse.de> (raw)
In-Reply-To: <f43fc5581002200232h72ac0f7erc0ee7cd4f92a4250@mail.gmail.com>
Blue Swirl wrote:
> Thanks, applied.
>
This patch breaks building on ppc32. Reverting it makes it compile again:
In file included from /suse/agraf/git/qemu/tcg/tcg.c:158:
/suse/agraf/git/qemu/tcg/ppc/tcg-target.c:1696: error:
‘INDEX_op_qemu_ld32s’ undeclared here (not in a function)
Alex
> On 2/20/10, Jay Foad <jay.foad@gmail.com> wrote:
>
>> On 32-bit hosts op_qemu_ld32s is unused. Remove it to fix the
>> following assertion failure:
>>
>> qemu-alpha: tcg/tcg.c:1055:
>> tcg_add_target_add_op_defs: Assertion `tcg_op_defs[op].used' failed.
>>
>> Signed-off-by: Jay Foad <jay.foad@gmail.com>
>> ---
>> tcg/tcg-opc.h | 5 -----
>> 1 files changed, 0 insertions(+), 5 deletions(-)
>>
>> diff --git a/tcg/tcg-opc.h b/tcg/tcg-opc.h
>> index 89db3b4..838f1f4 100644
>> --- a/tcg/tcg-opc.h
>> +++ b/tcg/tcg-opc.h
>> @@ -224,11 +224,6 @@ DEF2(qemu_ld32u, 1, 1, 1, TCG_OPF_CALL_CLOBBER |
>> TCG_OPF_SIDE_EFFECTS)
>> DEF2(qemu_ld32u, 1, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
>> #endif
>> #if TARGET_LONG_BITS == 32
>> -DEF2(qemu_ld32s, 1, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
>> -#else
>> -DEF2(qemu_ld32s, 1, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
>> -#endif
>> -#if TARGET_LONG_BITS == 32
>> DEF2(qemu_ld64, 2, 1, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
>> #else
>> DEF2(qemu_ld64, 2, 2, 1, TCG_OPF_CALL_CLOBBER | TCG_OPF_SIDE_EFFECTS)
>>
>>
>>
>>
>
>
>
next prev parent reply other threads:[~2010-02-22 14:34 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-20 10:08 [Qemu-devel] [PATCH v2] tcg: fix assertion with --enable-debug Jay Foad
2010-02-20 10:32 ` Blue Swirl
2010-02-22 14:34 ` Alexander Graf [this message]
2010-02-22 14:42 ` Jay Foad
2010-02-22 15:22 ` Stefan Weil
2010-02-22 16:43 ` [Qemu-devel] [PATCH] tcg/ppc: Add missing conditional compilation Stefan Weil
2010-02-22 17:09 ` malc
2010-02-22 15:23 ` [Qemu-devel] [PATCH v2] tcg: fix assertion with --enable-debug Alexander Graf
2010-02-22 15:55 ` Jay Foad
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=4B8295EB.5080003@suse.de \
--to=agraf@suse.de \
--cc=blauwirbel@gmail.com \
--cc=jay.foad@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).