[poky] [PATCH A or B] Fix for bug #853 - matchbox-panel segfaults, X becomes unusable

Richard Purdie richard.purdie at linuxfoundation.org
Thu Mar 17 03:46:13 PDT 2011


On Thu, 2011-03-17 at 10:13 +0800, Yu Ke wrote:
> On Mar 17, 00:13, Richard Purdie wrote:
> > I'm in favour of C which is to add this to tune-atom.inc:
> > 
> > FULL_OPTIMIZATION_pn-gtk+ = "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
>
>
> I have an option D :)
> 
> i.e. in gtk+_2.22.1.bb, add:
> FULL_OPTIMIZATION_core2= "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"
> 
> because this issue is caused by gcc optimization for core2 arch, so in theory, all machine with core2 arch setting will be affected, no only limited to atom machine

This wouldn't work as "core2" is PACKAGE_ARCH and PACKAGE_ARCH is not in
OVERRIDES. I did briefly discuss this over jabber and you could do:

FULL_OPTIMIZATION_i586= "-fexpensive-optimizations -frename-registers -O2 -ggdb -feliminate-unused-debug-types"

since TARGET_ARCH (i586) is in OVERRIDES but this would then affect
machines like qemux86 and I decided we didn't want to do that at this
point in the release cycle.

Cheers,

Richard




More information about the poky mailing list