summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-3.19/allow-compile-GCC-4.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-3.19/allow-compile-GCC-4.8.patch')
-rw-r--r--recipes-kernel/linux/linux-3.19/allow-compile-GCC-4.8.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-3.19/allow-compile-GCC-4.8.patch b/recipes-kernel/linux/linux-3.19/allow-compile-GCC-4.8.patch
new file mode 100644
index 0000000..f8def9c
--- /dev/null
+++ b/recipes-kernel/linux/linux-3.19/allow-compile-GCC-4.8.patch
@@ -0,0 +1,19 @@
+Index: linux-3.18-rc3/arch/arm/kernel/asm-offsets.c
+===================================================================
+--- linux-3.18-rc3.orig/arch/arm/kernel/asm-offsets.c 2014-11-02 17:01:51.000000000 -0600
++++ linux-3.18-rc3/arch/arm/kernel/asm-offsets.c 2014-11-03 13:58:23.903793405 -0600
+@@ -49,10 +49,10 @@
+ #error Your compiler is too buggy; it is known to miscompile kernels.
+ #error Known good compilers: 3.3, 4.x
+ #endif
+-#if GCC_VERSION >= 40800 && GCC_VERSION < 40803
+-#error Your compiler is too buggy; it is known to miscompile kernels
+-#error and result in filesystem corruption and oopses.
+-#endif
++//#if GCC_VERSION >= 40800 && GCC_VERSION < 40803
++//#error Your compiler is too buggy; it is known to miscompile kernels
++//#error and result in filesystem corruption and oopses.
++//#endif
+ #endif
+
+ int main(void)