<div dir="ltr">hi all:<div> I'm complie the kernel.I do it by:</div><div>##################################</div><div>make V=1</div><div>##################################</div><div><br></div><div>the error messages is:</div>
<div>##################################</div><div><div>(cat /dev/null; ) > fs/sysfs/modules.order</div><div> gcc -Wp,-MD,fs/.mbcache.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include -I/opt/lx/kernel/kernel_test/kernel/linux/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/opt/lx/kernel/kernel_test/kernel/linux/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/opt/lx/kernel/kernel_test/kernel/linux/include/uapi -Iinclude/generated/uapi -include /opt/lx/kernel/kernel_test/kernel/linux/include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -Os -m64 -mno-mmx -mno-sse -mno-80387 -mno-fp-ret-in-387 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_CRC32=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(mbcache)" -D"KBUILD_MODNAME=KBUILD_STR(mbcache)" -c -o fs/.tmp_mbcache.o fs/mbcache.c</div>
<div>fs/mbcache.c: In function ‘__spin_lock_mb_cache_entry’:</div><div>fs/mbcache.c:134: error: SSE register return with SSE disabled</div><div>make[1]: *** [fs/mbcache.o] Error 1</div><div>make: *** [fs] Error 2</div></div>
<div>##################################</div><div><br></div><div>I know beacause I use the gcc complie optaions of "-mmo-sse", the SSE is disables. </div><div>The branch is:</div><div>##################################</div>
<div>git://<a href="http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git">git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git</a><br></div><div>##################################</div><div><br></div><div>
How to fix it? Thank you</div></div>