Hi there,

I've been installing the latest Linux kernel 2.6.27.7 from source tarballs and saw a weird thing over the process. The compile scripts seem to ignore the fact I've chosen Pentium-MMX at CPU selection in `make menuconfig` and imply gcc flags like -mno-mmx -mcpu=i686, only -march=pentium-mmx seems to be correct.

Here is the whole parameter list (log of the compile):

gcc -E -D__GENKSYMS__ -Wp,-MD,net/ieee80211/.ieee80211_module.o.d -nostdinc -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -D__KERNEL__ -Iinclude -I/usr/src/linux-2.6.27.7/arch/x86/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=pentium-mmx -mcpu=i686 -ffreestanding -DCONFIG_AS_CFI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fomit-frame-pointer -DMODULE -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(ieee80211_module) -DKBUILD_MODNAME=KBUILD_STR(ieee80211) net/ieee80211/ieee80211_module.c

/usr/lib/gcc-lib/i486-linux/3.3.5/cc1 -E -quiet -nostdinc -Iinclude -I/usr/src/linux-2.6.27.7/arch/x86/include -Iinclude/asm-x86/mach-default -D__GNUC__=3 -D__GNUC_MINOR__=3 -D__GNUC_PATCHLEVEL__=5 -D__GENKSYMS__ -D__KERNEL__ -DCONFIG_AS_CFI=1 -DMODULE -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(ieee80211_module) -DKBUILD_MODNAME=KBUILD_STR(ieee80211) -isystem /usr/lib/gcc-lib/i486-linux/3.3.5/include -include include/linux/autoconf.h -MD net/ieee80211/.ieee80211_module.o.d net/ieee80211/ieee80211_module.c -m32 -msoft-float -mregparm=3 -mpreferred-stack-boundary=2 -march=pentium-mmx -mcpu=i686 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -Wno-sign-compare -fno-strict-aliasing -fno-common -freg-struct-return -ffreestanding -fno-asynchronous-unwind-tables -fomit-frame-pointer -O2

Is this a known issue? Do the flags mean something else?

Thanks in advance
stringZ