[oe] [PATCH 2/3] busybox_1.15.3.bb: Work around the gcc 4.5 ICE on thumb

Khem Raj raj.khem at gmail.com
Thu Jun 17 22:39:38 UTC 2010


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes/busybox/busybox_1.15.3.bb |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/recipes/busybox/busybox_1.15.3.bb b/recipes/busybox/busybox_1.15.3.bb
index 07103e8..6f2e4ec 100644
--- a/recipes/busybox/busybox_1.15.3.bb
+++ b/recipes/busybox/busybox_1.15.3.bb
@@ -1,5 +1,5 @@
 require busybox.inc
-PR = "${INC_PR}.1"
+PR = "${INC_PR}.2"
 
 SRC_URI = "\
   http://www.busybox.net/downloads/busybox-${PV}.tar.bz2;name=tarball \
@@ -29,6 +29,14 @@ SRC_URI = "\
 SRC_URI[tarball.md5sum] = "6059ac9456de6fb18dc8ee4cd0ec9240"
 SRC_URI[tarball.sha256sum] = "d74020ad2cc5a4dcc5109c44dbd0e22582d6ce42954b0f1ff29763c8c0ff03cb"
 
+# gcc 4.5 has this bug on thumb
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44557
+# so add -fomit-frame-pointer
+# this will be removed once the above bug is fixed.
+
+
+CFLAGS_append = " -fomit-frame-pointer"
+
 EXTRA_OEMAKE += "V=1 ARCH=${TARGET_ARCH} CROSS_COMPILE=${TARGET_PREFIX}"
 
 do_configure_prepend () {
-- 
1.7.1





More information about the Openembedded-devel mailing list