[oe-commits] [openembedded-core] 16/16: gcc-runtime_8.1.bb: disable ifuncs in libatomic for arm arch
git at git.openembedded.org
git at git.openembedded.org
Fri Jun 8 10:13:52 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit e1e763e1c2504d2717dcb35196c8274921dfa143
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Fri Jun 8 00:28:25 2018 -0700
gcc-runtime_8.1.bb: disable ifuncs in libatomic for arm arch
This will solve the mcpu/march conflicts we get when -mcpu=cortex-a7
is passed on cmdline since it will become incompatible with default
ifuncs in libatomic which is using armv7-a
Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-devtools/gcc/gcc-runtime_8.1.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb b/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb
index 8f31e77..fe78717 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb
+++ b/meta/recipes-devtools/gcc/gcc-runtime_8.1.bb
@@ -1,6 +1,9 @@
require recipes-devtools/gcc/gcc-${PV}.inc
require gcc-runtime.inc
+# Disable ifuncs for libatomic on arm conflicts -march/-mcpu
+EXTRA_OECONF_append_arm = " libat_cv_have_ifunc=no "
+
FILES_libgomp-dev += "\
${libdir}/gcc/${TARGET_SYS}/${BINV}/include/openacc.h \
"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list