[Top][All Lists]

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

Re: [Qemu-trivial] [Qemu-devel] [PATCH for-2.12] rdma: Fix 32-bit compil

From: Marcel Apfelbaum
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH for-2.12] rdma: Fix 32-bit compilation
Date: Tue, 20 Mar 2018 12:36:44 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

On 20/03/2018 0:08, Eric Blake wrote:
> On 03/19/2018 04:53 PM, Eric Blake wrote:
>> Use the correct printf formats, so that a 32-bit compile doesn't
>> spit out lots of warnings about %lx being incompatible with uint64_t.
>> Broken since initial commit ef6d4ccd.
>> Signed-off-by: Eric Blake <address@hidden>
>> ---
>> I don't know if 'make vm-build-ubuntu.i368' would catch this (it failed
>> for me for other reasons); I found it via a 32-bit rawhide VM.
> That fixes most of the warnings,


> but not:
> /home/dummy/qemu/hw/rdma/rdma_backend.c: In function 'rdma_backend_create_mr':
> /home/dummy/qemu/hw/rdma/rdma_backend.c:409:37: error: cast to pointer from 
> integer of different size
> [-Werror=int-to-pointer-cast]
>      m4->ibmr = ibv_reg_m4(pd->ibpd, (void *)addr, length, access);
>                                      ^

So the compilation actually brakes on 32bit machines?
I'll create a VM.


reply via email to

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