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

Khem Raj raj.khem at gmail.com
Fri Nov 6 18:11:03 UTC 2009


On (06/11/09 13:20), Nicola Mfb wrote:
> 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

it would be helpful if you could narrow down the case. There is a
possiblity of gcc bug here but a testcase would be required.


> > 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"

in qt4-x11-free recipe you could use EXTRA_OEMAKE variable to add O2 to CFLAGS probably.
> 
> 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
> 
> _______________________________________________
> 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