Skip to content

Commit ae7dbbd

Browse files
committed
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>
1 parent 21caa84 commit ae7dbbd

File tree

1 file changed

+0
-43
lines changed

1 file changed

+0
-43
lines changed

conf/nonclangable.conf

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -375,16 +375,6 @@ CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-l
375375
# Finds this extra warning with clang20+
376376
CXXFLAGS:append:pn-fmt:toolchain-clang = " -Wno-error=invalid-specialization"
377377

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-
388378
# | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store
389379
LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic"
390380

@@ -394,39 +384,6 @@ LDFLAGS:append:pn-ruby:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_F
394384
LDFLAGS:append:pn-cairo:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}"
395385
LDFLAGS:append:pn-systemd:toolchain-clang:powerpc = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', '', ' -Wl,--no-warn-rwx-segment', d)}"
396386

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-
430387
# Uses gcc for native tools, e.g. nsinstall and passes clang options which fails so
431388
# let same compiler ( gcc or clang) be native/cross compiler
432389
# | gcc: error: unrecognized command line option ‘-Qunused-arguments’

0 commit comments

Comments
 (0)