[oe-commits] Khem Raj : gnutls_2.10.4.bb: Workaround gcc 4.5 ICE on ARM

git version control git at git.openembedded.org
Wed Mar 16 21:56:26 UTC 2011


Module: openembedded.git
Branch: master
Commit: 095fc9a2602df28296c35a6cd627ced0b381c0e8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=095fc9a2602df28296c35a6cd627ced0b381c0e8

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Mar 16 14:51:20 2011 -0700

gnutls_2.10.4.bb: Workaround gcc 4.5 ICE on ARM

Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/gnutls/gnutls_2.10.4.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/recipes/gnutls/gnutls_2.10.4.bb b/recipes/gnutls/gnutls_2.10.4.bb
index 9f40684..03397a5 100644
--- a/recipes/gnutls/gnutls_2.10.4.bb
+++ b/recipes/gnutls/gnutls_2.10.4.bb
@@ -1,6 +1,6 @@
 require gnutls.inc
 
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
 
 EXTRA_OECONF += " --without-libgcrypt-prefix "
 
@@ -9,6 +9,11 @@ SRC_URI += "file://gettextize-with-gettext-0.18.patch \
             file://gnutls-replace-siginterrupt.patch \
            "
 
+# This is a workaround to get away with gcc ICE
+# as seen here https://bugs.launchpad.net/gcc-linaro/+bug/736439
+
+CFLAGS_arm_append = " -O2"
+
 do_configure_prepend() {
 
  MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4"





More information about the Openembedded-commits mailing list