qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 10/65] tcg/s390: Expose host facilities to tcg-ta


From: Christian Borntraeger
Subject: Re: [Qemu-devel] [PULL 10/65] tcg/s390: Expose host facilities to tcg-target.h
Date: Mon, 16 Jan 2017 09:28:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

On 01/13/2017 10:18 AM, Christian Borntraeger wrote:
> On 01/11/2017 03:17 AM, Richard Henderson wrote:
>> This lets us expose facilities to TCG_TARGET_HAS_* defines
>> directly, rather than hiding behind function calls.
>>
>> Signed-off-by: Richard Henderson <address@hidden>
>> ---
>>  tcg/s390/tcg-target.h     | 126 
>> ++++++++++++++++++++++++----------------------
>>  tcg/s390/tcg-target.inc.c |  74 +++++++++++----------------
>>  2 files changed, 96 insertions(+), 104 deletions(-)
> 
> This broke compilation.Seems that you forgot one replacement:
> 
> In file included from /home/cborntra/REPOS/qemu/tcg/tcg.c:253:0:
> /home/cborntra/REPOS/qemu/tcg/s390/tcg-target.inc.c: In function ‘tgen_cmp’:
> /home/cborntra/REPOS/qemu/tcg/s390/tcg-target.inc.c:1096:19: error: 
> ‘facilities’ undeclared (first use in this function)
>              if (!(facilities & FACILITY_EXT_IMM)) {
>                    ^~~~~~~~~~
> /home/cborntra/REPOS/qemu/tcg/s390/tcg-target.inc.c:1096:19: note: each 
> undeclared identifier is reported only once for each function it appears in
> /home/cborntra/REPOS/qemu/rules.mak:64: recipe for target 'tcg/tcg.o' failed
> make[1]: *** [tcg/tcg.o] Error 1
> Makefile:203: recipe for target 'subdir-s390x-softmmu' failed
> make: *** [subdir-s390x-softmmu] Error 2
> make: Leaving directory '/home/cborntra/REPOS/qemu/build'
> 
> 
> 

Can we get a fix for this? Seems that a simple replacement of facilities -> 
s390_facilities
would do the trick.

Christian




reply via email to

[Prev in Thread] Current Thread [Next in Thread]