diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-11-07 09:37:07 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-11-13 09:40:54 -0800 |
commit | cebe76c064bf965148959f20f8c0c49daf968d84 (patch) | |
tree | 493500ed6c0314ca244598cac4c2aa53b3f68c14 | |
parent | c5ef70fe560ca90b3f2fd5b443469b9cf069bc48 (diff) | |
download | meta-clang-cebe76c064bf965148959f20f8c0c49daf968d84.tar.gz |
qtbase: Use compiler-rt on riscv32 when using clang
clang emits __lshrti3 expecting it from builtins library but libgcc does
not have it, since we have compiler-rt support it because its compiled
with -fforce-enable-int128 so link with it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 20fb71b..b948678 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -254,6 +254,10 @@ COMPILER_RT_remove_pn-m4_armeb = "--rtlib=compiler-rt" | |||
254 | COMPILER_RT_remove_pn-ruby_armeb = "--rtlib=compiler-rt" | 254 | COMPILER_RT_remove_pn-ruby_armeb = "--rtlib=compiler-rt" |
255 | COMPILER_RT_remove_pn-webkitgtk_armeb = "--rtlib=compiler-rt" | 255 | COMPILER_RT_remove_pn-webkitgtk_armeb = "--rtlib=compiler-rt" |
256 | 256 | ||
257 | # build/lib/libQt5Widgets.so: undefined reference to `__lshrti3' | ||
258 | # __lshrti3 is missing in libgcc | ||
259 | COMPILER_RT_pn-qtbase_toolchain-clang_riscv32 = "--rtlib=compiler-rt ${UNWINDLIB}" | ||
260 | |||
257 | LDFLAGS_append_pn-gnutls_toolchain-clang_riscv64 = " -latomic" | 261 | LDFLAGS_append_pn-gnutls_toolchain-clang_riscv64 = " -latomic" |
258 | LDFLAGS_append_pn-harfbuzz_toolchain-clang_riscv64 = " -latomic" | 262 | LDFLAGS_append_pn-harfbuzz_toolchain-clang_riscv64 = " -latomic" |
259 | LDFLAGS_append_pn-qtwebengine_toolchain-clang_runtime-gnu_x86 = " -latomic" | 263 | LDFLAGS_append_pn-qtwebengine_toolchain-clang_runtime-gnu_x86 = " -latomic" |