[ELDK] ELDK 5.0 - cc1: error Do not use -Os option if -enable-target-optspace is not set

Wolfgang Denk wd at denx.de
Thu Jul 28 23:15:27 CEST 2011


Dear Patrick,

In message <D1E2C829C5011E4A84DAF8A184DD7CDA0194467FD0 at BEL1EXCH02.amer.sfnt.local> you wrote:
>
> I'm trying to understand what is the cause or root of the following issue,
> when building a Linux kernel for my target (PPC440EP FPU).

First I should point out that we do not have any configuration of ELDK
5.0 yet that supports the PPC4xx or PPC44x processors.  Yous, you can
use the powerpc configuration, but this is unsupported and you are on
your own if you run into any problems.

> Where would this option be enabled and how can I get around the issue? Any
> known/related issues I should to aware of.

The option "-enable-target-optspace" should be enabled in the
configuration when building gcc, but thjis is impossible at the moment
due to a number of regressions in recent versions of GCC.  See for
example
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43810
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48278
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053

So in short, it's a GCC bug for which we don't have a fix yet.

Note that the issue is still present in more recent versions f GCC
(like 4.6.x).

> The information contained in this electronic mail transmission
> may be privileged and confidential, and therefore, protected
> from disclosure. If you have received this communication in
> error, please notify us immediately by replying to this
> message and deleting it from your computer without copying
> or disclosing it.

Please omit such crap when posting to a public mailing list.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
How much net work could a network work, if a network could net work?


More information about the eldk mailing list