<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>932</bug_id>
          
          <creation_ts>2011-03-25 00:18:37 +0000</creation_ts>
          <short_desc>gcc-4.5 with -feliminate-dwarf2-dups: gcc internal compiler error</short_desc>
          <delta_ts>2011-12-20 09:25:37 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>0.9</version>
          <rep_platform>Beagleboard</rep_platform>
          <op_sys>arm</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>This is an upstream bug and we&apos;re waiting for upstream gcc&apos;s fix. We should lower the priority from Med to Low. (8/4)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Berger">pokylinux</reporter>
          <assigned_to name="Dexuan Cui">dexuan.cui</assigned_to>
          <cc>dexuan.cui</cc>
    
    <cc>dvhart</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>shane.wang</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12974</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-03-25 00:18:37 +0000</bug_when>
    <thetext>I&apos;m using: commit f8539239bc473279cc475b07c22e1e96514c6d2f Thu Mar 24 13:03:50 2011 +0000

in my local.conf I just changed to build for beagleboard

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;master&quot;
METADATA_REVISION = &quot;f8539239bc473279cc475b07c22e1e96514c6d2f&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;beagleboard&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;0.9+snapshot-20110325&quot;
TARGET_FPU        = &quot;soft&quot;

---------------

cat /work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/temp/log.do_compile.1928

NOTE: make -e QMAKE=/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/i686-linux/usr/bin/qmake2 -after              INCPATH+=/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/freetype2 LIBS+=-L/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/lib QMAKESPEC=/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/share/qt4/mkspecs/linux-gnueabi-oe-g++ LINK=arm-poky-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard -Wl,-rpath-link,/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/lib AR=arm-poky-linux-gnueabi-ar cqs MOC=/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/i686-linux/usr/bin/moc4 UIC=/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/i686-linux/usr/bin/uic4 MAKE=make -e
cd src/tools/bootstrap/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/bootstrap&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/bootstrap&apos;
cd src/tools/moc/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/moc&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/moc&apos;
cd src/tools/rcc/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/rcc&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/rcc&apos;
cd src/tools/uic/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/uic&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/tools/uic&apos;
cd src/corelib/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/corelib&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/corelib&apos;
cd src/xml/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/xml&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/xml&apos;
cd src/network/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/network&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/network&apos;
cd src/sql/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/sql&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/sql&apos;
cd src/testlib/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/testlib&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/testlib&apos;
cd src/dbus/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/dbus&apos;
make[1]: Nothing to be done for `first&apos;.
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/dbus&apos;
cd src/gui/ &amp;&amp; make -e -f Makefile 
make[1]: Entering directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/gui&apos;
arm-poky-linux-gnueabi-g++ -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fno-tree-vectorize --sysroot=/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard -c -O2 -pipe -g -feliminate-unused-debug-types -feliminate-dwarf2-dups -fpermissive -fvisibility-inlines-hidden -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/freetype2 -pthread -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/glib-2.0 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/lib/glib-2.0/include -pthread -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/gtk-2.0 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/lib/gtk-2.0/include -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/atk-1.0 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/cairo -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/gdk-pixbuf-2.0 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/pango-1.0 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/glib-2.0 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/lib/glib-2.0/include -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/pixman-1 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/freetype2 -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/libpng12 -mfpu=neon -Wall -W -D_REENTRANT -I/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/sysroots/beagleboard/usr/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_HAVE_NEON -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qgridlayoutengine.o graphicsview/qgridlayoutengine.cpp
In file included from ../../include/QtCore/qstring.h:1:0,
                 from ../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
                 from ../../include/QtCore/qobject.h:1,
                 from ../../include/QtGui/../../src/gui/kernel/qsizepolicy.h:45,
                 from ../../include/QtGui/qsizepolicy.h:1,
                 from graphicsview/qgraphicslayoutitem.h:46,
                 from graphicsview/qgridlayoutengine.cpp:48:
../../include/QtCore/../../src/corelib/tools/qstring.h:187:17: note: the mangling of &apos;va_list&apos; has changed in GCC 4.4
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 &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.
make[1]: *** [.obj/release-shared/qgridlayoutengine.o] Error 1
make[1]: Leaving directory `/work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/gui&apos;
make: *** [sub-gui-make_default-ordered] Error 2
FATAL: oe_runmake failed
ERROR: Function &apos;do_compile&apos; failed (see /work/rber/poky-2011-03-24-snapshot-build-bb/tmp/work/armv7a-poky-linux-gnueabi/qt4-x11-free-4.7.1-r21.1/temp/log.do_compile.1928 for further information)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12994</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-03-26 01:54:10 +0000</bug_when>
    <thetext>Also routerstationpro fails to build:

