kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: lxlenovostar@gmail.com (lx)
To: kernelnewbies@lists.kernelnewbies.org
Subject: SSE register return with SSE disabled
Date: Thu, 08 May 2014 22:41:22 +0800	[thread overview]
Message-ID: <536B9792.1060700@gmail.com> (raw)
In-Reply-To: <CA+5jrf=T4VLkK4FmV1LyELrZ_Lp5HCDWKdLVZX-Wc7FFZhkhdg@mail.gmail.com>

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

      reply	other threads:[~2014-05-08 14:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-18  7:41 SSE register return with SSE disabled lx
2014-05-08 14:41 ` lx [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=536B9792.1060700@gmail.com \
    --to=lxlenovostar@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).