Hi,
Obviously someone does not have a sparc64 :)
==============
alex@woodchuck:/usr/src/linux-2.6.18$ make
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/sparc64/kernel/asm-offsets.s
cc1: error: invalid option `medlow'
cc1: error: unrecognized option `-Wextra'
make[1]: *** [arch/sparc64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
===============
This turns out to be due to the diff hunk from grsecurity-2.1.9-2.6.18-200610021833.patch.gz
===============
+++ linux-2.6.18/Makefile 2006-09-22 20:45:03.000000000 -0400
@@ -307,7 +307,7 @@ LINUXINCLUDE := -Iinclude \
CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
-CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
+CFLAGS := -Wall -Wextra -Wno-unused -Wno-sign-compare -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common
AFLAGS := -D__ASSEMBLY__
@@ -552,7 +552,7 @@ export mod_strip_cmd
================
The sparc64 branch (/usr/src/linux/arch/sparc64/) uses '-mmedlow' to detect if we are running a new or old version of GCC, by adding '-Wextra' things explode horribly and its impossible to compile a kernel.
Any chance of removing this?
Cheers
Alex
BTW sorry if this is a duplicate bug report, I could not find anything in the forum