rpms/kernel/devel kernel.spec,1.1776,1.1777

roland roland at fedoraproject.org
Wed Sep 9 02:16:13 UTC 2009


Author: roland

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

Modified Files:
	kernel.spec 
Log Message:
compile with -fno-var-tracking-assignments, work around gcc bug #521991


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/kernel.spec,v
retrieving revision 1.1776
retrieving revision 1.1777
diff -u -p -r1.1776 -r1.1777
--- kernel.spec	8 Sep 2009 22:51:11 -0000	1.1776
+++ kernel.spec	9 Sep 2009 02:16:13 -0000	1.1777
@@ -1162,7 +1162,7 @@ ApplyPatch linux-2.6-dell-laptop-rfkill-
 #
 # Quiesce USB host controllers before setting up the IOMMU
 ApplyPatch linux-2.6-die-closed-source-bios-muppets-die.patch
-# Some performance fixes, unify hardware/software passthrough support, and 
+# Some performance fixes, unify hardware/software passthrough support, and
 # most importantly: notice when the BIOS points us to a region that returns
 # all 0xFF, and claims that there's an IOMMU there.
 ApplyPatch linux-2.6-intel-iommu-updates.patch
@@ -1444,6 +1444,11 @@ BuildKernel() {
     # make sure EXTRAVERSION says what we want it to say
     perl -p -i -e "s/^EXTRAVERSION.*/EXTRAVERSION = %{?stablerev}-%{release}.%{_target_cpu}${Flavour:+.${Flavour}}/" Makefile
 
+    cat >> Makefile <<\EOF
+# XXX temp workaround for https://bugzilla.redhat.com/show_bug.cgi?id=521991
+KBUILD_CFLAGS += -fno-var-tracking-assignments
+EOF
+
     # if pre-rc1 devel kernel, must fix up SUBLEVEL for our versioning scheme
     %if !0%{?rcrev}
     %if 0%{?gitrev}
@@ -1794,7 +1799,7 @@ make DESTDIR=$RPM_BUILD_ROOT bootwrapper
     done
 %if !%{with_firmware}
 # remove the firmware files, if ! with_firmware
-    rm -fr $RPM_BUILD_ROOT/lib/firmware 
+    rm -fr $RPM_BUILD_ROOT/lib/firmware
 %endif
 %endif
 
@@ -2020,6 +2025,9 @@ fi
 # and build.
 
 %changelog
+* Wed Sep  9 2009 Roland McGrath <roland at redhat.com> 2.6.31-0.214.rc9.git1
+- compile with -fno-var-tracking-assignments, work around gcc bug #521991
+
 * Wed Sep 09 2009 Dave Airlie <airlied at redhat.com> 2.6.31-0.213.rc9.git1
 - fix two bugs in r600 kms, fencing + mobile lvds
 
@@ -2346,7 +2354,7 @@ fi
 * Thu Jul 30 2009 Ben Skeggs <bskeggs at redhat.com>
 - nouveau: another DCB 1.5 entry, G80 corruption fixes, small <G80 KMS fix
 
-* Thu Jul 30 2009 Dave Airlie <airlied at redhat.com> 
+* Thu Jul 30 2009 Dave Airlie <airlied at redhat.com>
 - fix VGA ARB + kms
 
 * Wed Jul 29 2009 Dave Jones <davej at redhat.com>
@@ -3178,4 +3186,3 @@ fi
 # rpm-change-log-uses-utc: t
 # End:
 ###
-




More information about the fedora-extras-commits mailing list