Commit afab271f authored by Linus Torvalds's avatar Linus Torvalds

Error out for the case of a gcc-2.96 compiler with CONFIG_FRAME_POINTER

set. A few versions of gcc-2.96 generate seriously incorrect code.
parent c9d044cb
......@@ -39,6 +39,16 @@
#include <asm/io.h>
#include <asm/bugs.h>
/*
* This is one of the first .c files built. Error out early
* if we have compiler trouble..
*/
#if __GNUC__ == 2 && __GNUC_MINOR__ == 96
#ifdef CONFIG_FRAME_POINTER
#error This compiler cannot compile correctly with frame pointers enabled
#endif
#endif
#ifdef CONFIG_X86_LOCAL_APIC
#include <asm/smp.h>
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment