From e9e2884a29e95703c5b1a2fffe5e6febfa77b5cd Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Tue, 12 Aug 2014 20:10:16 +0800 Subject: 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 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] Signed-off-by: Hongxu Jia Signed-off-by: Richard Purdie --- meta/recipes-core/busybox/busybox_1.22.1.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-core/busybox') 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 \ file://recognize_connmand.patch \ " +SRC_URI_append_mips = " \ + ${@base_conditional( "DEBUG_BUILD", "1", "file://fix-ice-on-mips-while-compiling-with-g-O.patch", "", d )} \ +" + SRC_URI[tarball.md5sum] = "337d1a15ab1cb1d4ed423168b1eb7d7e" SRC_URI[tarball.sha256sum] = "ae0b029d0a9e4dd71a077a790840e496dd838998e4571b87b60fed7462b6678b" -- cgit 1.2.3-korg