summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-09-21 18:42:58 -0700
committerKhem Raj <raj.khem@gmail.com>2025-09-22 10:26:04 -0700
commit0f8caa642d0f75f248646053a1edac0bb3ff6697 (patch)
tree79ea7110604d7c3fa5514bc2ee604cd2574a5f4d
parentae7dbbd7f53448dbf620627e8097ab2f68e9b570 (diff)
downloadmeta-clang-0f8caa642d0f75f248646053a1edac0bb3ff6697.tar.gz
nonclangable: Update with clang-21
Clang-21 and OE-core move of clang has made several packages work either out of box or the needed patches have moved to recipes proper therefore remove them here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/nonclangable.conf44
1 files changed, 0 insertions, 44 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf
index 837641b..e8a0dba 100644
--- a/conf/nonclangable.conf
+++ b/conf/nonclangable.conf
@@ -30,17 +30,6 @@ TOOLCHAIN:pn-erlang = "gcc"
30# /mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/firefox/60.1.0esr-r0/recipe-sysroot-native/usr/lib/clang/7.0.1/include/arm_neon.h:433:1: error: unknown type name 'inline' 30# /mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/firefox/60.1.0esr-r0/recipe-sysroot-native/usr/lib/clang/7.0.1/include/arm_neon.h:433:1: error: unknown type name 'inline'
31# __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) { 31# __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) {
32TOOLCHAIN:pn-firefox = "gcc" 32TOOLCHAIN:pn-firefox = "gcc"
33TOOLCHAIN:pn-gcc = "gcc"
34TOOLCHAIN:pn-gcc-runtime = "gcc"
35TOOLCHAIN:pn-gcc-sanitizers = "gcc"
36TOOLCHAIN:pn-glibc = "gcc"
37TOOLCHAIN:pn-glibc-initial = "gcc"
38TOOLCHAIN:pn-glibc-locale = "gcc"
39TOOLCHAIN:pn-glibc-mtrace = "gcc"
40TOOLCHAIN:pn-glibc-scripts = "gcc"
41TOOLCHAIN:pn-glibc-testsuite = "gcc"
42TOOLCHAIN:pn-glibc-y2038-tests = "gcc"
43
44#| prelink-rtld: error while loading shared libraries: ld.so.1 33#| prelink-rtld: error while loading shared libraries: ld.so.1
45#| /lib64/ld.so.1: No such file or directory 34#| /lib64/ld.so.1: No such file or directory
46TOOLCHAIN:pn-gobject-intospection:mips64 = "gcc" 35TOOLCHAIN:pn-gobject-intospection:mips64 = "gcc"
@@ -53,13 +42,6 @@ TOOLCHAIN:pn-avahi:mips64 = "gcc"
53#| 1 error generated. 42#| 1 error generated.
54TOOLCHAIN:pn-libdc1394 = "gcc" 43TOOLCHAIN:pn-libdc1394 = "gcc"
55 44
56# error: return address can be determined only for current frame
57TOOLCHAIN:pn-libexecinfo:mipsarch = "gcc"
58TOOLCHAIN:pn-libgcc = "gcc"
59TOOLCHAIN:pn-libgcc-initial = "gcc"
60TOOLCHAIN:pn-libgfortran = "gcc"
61TOOLCHAIN:pn-libssp-nonshared = "gcc"
62
63TOOLCHAIN:pn-m4:powerpc = "gcc" 45TOOLCHAIN:pn-m4:powerpc = "gcc"
64# clang does not have 64bit atomics on ppc 46# clang does not have 64bit atomics on ppc
65TOOLCHAIN:pn-mesa:powerpc = "gcc" 47TOOLCHAIN:pn-mesa:powerpc = "gcc"
@@ -100,15 +82,6 @@ TOOLCHAIN:pn-icu:armv5 = "gcc"
100#../../libgcrypt-1.6.5/mpi/mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions 82#../../libgcrypt-1.6.5/mpi/mpih-div.c:98:3: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions
101TOOLCHAIN:pn-libgcrypt:mips64 = "gcc" 83TOOLCHAIN:pn-libgcrypt:mips64 = "gcc"
102 84
103#recipe-sysroot/usr/include/mozjs-60/mozilla/Span.h:634:5: error: statement not allowed in constexpr function
104#| MOZ_RELEASE_ASSERT(aStart <= len && (aLength == dynamic_extent ||
105#| ^
106TOOLCHAIN:pn-polkit = "gcc"
107
108# ppp uses nested functions and gcc specific option e.g. --print-sysroot
109#
110TOOLCHAIN:pn-ppp = "gcc"
111
112#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration] 85#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
113#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7); 86#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
114#| ^ 87#| ^
@@ -152,9 +125,6 @@ TOOLCHAIN:pn-gcompat:mips = "gcc"
152# mips-yoe-linux/mips-yoe-linux-ld: BFD (GNU Binutils) 2.37.20210721 assertion fail ../../bfd/elfxx-mips.c:3614 125# mips-yoe-linux/mips-yoe-linux-ld: BFD (GNU Binutils) 2.37.20210721 assertion fail ../../bfd/elfxx-mips.c:3614
153TOOLCHAIN:pn-php:mips = "gcc" 126TOOLCHAIN:pn-php:mips = "gcc"
154 127
155# Workaround oe-core patching problem temporarily
156TOOLCHAIN:pn-rsync = "gcc"
157
158TOOLCHAIN:pn-u-boot-at91 = "gcc" 128TOOLCHAIN:pn-u-boot-at91 = "gcc"
159TOOLCHAIN:pn-u-boot-fslc-mfgtool = "gcc" 129TOOLCHAIN:pn-u-boot-fslc-mfgtool = "gcc"
160TOOLCHAIN:pn-u-boot-fslc-mxsboot = "gcc" 130TOOLCHAIN:pn-u-boot-fslc-mxsboot = "gcc"
@@ -201,9 +171,6 @@ TOOLCHAIN:pn-gcc-for-nvcc-runtime:tegra = "gcc"
201#| | ^ 171#| | ^
202TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc" 172TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc"
203 173
204# Fails with clang-19+
205# Poco/PriorityDelegate.h:203:10: error: no member named '_pTarget' in 'PriorityDelegate<type-parameter-0-0, void, true>'
206TOOLCHAIN:pn-poco = "gcc"
207TOOLCHAIN:pn-netdata = "gcc" 174TOOLCHAIN:pn-netdata = "gcc"
208# Needs OMP and with clang openmp is not ported to rv32 yet 175# Needs OMP and with clang openmp is not ported to rv32 yet
209TOOLCHAIN:pn-python3-drgn:riscv32 = "gcc" 176TOOLCHAIN:pn-python3-drgn:riscv32 = "gcc"
@@ -372,9 +339,6 @@ CXXFLAGS:append:pn-nodejs:toolchain-clang = " -Wno-error=enum-constexpr-conversi
372# deps/TinyDeflate/gunzip.hh:1144:35: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 339# deps/TinyDeflate/gunzip.hh:1144:35: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw]
373CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-list-after-template-kw" 340CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-list-after-template-kw"
374 341
375# Finds this extra warning with clang20+
376CXXFLAGS:append:pn-fmt:toolchain-clang = " -Wno-error=invalid-specialization"
377
378# | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store 342# | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store
379LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic" 343LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic"
380 344
@@ -397,16 +361,8 @@ LTO:pn-libidn2:toolchain-clang = ""
397#libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined] 361#libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined]
398LTO:pn-cairo:toolchain-clang = "" 362LTO:pn-cairo:toolchain-clang = ""
399 363
400# This works with gcc-ranlib wrapper only which expands $@ shell array,
401# but it will fail if RANLIB was set to <cross>-ranlib or
402# <cross>-llvn-ranlib has same behaviour
403RANLIB:append:pn-tcf-agent:toolchain-clang = " $@"
404
405# Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table 364# Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table
406# also seen on riscv64 and x86-64 365# also seen on riscv64 and x86-64
407OBJCOPY:pn-linux-yocto:toolchain-clang = "${HOST_PREFIX}objcopy"
408OBJCOPY:pn-linux-yocto-dev:toolchain-clang = "${HOST_PREFIX}objcopy"
409OBJCOPY:pn-linux-yocto-rt:toolchain-clang = "${HOST_PREFIX}objcopy"
410OBJCOPY:pn-linux-variscite:toolchain-clang = "${HOST_PREFIX}objcopy" 366OBJCOPY:pn-linux-variscite:toolchain-clang = "${HOST_PREFIX}objcopy"
411OBJCOPY:pn-linux-ti-staging:toolchain-clang = "${HOST_PREFIX}objcopy" 367OBJCOPY:pn-linux-ti-staging:toolchain-clang = "${HOST_PREFIX}objcopy"
412OBJCOPY:pn-linux-raspberrypi:toolchain-clang = "${HOST_PREFIX}objcopy" 368OBJCOPY:pn-linux-raspberrypi:toolchain-clang = "${HOST_PREFIX}objcopy"