summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-06-08 07:28:25 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-06-12 22:34:24 (GMT)
commitfddc539217b03106895578342f2e799d3a9bb79d (patch)
treed34ab835d2224998778f7a3aabebb099e6327597
parentbc13d78e3d2ad1b906cd4f0e4c6388baf2c6f552 (diff)
downloadpoky-fddc539217b03106895578342f2e799d3a9bb79d.zip
poky-fddc539217b03106895578342f2e799d3a9bb79d.tar.gz
poky-fddc539217b03106895578342f2e799d3a9bb79d.tar.bz2
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 (From OE-Core rev: 015b0d8ed6aa766e8cc96d10218ac86a28728bf9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime_8.1.bb3
1 files changed, 3 insertions, 0 deletions
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 \
"