make[1]: Entering directory `/work/rber/poky-latest-build-rspro/tmp/work/mips-poky-linux/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/gui&apos;
mips-poky-linux-g++ -march=mips32 --sysroot=/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro -c -O2 -pipe -g -feliminate-unused-debug-types -feliminate-dwarf2-dups -fpermissive -fvisibility-inlines-hidden -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/freetype2 -pthread -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/glib-2.0 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/lib/glib-2.0/include -pthread -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/gtk-2.0 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/lib/gtk-2.0/include -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/atk-1.0 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/cairo -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/gdk-pixbuf-2.0 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/pango-1.0 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/glib-2.0 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/lib/glib-2.0/include -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/pixman-1 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/freetype2 -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/libpng12 -Wall -W -D_REENTRANT -I/work/rber/poky-latest-build-rspro/tmp/sysroots/routerstationpro/usr/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I.uic/release-shared -o .obj/release-shared/qgridlayoutengine.o graphicsview/qgridlayoutengine.cpp
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 &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.
make[1]: *** [.obj/release-shared/qgridlayoutengine.o] Error 1
make[1]: Leaving directory `/work/rber/poky-latest-build-rspro/tmp/work/mips-poky-linux/qt4-x11-free-4.7.1-r21.1/qt-everywhere-opensource-src-4.7.1/src/gui&apos;
make: *** [sub-gui-make_default-ordered] Error 2
FATAL: oe_runmake failed
ERROR: Function &apos;do_compile&apos; failed (see /work/rber/poky-latest-build-rspro/tmp/work/mips-poky-linux/qt4-x11-free-4.7.1-r21.1/temp/log.do_compile.8390 for further information)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12995</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-03-26 05:24:52 +0000</bug_when>
    <thetext>I found something similar at the gcc bugzilla, maybe this helps.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46101
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47361

Also I asked on the qt embedded mailing list:
http://blog.gmane.org/gmane.comp.lib.qt.embedded</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12997</commentid>
    <comment_count>3</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-03-27 05:24:14 +0000</bug_when>
    <thetext>Khem suggests:

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

CXXFLAGS := &quot;${@oe_filter_out(&apos;-feliminate-dwarf2-dups&apos;, &apos;${CXXFLAGS}&apos;,
d)}&quot;

https://lists.yoctoproject.org/pipermail/yocto/2011-March/001198.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13019</commentid>
    <comment_count>4</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-28 22:59:14 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Also routerstationpro fails to build:
&gt; make[1]: Entering directory
&gt; ...
&gt; graphicsview/qgridlayoutengine.cpp:1553:1: internal compiler error: in
&gt; build_abbrev_table, at dwarf2out.c:9806
&gt; Please submit a full bug report,
&gt; with preprocessed source if appropriate.
&gt; See &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.
&gt; make[1]: *** [.obj/release-shared/qgridlayoutengine.o] Error 1
&gt; make[1]: Leaving directory
I&apos;m having the same issue now when building sugarbay.
My last worktable build was done last week, so I had a look at the git commits from last week and think commit &quot;bitbake.conf: Prune global OPTIMIZATION flags&quot; (http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=5ea06dc295b657383fd97545c15255b294cf1a79) may be the cause.

