[2.5.65] Broken gcc test

From: Bill Davidsen (davidsen@tmr.com)
Date: Fri Mar 21 2003 - 14:14:16 EST


It seems that a test for the frame pointer gcc bug was incorrectly added
to the build process, rejecting all 2.96 compilers (which generate better
code than 3.2) instead of just the broken ones.

  gcc -Wp,-MD,init/.main.o.d -D__KERNEL__ -Iinclude -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686
-Iinclude/asm-i386/mach-default -nostdinc -iwithprefix include
-DKBUILD_BASENAME=main -DKBUILD_MODNAME=main -c -o init/main.o init/main.c
init/main.c:49:2: #error This compiler cannot compile correctly with frame
pointers enabled
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2

oddball:davidsen> gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-113)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:37 EST