summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-10 09:31:01 -0700
committerKhem Raj <raj.khem@gmail.com>2021-06-10 11:56:08 -0700
commitbf842214267663966ffa34e170368d55fcebd883 (patch)
treeb35146a0ee8370290284cabe9fbc076d3fd1f830 /conf
parent96face19ae51510d5e5923e575496844b5b85e62 (diff)
downloadmeta-clang-bf842214267663966ffa34e170368d55fcebd883.tar.gz
aufs-util,libhugetlbfs,libc-bench: Use libgcc unwinder on glibc/arm
these packages do static linking in parts and when libc is glibc then it has linked in some portions of libgcc since we can not use clang to compile glibc yet. Therefore use libgcc where needed for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r--conf/nonclangable.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 4f1e073..9c408d0 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -309,8 +309,9 @@ COMPILER_RT_pn-tsocks_libc-glibc_toolchain-clang_x86-64 = "-rtlib=libgcc --unwin
309#(unwind.o): in function `__pthread_unwind': 309#(unwind.o): in function `__pthread_unwind':
310#/usr/src/debug/glibc/2.29-r0/git/nptl/unwind.c:121: undefined reference to `_Unwind_ForcedUnwind' 310#/usr/src/debug/glibc/2.29-r0/git/nptl/unwind.c:121: undefined reference to `_Unwind_ForcedUnwind'
311#clang-8: error: linker command failed with exit code 1 (use -v to see invocation) 311#clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
312COMPILER_RT_pn-aufs-util_libc-glibc_toolchain-clang_arm = "-rtlib=libgcc --unwindlib=libgcc" 312COMPILER_RT_pn-aufs-util_libc-glibc_toolchain-clang_arm = "--unwindlib=libgcc"
313COMPILER_RT_pn-libhugetlbfs_libc-glibc_toolchain-clang_arm = "-rtlib=libgcc --unwindlib=libgcc" 313COMPILER_RT_pn-libhugetlbfs_libc-glibc_toolchain-clang_arm = "--unwindlib=libgcc"
314COMPILER_RT_pn-libc-bench_libc-glibc_toolchain-clang_arm = "--unwindlib=libgcc"
314 315
315# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so 316# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so
316# let same compiler ( gcc or clang) be native/cross compiler 317# let same compiler ( gcc or clang) be native/cross compiler