Skip to content

qt4: remove the option -feliminate-dwarf2-dups to fix the build

Dexuan Cui openembedded-core poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1qt4: remove the option -feliminate-dwarf2-dups to fix the buildmeta/recipes-qt/qt4/qt4-embedded.inc meta/recipes-qt/qt4/qt4-x11-free.inc meta/recipes-qt/qt4/qt4.inc+7 -25 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] qt4: remove the option -feliminate-dwarf2-dups to fix the build

From: Dexuan Cui <[email protected]>

After commit 5ea06dc295b657383fd97545c15255b294cf1a79(bitbake.conf: Prune global OPTIMIZATION flags) that adds an option -feliminate-dwarf2-dups, gcc 4.5 reports such an internal compiler error when building Qt4 if the option is used:

| graphicsview/qgridlayoutengine.cpp:1553:1: internal compiler error: in build_abbrev_table, at dwarf2out.c:9806
| Please submit a full bug report,
| with preprocessed source if appropriate.
| See <http://gcc.gnu.org/bugs.html> for instructions.

This is a gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47361

At present we can remove the option as a workaround.

Thanks Robert Berger for reporting the bug and his investigation in gcc bugzilla and thanks Khem Raj for the quick suggestion about removing the option.

Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: dcui/master
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dcui/master

Thanks,
Dexuan Cui <[email protected]>
---

Dexuan Cui (1):
qt4: remove the option -feliminate-dwarf2-dups to fix the build

 meta/recipes-qt/qt4/qt4-embedded.inc |    2 +-
 meta/recipes-qt/qt4/qt4-x11-free.inc |    2 +-
 meta/recipes-qt/qt4/qt4.inc          |    5 +++++
 3 files changed, 7 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.2