[OE-core] [PATCH 1/3] u-boot: Don't make the -Os removal part of global settings.

Wolfgang Denk wd at denx.de
Fri Jun 29 22:01:45 UTC 2012


Dear Khem Raj,

In message <CAMKF1srGhdr8kAQ+wyYPnVUW6nq_BHHup22YcGqrFrroW7WHhQ at mail.gmail.com> you wrote:
>
> > We don't want to force everyone to be stripping the -Os
> > flags from their u-boot builds.  Remove it, since it pertains
> > to an old toolchain issue that is no longer relevant, and it
> > breaks the powerpc mpc8315.
> 
> Its fixed that's right but I am curious how does it break with -O2

-O2 causes much bigger memory footprint, so the code does not fit any
more in the memory map and/or flash sectors that are reserved for it.

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
HANDLE WITH EXTREME CARE:  This Product Contains  Minute Electrically
Charged  Particles  Moving  at  Velocities  in Excess of Five Hundred
Million Miles Per Hour.




More information about the Openembedded-core mailing list