All of lore.kernel.org
 help / color / mirror / Atom feed
* SSE register return with SSE disabled
@ 2014-04-18  7:41 lx
  2014-05-08 14:41 ` lx
  0 siblings, 1 reply; 2+ messages in thread
From: lx @ 2014-04-18  7:41 UTC (permalink / raw)
  To: kernelnewbies

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
##################################

How to fix it? Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140418/81dcccbe/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* SSE register return with SSE disabled
  2014-04-18  7:41 SSE register return with SSE disabled lx
@ 2014-05-08 14:41 ` lx
  0 siblings, 0 replies; 2+ messages in thread
From: lx @ 2014-05-08 14:41 UTC (permalink / raw)
  To: kernelnewbies

hi all:
       This problem is a kernel bug. one patch has fixed it.
From: https://www.mail-archive.com/llvmbugs@cs.uiuc.edu/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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-08 14:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-18  7:41 SSE register return with SSE disabled lx
2014-05-08 14:41 ` lx

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.