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

Stewart, David C david.c.stewart at intel.com
Wed Mar 16 17:15:42 PDT 2011


Great job finding this, Darren!

>-----Original Message-----
>From: poky-bounces at yoctoproject.org [mailto:poky-
>bounces at yoctoproject.org] On Behalf Of Richard Purdie
>Sent: Wednesday, March 16, 2011 5:14 PM
>To: Darren Hart
>Cc: poky at yoctoproject.org
>Subject: Re: [poky] [PATCH A or B] Fix for bug #853 - matchbox-panel
>segfaults, X becomes unusable
>
>On Wed, 2011-03-16 at 14:47 -0700, Darren Hart wrote:
>> The root cause of the matchbox-panel segfault is the same as for the
>> previous two bugs addressing the same issue:
>>
>> o Bug 224 - [Netbook/emenlow] matchbox-panel segfault after X startup
>> o Bug 738 - matchbox-panel segfault after X startup
>>
>> There apparently is a bug in gcc which results in the omission of some
>> code leading to the segfault on core2. The following flags resolve the
>> problem.
>>
>> FULL_OPTIMIZATION = "-fexpensive-optimizations -frename-registers -O2
>> -ggdb -feliminate-unused-debug-types"
>>
>> We can continue to patch each new machine's gtk+ recipe that is based
>on
>> atom-pc.conf, or we can just add the above to tune-atom.conf. I've
>> tested both on both the n450 and a Toshiba NB305 netbook, and each
>> solution is effective.
>>
>> Chaging it in tune-atom.conf likely fixes other bugs we either haven't
>> solved yet or simply haven't hit. It is also much more invasive, and
>we
>> may not be willing to accept that this close to 1.0. The patches
>follow,
>> and we can include one or the other.
>>
>> Preferences?
>
>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"
>
>:)
>
>Cheers,
>
>Richard
>
>
>_______________________________________________
>poky mailing list
>poky at yoctoproject.org
>https://lists.yoctoproject.org/listinfo/poky



More information about the poky mailing list