From: "Christoph Egger" Subject: [PATCH] Build fix for OpenBSD Date: Wed, 1 Nov 2006 10:25:04 +0100 Message-ID: <200611011025.05166.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-00=_xfGSFNklvRCDBP6" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-00=_xfGSFNklvRCDBP6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi! I have xen-unstable changeset 12050: gcc -O2 -fomit-frame-pointer -m32 -march=i686 -DNDEBUG -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable-master.hg/xen/include -I/usr/src/xen-unstable-master.hg/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable-master.hg/xen/include/asm-x86/mach-default -msoft-float -fno-stack-protector -fno-stack-protector-all -g -D__XEN__ -c seg_fixup.c -o seg_fixup.o seg_fixup.c: In function `gpf_emulate_4gb': seg_fixup.c:298: warning: int format, long int arg (arg 4) gmake[4]: *** [seg_fixup.o] Error 1 gmake[4]: Leaving directory `/usr/src/xen-unstable-master.hg/xen/arch/x86/x86_32' gmake[3]: *** [x86_32/built_in.o] Error 2 The attached patch fixes this. --Boundary-00=_xfGSFNklvRCDBP6 Content-Type: text/x-diff; charset=us-ascii; name=seg_fixup.diff Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=seg_fixup.diff diff -r 2db4388fecb9 xen/arch/x86/x86_32/seg_fixup.c =2D-- a/xen/arch/x86/x86_32/seg_fixup.c Tue Oct 31 16:42:46 2006 +0000 +++ b/xen/arch/x86/x86_32/seg_fixup.c Wed Nov 01 10:23:42 2006 +0100 @@ -296,7 +296,7 @@ int gpf_emulate_4gb(struct cpu_user_regs if ( get_user(b, pb) ) { dprintk(XENLOG_DEBUG, =2D "Fault while accessing byte %d of instruction\n", + "Fault while accessing byte %ld of instruction\n", pb-eip); goto page_fault; } --Boundary-00=_xfGSFNklvRCDBP6 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-00=_xfGSFNklvRCDBP6--