Skip to contentSkip to conversation

New shr/image results

Shr-Devel Nicola Mfb 2 participants 2 messages Nov 6, 2009 6 messages not in the archive

lore
Share & tools
lore

Nicola Mfb

author
#6 lore raw
In reply to a message not in the archive
Quoted 1 line · Maksim 'max_posedon' Melnikau

On 11/5/09, Nicola Mfb <[email protected]> wrote:

[...]

Quoted 2 lines
Quoted 2 lines

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

[...]

Quoted 6 lines

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

#7 lore raw
Quoted 9 lines · Nicola Mfb
Quoted 1 line · Maksim 'max_posedon' Melnikau

On 11/5/09, Nicola Mfb <[email protected]> wrote:

[...]

Quoted 2 lines
Quoted 2 lines

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

[...]

Quoted 2 lines

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.

Quoted 10 lines
Quoted 4 lines

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.

Quoted 12 lines

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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel