Skip to contentSkip to conversation

internal compiler error with qt building poky-image-lsb-sdk

DISCUSSION Robert Berger 2 participants 3 messages Mar 26, 2011 – Mar 27, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

The short version:

With commit f8539239bc473279cc475b07c22e1e96514c6d2f Thu Mar 24 13:03:50 2011 +0000 both beagleboard and routerstationpro fail to build due to an internal compiler error:

../../include/QtCore/../../src/corelib/tools/qstring.h:187:17: note: the mangling of 'va_list' has changed in GCC 4.4 graphicsview/qgridlayoutengine.cpp:1553:1: internal compiler error: in build_abbrev_table, at dwarf2out.c:9806

This seems to be due to the gcc version used and how the code is written in qt.

The longer version:

http://bugzilla.pokylinux.org/show_bug.cgi?id=932

Regards,

Robert..."C treats you like a consenting adult. Pascal treats you like a naughty child. Ada treats you like a criminal." -- (Bruce Powel Douglass)

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1

#1 lore raw
Quoted 4 lines · Robert Berger

Hi,

The short version:

Quoted 8 lines

With commit f8539239bc473279cc475b07c22e1e96514c6d2f Thu Mar 24 13:03:50 2011 +0000 both beagleboard and routerstationpro fail to build due to an internal compiler error:

../../include/QtCore/../../src/corelib/tools/qstring.h:187:17: note: the mangling of 'va_list' has changed in GCC 4.4 graphicsview/qgridlayoutengine.cpp:1553:1: internal compiler error: in build_abbrev_table, at dwarf2out.c:9806

Can you try after addding the following to the failing recipe with

CXXFLAGS := "${@oe_filter_out('-feliminate-dwarf2-dups', '${CXXFLAGS}', d)}"

-Khem

#2 lore raw

Hi Khem,

Quoted 14 lines · Khem Raj
Quoted 4 lines · Robert Berger

Hi,

The short version:

Quoted 8 lines

With commit f8539239bc473279cc475b07c22e1e96514c6d2f Thu Mar 24 13:03:50 2011 +0000 both beagleboard and routerstationpro fail to build due to an internal compiler error:

../../include/QtCore/../../src/corelib/tools/qstring.h:187:17: note: the mangling of 'va_list' has changed in GCC 4.4 graphicsview/qgridlayoutengine.cpp:1553:1: internal compiler error: in build_abbrev_table, at dwarf2out.c:9806

Quoted 4 lines

Can you try after addding the following to the failing recipe with

CXXFLAGS := "${@oe_filter_out('-feliminate-dwarf2-dups', '${CXXFLAGS}', d)}"

I'm sorry I can't try right now, since I'm out of office for a week and training people in Embedded Linux ;)

I can give it a try earliest in the week of 3rd of April.

Maybe someone else could try in the meantime. It's really easy to reproduce. *) Just check out the latest from git
*) build poky-image-lsb-sdk for beagleboard

... and wait some hours ...

Regards,

Robert

Quoted 2 lines

-Khem

..."At Group L, Stoffel oversees six first-rate programmers, a managerial challenge roughly comparable to herding cats." - The Washington Post Magazine, June 9, 1985

My public pgp key is available at:
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x90320BF1