]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - init/main.c
gcc-4.1.0 is bust
[karo-tx-linux.git] / init / main.c
index 5edd3013d810896519679acc6abb759307ccda45..847397be23a6b509bf86adbbf2aafa7c476bb631 100644 (file)
 #error Sorry, your GCC is too old. It builds incorrect kernels.
 #endif
 
+#if __GNUC__ == 4 && __GNUC_MINOR__ == 1 && __GNUC_PATCHLEVEL__ == 0
+#error gcc-4.1.0 is known to miscompile the kernel.  A different compiler version is recommended.
+#endif
+
 static int init(void *);
 
 extern void init_IRQ(void);