WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [Xen-changelog] [xen-unstable] Spinlock profiling(en

To: Juergen Gross <juergen.gross@xxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-changelog] [xen-unstable] Spinlock profiling(enable in buildwith lock_profile=y)
From: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
Date: Thu, 15 Oct 2009 16:30:18 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 15 Oct 2009 00:31:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AD6AD2A.2070602@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200910140815.n9E8FKMD001374@xxxxxxxxxxxxxxxxxxxxx> <3CA4D28AE2337kanno.masaki@xxxxxxxxxxxxxx> <4AD6AD2A.2070602@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>