(In reply to comment #3)
&gt; Khem suggests:
&gt; Can you try after addding the following to the failing recipe with 
&gt; CXXFLAGS := &quot;${@oe_filter_out(&apos;-feliminate-dwarf2-dups&apos;, &apos;${CXXFLAGS}&apos;,
&gt; d)}&quot;
&gt; https://lists.yoctoproject.org/pipermail/yocto/2011-March/001198.html
I soppose this should work. I&apos;ll try this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13020</commentid>
    <comment_count>5</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-29 02:07:25 +0000</bug_when>
    <thetext>(In reply to comment #4)
&gt; (In reply to comment #1)
&gt; &gt; Also routerstationpro fails to build:
&gt; &gt; make[1]: Entering directory
&gt; &gt; ...
&gt; &gt; graphicsview/qgridlayoutengine.cpp:1553:1: internal compiler error: in
&gt; &gt; build_abbrev_table, at dwarf2out.c:9806
&gt; &gt; Please submit a full bug report,
&gt; &gt; with preprocessed source if appropriate.
&gt; &gt; See &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.
&gt; &gt; make[1]: *** [.obj/release-shared/qgridlayoutengine.o] Error 1
&gt; &gt; make[1]: Leaving directory
&gt; I&apos;m having the same issue now when building sugarbay.
&gt; My last worktable build was done last week, so I had a look at the git commits
&gt; from last week and think commit &quot;bitbake.conf: Prune global OPTIMIZATION flags&quot;
&gt; (http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=5ea06dc295b657383fd97545c15255b294cf1a79)
&gt; may be the cause.
&gt; (In reply to comment #3)
&gt; &gt; Khem suggests:
&gt; &gt; Can you try after addding the following to the failing recipe with 
&gt; &gt; CXXFLAGS := &quot;${@oe_filter_out(&apos;-feliminate-dwarf2-dups&apos;, &apos;${CXXFLAGS}&apos;,
&gt; &gt; d)}&quot;
&gt; &gt; https://lists.yoctoproject.org/pipermail/yocto/2011-March/001198.html
&gt; I soppose this should work. I&apos;ll try this.
It does works.
I sent a patch for this:
http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/master&amp;id=c9789f2d0873c6b8ff2ae3a7b338b72527cfbf02</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13027</commentid>
    <comment_count>6</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2011-03-29 06:32:29 +0000</bug_when>
    <thetext>Due to other issues, I&apos;ve disabled this flag in master. We should apply the patch to the toolchain and fix the underlying problem as we&apos;re likely to add the option back in the future.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13029</commentid>
    <comment_count>7</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-29 06:47:22 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; Due to other issues, I&apos;ve disabled this flag in master. We should apply the
&gt; patch to the toolchain and fix the underlying problem as we&apos;re likely to add
&gt; the option back in the future.
Agree. 
BTW: with the g++ option, fotowall-0.9-r1 do_compile also fails in the same way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13043</commentid>
    <comment_count>8</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-03-29 19:28:46 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; (In reply to comment #6)
&gt; &gt; Due to other issues, I&apos;ve disabled this flag in master. We should apply the
&gt; &gt; patch to the toolchain and fix the underlying problem as we&apos;re likely to add
&gt; &gt; the option back in the future.
Unluckily the patch (http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01414.html) I got from
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47361 doesn&apos;t work.

Looks that bug of gcc only happens in c++0x mode while we&apos;re not.
I&apos;ve asked about this in gcc bugzilla.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13112</commentid>
    <comment_count>9</comment_count>
    <who name="Robert Berger">pokylinux</who>
    <bug_when>2011-04-03 12:02:15 +0000</bug_when>
    <thetext>Just tried with 

commit bcc817ee058bbab91d6e88a3e1e867a4ff09aeca from Thu Mar 31 13:31:27 2011 

and it compiles now.

OE Build Configuration:
BB_VERSION        = &quot;1.11.0&quot;
METADATA_BRANCH   = &quot;master&quot;
METADATA_REVISION = &quot;bcc817ee058bbab91d6e88a3e1e867a4ff09aeca&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;beagleboard&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.0+snapshot-20110403&quot;
TARGET_FPU        = &quot;soft&quot;

I know we are waiting for a compiler fix, so you might not want to close it yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15256</commentid>
    <comment_count>10</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-08-05 07:38:06 +0000</bug_when>
    <thetext>Please include Upstream Info we are waiting on</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15387</commentid>
    <comment_count>11</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-08-10 22:38:58 +0000</bug_when>
    <thetext>(In reply to comment #10)
&gt; Please include Upstream Info we are waiting on
Please see comment 8. 
This is the upstream bug number:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47361</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>17752</commentid>
    <comment_count>12</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2011-12-20 09:25:37 +0000</bug_when>
    <thetext>This is an issue with GCC and we are no longer using the flag.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>