[oe-commits] Khem Raj : samba_3.2.15.bb: Fix build failure on ARM/thumb due to GCC ICE
git version control
git at git.openembedded.org
Tue Dec 14 20:13:44 UTC 2010
Module: openembedded.git
Branch: master
Commit: 4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=4ba7aa07c0dcd28f94515ff9927e2a04403fcf15
Author: Khem Raj <raj.khem at gmail.com>
Date: Mon Dec 13 22:21:32 2010 -0800
samba_3.2.15.bb: Fix build failure on ARM/thumb due to GCC ICE
* As a hotfix we currently avoid compiling it in thumb mode.
Due to gcc bug http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46934
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
recipes/samba/samba_3.2.15.bb | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/recipes/samba/samba_3.2.15.bb b/recipes/samba/samba_3.2.15.bb
index eda95d0..3f535b6 100644
--- a/recipes/samba/samba_3.2.15.bb
+++ b/recipes/samba/samba_3.2.15.bb
@@ -9,7 +9,7 @@ SRC_URI += "file://configure-3.2.8.patch \
SRC_URI[md5sum] = "5a3bcc4927c9643b9f42970d0815b18f"
SRC_URI[sha256sum] = "84281fd1faeffee8558e49dff865dd382abbf78bc1be00f8cb5aa70aeea67d46"
-PR = "r1"
+PR = "r2"
EXTRA_OECONF += "\
SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
@@ -22,6 +22,11 @@ EXTRA_OECONF += "\
samba_cv_HAVE_WRFILE_KEYTAB=yes \
"
+# for arm we always use ARM instruction set
+# gcc 4.5 ICE's in thumb mode
+# see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46934
+
+ARM_INSTRUCTION_SET = "arm"
do_configure() {
oe_runconf
}
More information about the Openembedded-commits
mailing list