[oe-commits] Hongxu Jia : busybox : fix do_compile failed on qemumips when DEBUG_BUILD (ICE)

git at git.openembedded.org git at git.openembedded.org
Sat Aug 23 22:02:48 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: e9e2884a29e95703c5b1a2fffe5e6febfa77b5cd
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=e9e2884a29e95703c5b1a2fffe5e6febfa77b5cd

Author: Hongxu Jia <hongxu.jia at 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]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/busybox/busybox_1.22.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-core/busybox/busybox_1.22.1.bb b/meta/recipes-core/busybox/busybox_1.22.1.bb
index edee4a9..82f7f68 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"
 



More information about the Openembedded-commits mailing list