Bug 6625 - busybox : do_compile failed when DEBUG_BUILD (ICE)
Summary: busybox : do_compile failed when DEBUG_BUILD (ICE)
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.7
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.7 M3
Assignee: Hongxu Jia
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-08-12 11:54 UTC by Hongxu Jia
Modified: 2015-10-01 15:23 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hongxu Jia 2014-08-12 11:54:42 UTC
vim local.conf:
...
MACHINE ?= "qemumips"
DEBUG_BUILD = "1"
...

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 <http://gcc.gnu.org/bugs.html> 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'
make: *** [shell] Error 2
...
Comment 1 Hongxu Jia 2014-08-24 04:46:10 UTC
Merged into master:

commit 28e3f8ca6ff681f7a88c44b5c62390fa16be816b
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Sat Aug 23 13:27:30 2014 +0100

    fixup
    
    (From OE-Core rev: 20992e8a00c585ab6b0611ca23ccd57e2b86b727)
    
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

commit f026b7a211a44acdb7fadb50b1a84aa3e369450a
Author: Hongxu Jia <hongxu.jia@windriver.com>
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 <http://gcc.gnu.org/bugs.html> 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("evaltree"),__noreturn__));
    ...
    So remove evaltreenr which was a alias of evaltree, and use evaltree
    to instead.
    
    [YOCTO #6625]
    
    (From OE-Core rev: e9e2884a29e95703c5b1a2fffe5e6febfa77b5cd)
Comment 2 Scott Rifenbark 2015-10-01 15:23:12 UTC
Set doc flag to "No".  

Scott