From: Nate Case <ncase@xes-inc.com>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org,
Sebastian Siewior <bigeasy@linutronix.de>,
ths@linutronix.de
Subject: Re: [PATCH] powerpc: enforce a non-spe kernel build even on broken compilers
Date: Tue, 14 Oct 2008 17:35:44 -0500 [thread overview]
Message-ID: <1224023744.7879.109.camel@localhost.localdomain> (raw)
In-Reply-To: <76A823BD-A9B8-4FB4-B09B-F818687193CA@kernel.crashing.org>
On Tue, 2008-10-14 at 16:23 -0500, Kumar Gala wrote:
> Why does -mno-spe work?
>
> From my gcc-4.3 info pages:
>
> `-mspe=YES/NO'
> This option has been deprecated. Use `-mspe' and `-mno-spe'
> instead.
>
> > +KBUILD_CFLAGS += $(call cc-option,-mabi=no-spe)
>
> is the -mabi=no-spe really needed?
My guess is that the -mabi=no-spe was the real key of what made it work
for him. I went through the same thing with my toolchain.
You do need -mabi=no-spe if your toolchain defaults to -mabi=spe like
mine does. I know that the more generic toolchains out there
(CodeSourcery, ELDK) default to -mabi=no-spe, so in that case it would
not be necessary.
I don't know what generated instructions are actually to blame, but I do
know that if you compile certain programs with "-mno-spe -mabi=spe" vs.
"-mno-spe -mabi=no-spe", the results will differ. In the case of the
kernel, you'll get a bunch of "SPE used in kernel" messages with the
"-mno-spe -mabi=spe" combination.
- Nate Case <ncase@xes-inc.com>
next prev parent reply other threads:[~2008-10-14 22:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-01 14:23 [PATCH] powerpc: enforce a non-spe kernel build even on broken compilers Sebastian Siewior
2008-10-14 19:25 ` Nate Case
2008-10-14 22:02 ` Nate Case
2008-10-14 21:23 ` Kumar Gala
2008-10-14 22:35 ` Nate Case [this message]
2008-10-14 22:49 ` Sebastian Andrzej Siewior
2008-10-15 8:59 ` Sebastian Andrzej Siewior
2008-10-15 13:25 ` Kumar Gala
2008-10-15 14:43 ` Sebastian Andrzej Siewior
2008-10-15 16:31 ` Kumar Gala
2008-10-17 14:02 ` Nate Case
2008-10-17 15:01 ` Sebastian Andrzej Siewior
2008-10-24 23:51 ` Nate Case
2008-10-24 23:55 ` Kumar Gala
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=1224023744.7879.109.camel@localhost.localdomain \
--to=ncase@xes-inc.com \
--cc=bigeasy@linutronix.de \
--cc=galak@kernel.crashing.org \
--cc=linuxppc-dev@ozlabs.org \
--cc=ths@linutronix.de \
/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).