From: Masaki Kanno Subject: Re: Re: [Xen-changelog] [xen-unstable] Spinlock profiling(enable in buildwith lock_profile=y) Date: Thu, 15 Oct 2009 16:30:18 +0900 Message-ID: <5CA4D69585746kanno.masaki@jp.fujitsu.com> References: <200910140815.n9E8FKMD001374@xenbits.xensource.com> <3CA4D28AE2337kanno.masaki@jp.fujitsu.com> <4AD6AD2A.2070602@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4AD6AD2A.2070602@ts.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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