From: Michael Tokarev <mjt@tls.msk.ru>
To: qemu-devel@nongnu.org
Cc: Anthony Liguori <aliguori@linux.vnet.ibm.com>
Subject: Re: [Qemu-devel] [trivial PATCH 0.14+] fix compile error on i386
Date: Tue, 08 Feb 2011 11:10:56 +0300 [thread overview]
Message-ID: <4D50FA90.807@msgid.tls.msk.ru> (raw)
In-Reply-To: <4D4D2AFC.2040107@web.de>
http://article.gmane.org/gmane.comp.emulators.kvm.devel/67445 -- Ping?
qemu (0.14rc1) still can't be compiled on 32bit i386 host due to this.
/mjt
05.02.2011 13:48, Jan Kiszka wrote:
> On 2011-02-05 10:27, Michael Tokarev wrote:
>> When compiling on i386 (32bit) compiler choles on this:
>>
>> CC x86_64-softmmu/helper.o
>> cc1: warnings being treated as errors
>> target-i386/helper.c: In function 'cpu_inject_x86_mce':
>> target-i386/helper.c:1153: error: integer constant is too large for 'long' type
>>
>> qemu_inject_x86_mce() accepts uint64_t as 3rd arg, so we have to add ULL
>> to fix the invocation.
>>
>> Signed-Off-By: Michael Tokarev <mjt@tls.msk.ru>
>>
>> --- a/target-i386/helper.c
>> +++ b/target-i386/helper.c
>> @@ -1152,3 +1152,3 @@
>>
>> - qemu_inject_x86_mce(env, 1, 0xa000000000000000, 0, 0, 0);
>> + qemu_inject_x86_mce(env, 1, 0xa000000000000000ULL, 0, 0, 0);
>> }
>>
>
> The original value is wrong. [1] should get merged into 0.14.
>
> Jan
>
> [1] http://article.gmane.org/gmane.comp.emulators.kvm.devel/67445
>
prev parent reply other threads:[~2011-02-08 8:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-05 9:27 [Qemu-devel] [trivial PATCH 0.14+] fix compile error on i386 Michael Tokarev
2011-02-05 10:48 ` [Qemu-devel] " Jan Kiszka
2011-02-08 8:10 ` Michael Tokarev [this message]
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=4D50FA90.807@msgid.tls.msk.ru \
--to=mjt@tls.msk.ru \
--cc=aliguori@linux.vnet.ibm.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).