llvm: Remove -fcommon
PATCH 1/1 llvm: Remove -fcommon
I cannot reproduce the problem.
Signed-off-by Adrian Bunk <[email protected]>
--- meta/recipes-devtools/llvm/llvm_git.bb | 2 -- 1 file changed, 2 deletions(-)
meta/recipes-devtools/llvm/llvm_git.bb +0 -2
@@ -92,8 +92,6 @@ EXTRA_OECMAKE_append_class-nativesdk = "\ -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ " -CFLAGS += "-fcommon" - 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
Signature · 1 line
2.17.1
Quoted 2 lines · Adrian Bunk
I cannot reproduce the problem.
have you built the target recipe with gcc10 with -fno-common default ?
Quoted 22 lines
Signed-off-by Adrian Bunk <[email protected]>--- meta/recipes-devtools/llvm/llvm_git.bb | 2 -- 1 file changed, 2 deletions(-)meta/recipes-devtools/llvm/llvm_git.bb +0
-2@@ -92,8 +92,6 @@ EXTRA_OECMAKE_append_class-nativesdk = "\ -DLLVM_CONFIG_PATH=${STAGING_BINDIR_NATIVE}/llvm-config${PV} \ " -CFLAGS += "-fcommon" - 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
Quoted 4 lines · Khem Raj
Quoted 1 line · Adrian Bunk
I cannot reproduce the problem.
have you built the target recipe with gcc10 with -fno-common default ?
Yes.
For menu-cache and matchbox-wm I got failures without the patches, but not for llvm.
cu
Adrian