Re: [Xen-devel] [PATCH for-4.7] mkelf32: fix compilation on 32 bit build host

2016-04-29 Thread Wei Liu
On Fri, Apr 29, 2016 at 01:26:39PM -0400, Konrad Rzeszutek Wilk wrote: > On Fri, Apr 29, 2016 at 06:25:31PM +0100, Wei Liu wrote: > > When cross-compiling xen on a 32 bit build host: > > > > boot/mkelf32.c: In function 'main': > > boot/mkelf32.c:360:21: error: format '%ld' expects argument of type

Re: [Xen-devel] [PATCH for-4.7] mkelf32: fix compilation on 32 bit build host

2016-04-29 Thread Konrad Rzeszutek Wilk
On Fri, Apr 29, 2016 at 06:25:31PM +0100, Wei Liu wrote: > When cross-compiling xen on a 32 bit build host: > > boot/mkelf32.c: In function 'main': > boot/mkelf32.c:360:21: error: format '%ld' expects argument of type 'long > int', but argument 3 has type 'Elf64_Off' [-Werror=format] > cc1: all w

Re: [Xen-devel] [PATCH for-4.7] mkelf32: fix compilation on 32 bit build host

2016-04-29 Thread Andrew Cooper
On 29/04/16 18:25, Wei Liu wrote: > When cross-compiling xen on a 32 bit build host: > > boot/mkelf32.c: In function 'main': > boot/mkelf32.c:360:21: error: format '%ld' expects argument of type 'long > int', but argument 3 has type 'Elf64_Off' [-Werror=format] > cc1: all warnings being treated as