gentoo-sources 2.6.16-r9 path /usr/src/linux/arch/x86_64. Makefile contains the following line: # prevent gcc from generating any FP code by mistake CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,) should be # prevent gcc from generating any FP code by mistake # CFLAGS += $(call cc-option,-mno-sse -mno-mmx -mno-sse2 -mno-3dnow,)
Read the comment above the CFLAGS line. _No_ floating point operations in-kernel, this includes any floating point operations that are cuased by optimisation to SIMD code by the compiler. Next time, please grok the thing first, before you dub it a bug.