[oe] [Shr-Devel] New shr/image results

Nicola Mfb nicola.mfb at gmail.com
Fri Nov 6 12:20:50 UTC 2009


On Thu, Nov 5, 2009 at 12:43 PM, Maksim 'max_posedon' Melnikau
<maxposedon at gmail.com> wrote:
> On 11/5/09, Nicola Mfb <nicola.mfb at gmail.com> wrote:
[...]
>> However on the new image I got a strange error parsing xml files with
>> qt libraries, it always gives me an error on line 1, character 1, the
[...]
> For me it was fixed by using -O2 instead of -Os, -Os ALWAYS reproduce
> exactly this error. -O2 - never for me. So, try change your compile
> flags to less agressive (qt-compile flags).
>
> Maksim
>

Thanks! It fixed the problem! it seems qt runs fine with eglibc and thumb.
To build qt with -O2 i changed my local.conf adding:

FULL_OPTIMIZATION_pn-qt4-x11-free = "-fexpensive-optimizations
-fomit-frame-pointer -frename-registers -O2"

To fix that upstream I do not know where it should be placed as it
should affect all distro using gcc 4.4.x?

Best regards

    Nicola




More information about the Openembedded-devel mailing list