summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2014-08-12 20:10:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 23:01:59 +0100
commitf026b7a211a44acdb7fadb50b1a84aa3e369450a (patch)
tree41745ce64f2b994ff840566a0c3c196713a81745
parentde963051ee369fb8c56c93550fcb62b11055139b (diff)
downloadpoky-f026b7a211a44acdb7fadb50b1a84aa3e369450a.tar.gz
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) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/busybox/busybox_1.22.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox_1.22.1.bb b/meta/recipes-core/busybox/busybox_1.22.1.bb
index edee4a9963..82f7f6896b 100644
--- a/meta/recipes-core/busybox/busybox_1.22.1.bb
+++ b/meta/recipes-core/busybox/busybox_1.22.1.bb
@@ -33,6 +33,10 @@ SRC_URI = "http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
33 file://recognize_connmand.patch \ 33 file://recognize_connmand.patch \
34" 34"
35 35
36SRC_URI_append_mips = " \
37 ${@base_conditional( "DEBUG_BUILD", "1", "file://fix-ice-on-mips-while-compiling-with-g-O.patch", "", d )} \
38"
39
36SRC_URI[tarball.md5sum] = "337d1a15ab1cb1d4ed423168b1eb7d7e" 40SRC_URI[tarball.md5sum] = "337d1a15ab1cb1d4ed423168b1eb7d7e"
37SRC_URI[tarball.sha256sum] = "ae0b029d0a9e4dd71a077a790840e496dd838998e4571b87b60fed7462b6678b" 41SRC_URI[tarball.sha256sum] = "ae0b029d0a9e4dd71a077a790840e496dd838998e4571b87b60fed7462b6678b"
38 42