[oe] [PATCH 3/3] libx11_1.3.2.bb: Work around the gcc 4.5 ICE on thumb.

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


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 recipes/xorg-lib/libx11_1.3.2.bb |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/recipes/xorg-lib/libx11_1.3.2.bb b/recipes/xorg-lib/libx11_1.3.2.bb
index 291486b..7faf679 100644
--- a/recipes/xorg-lib/libx11_1.3.2.bb
+++ b/recipes/xorg-lib/libx11_1.3.2.bb
@@ -5,7 +5,7 @@ DEPENDS += "bigreqsproto xproto xextproto xtrans libxau xcmiscproto \
             libxdmcp xf86bigfontproto kbproto inputproto xproto-native"
 PROVIDES = "virtual/libx11"
 PE = "1"
-PR = "r4"
+PR = "r5"
 
 XORG_PN = "libX11"
 
@@ -19,7 +19,12 @@ EXTRA_OECONF += "--without-xcb --with-keysymdef=${STAGING_INCDIR}/X11/keysymdef.
 # see http://gcc.gnu.org/PR42981 for further details.
 # We could potentially take it off when its fixed in gcc 4.5
 
-CFLAGS_append_arm = " -fforward-propagate "
+# gcc 4.5 has this bug on thumb
+# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44557
+# so add -fomit-frame-pointer
+# this should be removed once the above bug is fixed
+
+CFLAGS_append_arm = " -fforward-propagate -fomit-frame-pointer"
 
 do_compile() {
 	(
-- 
1.7.1





More information about the Openembedded-devel mailing list