[oe-commits] Khem Raj : busybox_1.15.3.bb: Work around the gcc 4.5 ICE on thumb

git version control git at git.openembedded.org
Fri Jun 18 18:17:45 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 097131c401034fa2c2e3f7c912cf058fe8eaed15
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=097131c401034fa2c2e3f7c912cf058fe8eaed15

Author: Khem Raj <raj.khem at gmail.com>
Date:   Thu Jun 17 12:39:38 2010 +0000

busybox_1.15.3.bb: Work around the gcc 4.5 ICE on thumb

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 () {





More information about the Openembedded-commits mailing list