|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Re: [Xen-changelog] [xen-unstable] Spinlock profiling(en
Thu, 15 Oct 2009 07:03:38 +0200, Juergen Gross wrote:
>Masaki Kanno wrote:
>> Hi,
>>
>> I got the following error.
>>
>> gcc -O1 -fno-omit-frame-pointer -fno-optimize-sibling-calls -m32 -march
>> =i686 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-
>> unused-value -Wdeclaration-after-statement -D__XEN_TOOLS__ -MMD -MF .
>> xenlockprof.o.d -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -
>> D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mno-tls-direct-seg-refs -
>> Werror -I ../../tools/python/xen/lowlevel/xc -I ../../tools/libxc -I ../..
>> /tools/include -c -o xenlockprof.o xenlockprof.c
>> cc1: warnings being treated as errors
>> xenlockprof.c: In function ‘main’:
>> xenlockprof.c:128: warning: format ‘%12ld’ expects type ‘long int’,
>> but argument 3 has type ‘uint64_t’
>> xenlockprof.c:128: warning: format ‘%12ld’ expects type ‘long int’,
>> but argument 5 has type ‘uint64_t’
>> make[4]: *** [xenlockprof.o] Error 1
>> make[4]: Leaving directory `/xen/xen-unstable.hg/tools/misc'
>> make[3]: *** [subdir-install-misc] Error 2
>> make[3]: Leaving directory `/xen/xen-unstable.hg/tools'
>> make[2]: *** [subdirs-install] Error 2
>> make[2]: Leaving directory `/xen/xen-unstable.hg/tools'
>> make[1]: *** [install-tools] Error 2
>> make[1]: Leaving directory `/xen/xen-unstable.hg'
>> make: *** [world] Error 2
>
>Sorry, I've got no 32 bit machine to test.
>
>Attached patch should correct this.
>
Hi Juergen,
Thank you! The error gets fixed by your patch.
Best regards,
Kan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|