[OE-core] [PATCH] llvm: remove -mlongcall from CXXFLAGS for powerpc
changqing.li at windriver.com
changqing.li at windriver.com
Tue Oct 8 05:14:21 UTC 2019
From: Changqing Li <changqing.li at windriver.com>
after gcc upgrade to 9.1.0, with this flags will make below error:
collect2: fatal error: ld terminated with signal 11 [Segmentation fault]
remove it as workaround, after remove it, powerpc can compile successfully
Signed-off-by: Changqing Li <changqing.li at windriver.com>
---
meta/recipes-devtools/llvm/llvm_git.bb | 2 --
1 file changed, 2 deletions(-)
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb
index 08b19a3..9b113f6 100644
--- a/meta/recipes-devtools/llvm/llvm_git.bb
+++ b/meta/recipes-devtools/llvm/llvm_git.bb
@@ -86,8 +86,6 @@ EXTRA_OECMAKE_append_class-nativesdk = "\
-DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \
"
-CXXFLAGS_append_class-target_powerpc = " -mlongcall"
-
do_configure_prepend() {
# Fix paths in llvm-config
sed -i "s|sys::path::parent_path(CurrentPath))\.str()|sys::path::parent_path(sys::path::parent_path(CurrentPath))).str()|g" ${S}/tools/llvm-config/llvm-config.cpp
--
2.7.4
More information about the Openembedded-core
mailing list