<?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>6625</bug_id>
          
          <creation_ts>2014-08-12 11:54:42 +0000</creation_ts>
          <short_desc>busybox : do_compile failed when DEBUG_BUILD (ICE)</short_desc>
          <delta_ts>2015-10-01 15:23:12 +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>OE-Core</product>
          <component>core</component>
          <version>1.7</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.7 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Hongxu Jia">hongxu.jia</reporter>
          <assigned_to name="Hongxu Jia">hongxu.jia</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45088</commentid>
    <comment_count>0</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-08-12 11:54:42 +0000</bug_when>
    <thetext>vim local.conf:
...
MACHINE ?= &quot;qemumips&quot;
DEBUG_BUILD = &quot;1&quot;
...

do_compile failed:
...
shell/ash.c:8758:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21264
...
Please submit a full bug report,
with preprocessed source if appropriate.
See &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.
{standard input}: Assembler messages:
{standard input}: Warning: missing .end at end of assembly
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
make[1]: *** [shell/ash.o] Error 1
make[1]: Leaving directory `/home/jiahongxu/yocto/build-20140808-mips/tmp/work/mips32-poky-linux/busybox/1.22.1-r32/busybox-1.22.1&apos;
make: *** [shell] Error 2
...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45232</commentid>
    <comment_count>1</comment_count>
    <who name="Hongxu Jia">hongxu.jia</who>
    <bug_when>2014-08-24 04:46:10 +0000</bug_when>
    <thetext>Merged into master:

commit 28e3f8ca6ff681f7a88c44b5c62390fa16be816b
Author: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
Date:   Sat Aug 23 13:27:30 2014 +0100

    fixup
    
    (From OE-Core rev: 20992e8a00c585ab6b0611ca23ccd57e2b86b727)
    
    Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;

commit f026b7a211a44acdb7fadb50b1a84aa3e369450a
Author: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
Date:   Tue Aug 12 20:10:16 2014 +0800

    busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)
    
    Build busybox on mips with -g -O, there is a ice failure:
    ...
    shell/ash.c:8758:1: internal compiler error: in dwarf2out_var_location, at dwarf2out.c:21264
    ...
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See &lt;http://gcc.gnu.org/bugs.html&gt; for instructions.
    {standard input}: Assembler messages:
    {standard input}: Warning: missing .end at end of assembly
    {standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
    ...
    
    The following line caused the ice failure on mips:
    ...
    void evaltreenr(union node *, int) __attribute__ ((alias(&quot;evaltree&quot;),__noreturn__));
    ...
    So remove evaltreenr which was a alias of evaltree, and use evaltree
    to instead.
    
    [YOCTO #6625]
    
    (From OE-Core rev: e9e2884a29e95703c5b1a2fffe5e6febfa77b5cd)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>54892</commentid>
    <comment_count>2</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-10-01 15:23:12 +0000</bug_when>
    <thetext>Set doc flag to &quot;No&quot;.  

Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>