[Pkg-uml-commit] r312 - trunk/src/user-mode-linux/debian/patches

malattia at alioth.debian.org malattia at alioth.debian.org
Sat Jul 5 06:07:29 UTC 2008


Author: malattia
Date: 2008-07-05 06:07:28 +0000 (Sat, 05 Jul 2008)
New Revision: 312

Added:
   trunk/src/user-mode-linux/debian/patches/04_workaround_gcc4.3_ICE.patch
Log:
gcc4.3 ICEs when building UML with -fno-unit-at-a-time


Added: trunk/src/user-mode-linux/debian/patches/04_workaround_gcc4.3_ICE.patch
===================================================================
--- trunk/src/user-mode-linux/debian/patches/04_workaround_gcc4.3_ICE.patch	                        (rev 0)
+++ trunk/src/user-mode-linux/debian/patches/04_workaround_gcc4.3_ICE.patch	2008-07-05 06:07:28 UTC (rev 312)
@@ -0,0 +1,21 @@
+# Mattia Dongili <malattia at debian.org>
+# 
+# gcc-4.3 dies when building UML 2.6.25
+# -------------------------------------
+# see http://gcc.gnu.org/ml/gcc-bugs/2008-03/msg01433.html
+# apparently not using -fno-unit-at-a-time help but breaks 
+# UML on some fedora version, see
+# http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c0a18111e571138747a98af18b3a2124df56a0d1
+# we can go ahead with this here.
+#
+--- a/arch/um/Makefile	2008-07-04 08:03:01.616755671 +0900
++++ b/arch/um/Makefile	2008-07-04 08:03:20.244755494 +0900
+@@ -77,7 +77,7 @@
+ KERNEL_DEFINES = $(strip -Derrno=kernel_errno -Dsigprocmask=kernel_sigprocmask \
+ 			 -Dmktime=kernel_mktime $(ARCH_KERNEL_DEFINES))
+ KBUILD_CFLAGS += $(KERNEL_DEFINES)
+-KBUILD_CFLAGS += $(call cc-option,-fno-unit-at-a-time,)
++#KBUILD_CFLAGS += $(call cc-option,-fno-unit-at-a-time,)
+ 
+ PHONY += linux
+ 


Property changes on: trunk/src/user-mode-linux/debian/patches/04_workaround_gcc4.3_ICE.patch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-uml-commit mailing list