[xen] Temporarily turn off some compile options so it will build on rawhide

myoung myoung at fedoraproject.org
Sat Jan 29 19:07:20 UTC 2011


commit b3de545def969efaf59c6e54ea601ff1e27ab49d
Author: Michael Young <m.a.young at durham.ac.uk>
Date:   Sat Jan 29 19:04:25 2011 +0000

    Temporarily turn off some compile options so it will build on rawhide

 localgcc46fix.patch |   11 +++++++++++
 xen.spec            |    7 ++++++-
 2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/localgcc46fix.patch b/localgcc46fix.patch
new file mode 100644
index 0000000..e485c3b
--- /dev/null
+++ b/localgcc46fix.patch
@@ -0,0 +1,11 @@
+--- xen-4.0.1/Config.mk.orig	2010-08-25 11:22:44.000000000 +0100
++++ xen-4.0.1/Config.mk	2011-01-29 17:40:43.000000000 +0000
+@@ -135,6 +135,8 @@
+ 
+ LDFLAGS += $(foreach i, $(EXTRA_LIB), -L$(i)) 
+ CFLAGS += $(foreach i, $(EXTRA_INCLUDES), -I$(i))
++# temporary compile fix for rawhide
++CFLAGS += -Wunused-but-set-variable -Wno-error=unused-but-set-variable -Wuninitialized -Wno-error=uninitialized
+ 
+ EMBEDDED_EXTRA_CFLAGS := -nopie -fno-stack-protector -fno-stack-protector-all
+ EMBEDDED_EXTRA_CFLAGS += -fno-exceptions
diff --git a/xen.spec b/xen.spec
index 91bb4c2..4e8392f 100644
--- a/xen.spec
+++ b/xen.spec
@@ -6,7 +6,7 @@
 Summary: Xen is a virtual machine monitor
 Name:    xen
 Version: 4.0.1
-Release: 7%{?dist}
+Release: 8%{?dist}
 Group:   Development/Libraries
 License: GPLv2+ and LGPLv2+ and BSD
 URL:     http://xen.org/
@@ -45,6 +45,7 @@ Patch22: xen.xsave.disable.patch
 Patch23: grub-ext4-support.patch
 Patch24: xen.8259afix.patch
 Patch25: localcleanups.patch
+Patch26: localgcc46fix.patch
 
 Patch100: xen-configure-xend.patch
 
@@ -173,6 +174,7 @@ to build the xen packages.
 %patch22 -p1
 %patch24 -p1
 %patch25 -p1
+%patch26 -p1
 
 %patch100 -p1
 
@@ -528,6 +530,9 @@ rm -rf %{buildroot}
 %doc licensedir/*
 
 %changelog
+* Sat Jan 29 2011 Michael Young <m.a.young at durham.ac.uk> - 4.0.1-8
+- Temporarily turn off some compile options so it will build on rawhide
+
 * Fri Jan 28 2011 Michael Young <m.a.young at durham.ac.uk> - 4.0.1-7
 - ghost directories in /var/run (#656724)
 - minor fixes to /usr/share/doc/xen-doc-4.?.?/misc/network_setup.txt (#653159)


More information about the scm-commits mailing list