From fe2c86fc7770c563be9780905f45e7868d712d8f Mon Sep 17 00:00:00 2001 From: Changqing Li Date: Tue, 8 Oct 2019 13:14:21 +0800 Subject: llvm: remove -mlongcall from CXXFLAGS for powerpc 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 (From OE-Core rev: 487eb18928c26e7781bb86a972369f3594ecdcca) Signed-off-by: Changqing Li Signed-off-by: Richard Purdie --- meta/recipes-devtools/llvm/llvm_git.bb | 2 -- 1 file changed, 2 deletions(-) (limited to 'meta/recipes-devtools/llvm/llvm_git.bb') diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index 08b19a33e3..9b113f692f 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 -- cgit v1.2.3-54-g00ecf