diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-09-21 12:34:48 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-09-22 10:26:04 -0700 |
commit | ae7dbbd7f53448dbf620627e8097ab2f68e9b570 (patch) | |
tree | 62a6f119f4fc0ec0346ee451e2ea49661f13dbfe | |
parent | 21caa84ffc178b67931a3c2984aff20f556e9662 (diff) | |
download | meta-clang-ae7dbbd7f53448dbf620627e8097ab2f68e9b570.tar.gz |
nonclangable: Drop COMPILER_RT variable
This variable is not used anymore after clang migration to OE-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | conf/nonclangable.conf | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index d0ca639..837641b 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -375,16 +375,6 @@ CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-l | |||
375 | # Finds this extra warning with clang20+ | 375 | # Finds this extra warning with clang20+ |
376 | CXXFLAGS:append:pn-fmt:toolchain-clang = " -Wno-error=invalid-specialization" | 376 | CXXFLAGS:append:pn-fmt:toolchain-clang = " -Wno-error=invalid-specialization" |
377 | 377 | ||
378 | COMPILER_RT:remove:pn-m4:powerpc = "-rtlib=compiler-rt" | ||
379 | COMPILER_RT:remove:pn-ruby:powerpc = "-rtlib=compiler-rt" | ||
380 | COMPILER_RT:remove:pn-webkitgtk:powerpc = "-rtlib=compiler-rt" | ||
381 | COMPILER_RT:remove:pn-m4:armeb = "-rtlib=compiler-rt" | ||
382 | COMPILER_RT:remove:pn-ruby:armeb = "-rtlib=compiler-rt" | ||
383 | COMPILER_RT:remove:pn-webkitgtk:armeb = "-rtlib=compiler-rt" | ||
384 | # build/lib/libQt5Widgets.so: undefined reference to `__lshrti3' | ||
385 | # __lshrti3 is missing in libgcc | ||
386 | COMPILER_RT:pn-qtbase:toolchain-clang:riscv32 = "-rtlib=compiler-rt ${UNWINDLIB}" | ||
387 | |||
388 | # | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store | 378 | # | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store |
389 | LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic" | 379 | LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic" |
390 | 380 | ||
@@ -394,39 +384,6 @@ LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_F | |||
394 | LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}" | 384 | LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}" |
395 | LDFLAGS:append:pn-systemd:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}" | 385 | LDFLAGS:append:pn-systemd:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}" |
396 | 386 | ||
397 | # glibc is built with gcc and hence encodes some libgcc specific builtins which are not found | ||
398 | # when doing static linking with clang using compiler-rt, so use libgcc | ||
399 | # undefined reference to `__unordtf2' | ||
400 | COMPILER_RT:pn-aufs-util:libc-glibc:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | ||
401 | COMPILER_RT:pn-libhugetlbfs:libc-glibc:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | ||
402 | COMPILER_RT:pn-tsocks:libc-glibc:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | ||
403 | COMPILER_RT:pn-libc-bench:libc-glibc:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | ||
404 | COMPILER_RT:pn-fmt:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | ||
405 | COMPILER_RT:pn-fmt:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
406 | COMPILER_RT:pn-mybw:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | ||
407 | COMPILER_RT:pn-mybw:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
408 | COMPILER_RT:pn-libc-bench:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
409 | COMPILER_RT:pn-mpich:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
410 | COMPILER_RT:pn-aufs-util:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
411 | COMPILER_RT:pn-libhugetlbfs:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
412 | COMPILER_RT:pn-tsocks:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
413 | # | tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot-native/usr/bin/x86_64-lmp-linux/x86_64-lmp-linux-ld: tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot//usr/lib/libc.a(printf_fp.o): in function `__printf_fp_l': | ||
414 | # | /usr/src/debug/glibc/2.35-r0/git/stdio-common/printf_fp.c:388: undefined reference to `__unordtf2' | ||
415 | # | tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot-native/usr/bin/x86_64-lmp-linux/x86_64-lmp-linux-ld: /usr/src/debug/glibc/2.35-r0/git/stdio-common/printf_fp.c:388: undefined reference to `__unordtf2' | ||
416 | # | tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot-native/usr/bin/x86_64-lmp-linux/x86_64-lmp-linux-ld: /usr/src/debug/glibc/2.35-r0/git/stdio-common/printf_fp.c:388: undefined reference to `__letf2' | ||
417 | # | tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot-native/usr/bin/x86_64-lmp-linux/x86_64-lmp-linux-ld: tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot//usr/lib/libc.a(printf_fphex.o): in function `__printf_fphex': | ||
418 | # | /usr/src/debug/glibc/2.35-r0/git/stdio-common/../stdio-common/printf_fphex.c:206: undefined reference to `__unordtf2' | ||
419 | # | tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot-native/usr/bin/x86_64-lmp-linux/x86_64-lmp-linux-ld: /usr/src/debug/glibc/2.35-r0/git/stdio-common/../stdio-common/printf_fphex.c:206: undefined reference to `__unordtf2' | ||
420 | # | tmp-lmp/work/corei7-64-lmp-linux/ostree/2021.6-r0/recipe-sysroot-native/usr/bin/x86_64-lmp-linux/x86_64-lmp-linux-ld: /usr/src/debug/glibc/2.35-r0/git/stdio-common/../stdio-common/printf_fphex.c:206: undefined reference to `__letf2' | ||
421 | # | x86_64-lmp-linux-clang -target x86_64-lmp-linux -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 -mlittle-endian --dyld-prefix=/usr -Qunused-arguments -fstack-protector-strong -O2 -D_F | ||
422 | COMPILER_RT:pn-ostree:libc-glibc:toolchain-clang:x86 = "-rtlib=libgcc --unwindlib=libgcc" | ||
423 | COMPILER_RT:pn-ostree:libc-glibc:toolchain-clang:x86-64 = "-rtlib=libgcc --unwindlib=libgcc" | ||
424 | |||
425 | #(unwind.o): in function `__pthread_unwind': | ||
426 | #/usr/src/debug/glibc/2.29-r0/git/nptl/unwind.c:121: undefined reference to `_Unwind_ForcedUnwind' | ||
427 | #clang-8: error: linker command failed with exit code 1 (use -v to see invocation) | ||
428 | COMPILER_RT:pn-libhugetlbfs:libc-glibc:toolchain-clang:arm = "--unwindlib=libgcc" | ||
429 | |||
430 | # Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so | 387 | # Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so |
431 | # let same compiler ( gcc or clang) be native/cross compiler | 388 | # let same compiler ( gcc or clang) be native/cross compiler |
432 | # | gcc: error: unrecognized command line option ‘-Qunused-arguments’ | 389 | # | gcc: error: unrecognized command line option ‘-Qunused-arguments’ |