On 01/18/2018 12:22 PM, Peter Maydell wrote:
> On 18 January 2018 at 02:09, Eduardo Habkost <ehabk...@redhat.com> wrote:
>> The following changes since commit 8e5dc9ba49743b46d955ec7dacb04e42ae7ada7c:
>>
>>   Merge remote-tracking branch 'remotes/rth/tags/pull-tcg-20180116' into 
>> staging (2018-01-16 17:36:39 +0000)
>>
>> are available in the Git repository at:
>>
>>   git://github.com/ehabkost/qemu.git tags/machine-next-pull-request
>>
>> for you to fetch changes up to 901cc8d31f36ac82824ab68f656ab7050404100c:
>>
>>   fw_cfg: fix memory corruption when all fw_cfg slots are used (2018-01-17 
>> 23:04:37 -0200)
>>
>> ----------------------------------------------------------------
>> machine queue, 2018-01-18
>>
>> ----------------------------------------------------------------
> 
> Hi. I'm afraid this doesn't build on 32-bit hosts, due to a
> format string problem:
> 
> In file included from /home/peter.maydell/qemu/exec.c:20:0:
> /home/peter.maydell/qemu/exec.c: In function 'file_ram_alloc':
> /home/peter.maydell/qemu/include/qapi/error.h:162:25: error: format
> '%llx' expects argument of type 'long long unsigned int', but argument
> 7 has type 'size_t {aka unsigned int}' [-Werror=format=]
>                          (fmt), ## __VA_ARGS__)
>                          ^
> /home/peter.maydell/qemu/exec.c:1616:9: note: in expansion of macro 
> 'error_setg'
>          error_setg(errp, "aligment 0x%" PRIx64
>          ^

Eduardo you can quickly check that running:

  $ make docker-test-build@debian-win32-cross
  (or use the debian-armel-cross image, but win32 is often weirder)

I hope one day compiler get smart enough to automatically fix those
mistakes :)

Reply via email to