[oe] [rfc] change default for BUILD_OPTIMIZATION, remove spurious assignments

Khem Raj raj.khem at gmail.com
Tue Jun 23 19:15:36 UTC 2009


On Tue, Jun 23, 2009 at 10:46 AM, Phil Blundell<philb at gnu.org> wrote:
> On Tue, 2009-06-23 at 10:30 -0700, Khem Raj wrote:
>>  -frename-registers was a workaround to get past a ARM GCC ICE in 4.2 IIRC
>> we should get rid of it.
>
> No, -frename-registers is an optimisation in its own right.

yes I was mentioning about why we have it enabled.

I think we
> probably want to keep that.

side effect is that It hampers debugging

 You might be thinking of the
> -fno-rename-registers that we do use for some packages to avoid an ice
> on arm with gcc 3.4.

yeah thats right. Rusted me

>
>> -fexpensive-optimizations and -fomit-frame-pointer are passed by
>> default at O2 so we should get rid of them too.
>
> Is that true on all targets?

yes

I didn't think that -O2 implied
> -fomit-frame-pointer on arm.
>
> p.
>
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list