[fedora-virt-maint] rpms/xen/devel xen-gcc44-buildfix.patch, NONE, 1.1 xen.spec, 1.227, 1.228

Gerd Hoffmann kraxel at fedoraproject.org
Tue Feb 24 11:35:07 UTC 2009


Author: kraxel

Update of /cvs/pkgs/rpms/xen/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19459

Modified Files:
	xen.spec 
Added Files:
	xen-gcc44-buildfix.patch 
Log Message:
fix gcc44 build

xen-gcc44-buildfix.patch:

--- NEW FILE xen-gcc44-buildfix.patch ---
--- a/xen/arch/x86/hvm/vpic.c~	2009-02-24 10:59:27.000000000 +0100
+++ b/xen/arch/x86/hvm/vpic.c	2009-02-24 12:20:46.000000000 +0100
@@ -56,7 +56,7 @@ static int vpic_get_priority(struct hvm_
 
     /* prio = ffs(mask ROR vpic->priority_add); */
     asm ( "ror %%cl,%b1 ; bsf %1,%0"
-          : "=r" (prio) : "r" ((uint32_t)mask), "c" (vpic->priority_add) );
+          : "=r" (prio) : "q" ((uint32_t)mask), "c" (vpic->priority_add) );
     return prio;
 }
 


Index: xen.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xen/devel/xen.spec,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -r1.227 -r1.228
--- xen.spec	3 Feb 2009 11:27:57 -0000	1.227
+++ xen.spec	24 Feb 2009 11:34:35 -0000	1.228
@@ -2,7 +2,7 @@
 
 # Always set these 3 tags
 %define base_version 3.3.1
-%define base_release 3
+%define base_release 4
 
 # Hypervisor ABI
 %define hv_abi  3.3
@@ -70,6 +70,7 @@
 Patch13: xen-dumpdir.patch
 Patch14: xen-net-disable-bridge-by-default.patch
 Patch15: xen-net-disable-iptables-on-bridge.patch
+Patch16: xen-gcc44-buildfix.patch
 Patch20: xen-backport-hg18782.patch
 Patch21: xen-backport-hg19075.patch
 Patch22: xen-backport-hg19108.patch
@@ -167,6 +168,7 @@
 %patch13 -p1
 %patch14 -p1
 %patch15 -p1
+%patch16 -p1
 
 %patch20 -p1
 %patch21 -p1
@@ -487,6 +489,9 @@
 %{_libdir}/*.a
 
 %changelog
+* Tue Feb 24 2009 Gerd Hoffmann <kraxel at redhat.com> - 3.3.1-4
+- fix gcc44 build (broken constrain in inline asm).
+
 * Tue Feb 3 2009 Gerd Hoffmann <kraxel at redhat.com> - 3.3.1-3
 - backport bzImage support for dom0 builder.
 




More information about the Fedora-virt-maint mailing list