[OE-core] [poky] [PATCH 1/1] qt4: remove the option -feliminate-dwarf2-dups to fix the build

Cui, Dexuan dexuan.cui at intel.com
Sat Apr 9 13:48:04 UTC 2011


Wold, Saul wrote:
> On 03/29/2011 04:43 AM, Cui, Dexuan wrote:
>> Richard Purdie wrote:
>>> On Tue, 2011-03-29 at 16:52 +0800, Dexuan Cui wrote:
>>>> From: Dexuan Cui<dexuan.cui at intel.com>
>>>> 
>>>> [YOCTO #932]
>>>> 
>>>> 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.
>>> 
>>> How about we add the patch for this issue:
>>> 
>>> http://gcc.gnu.org/ml/gcc-patches/2011-01/msg01647.html
>> Ok,  I'll apply the patch to g++ and test building qt4.
>> 
> Any update on this patch?
Hi Saul,
The patch doesn't work and we're waiting a fix from upstream gcc.
RP has disabled the option globally, so we're ok at present.
Please see http://bugzilla.pokylinux.org/show_bug.cgi?id=932 for the details.

Thanks,
-- Dexuan




More information about the Openembedded-core mailing list