Re: SSE register return with SSE disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi all:
       This problem is a kernel bug. one patch has fixed it.
From: https://www.mail-archive.com/llvmbugs@xxxxxxxxxxx/msg28903.html


于 2014/4/18 15:41, lx 写道:
> hi all:
>       I'm complie the kernel.I do it by:
> ##################################
> make V=1
> ##################################
>
> the error messages is:
> ##################################
> (cat /dev/null; ) > fs/sysfs/modules.order
>   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
> fs/mbcache.c: In function ‘__spin_lock_mb_cache_entry’:
> fs/mbcache.c:134: error: SSE register return with SSE disabled
> make[1]: *** [fs/mbcache.o] Error 1
> make: *** [fs] Error 2
> ##################################
>
> I know beacause I use the gcc complie optaions of "-mmo-sse", the SSE 
> is disables.
> The branch is:
> ##################################
> git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> <http://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git>
> ##################################
>
> How to fix it? Thank you


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies





[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux