diff options
| author | Khem Raj <raj.khem@gmail.com> | 2025-09-21 18:42:58 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-09-22 10:26:04 -0700 |
| commit | 0f8caa642d0f75f248646053a1edac0bb3ff6697 (patch) | |
| tree | 79ea7110604d7c3fa5514bc2ee604cd2574a5f4d | |
| parent | ae7dbbd7f53448dbf620627e8097ab2f68e9b570 (diff) | |
| download | meta-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.conf | 44 |
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) { |
| 32 | TOOLCHAIN:pn-firefox = "gcc" | 32 | TOOLCHAIN:pn-firefox = "gcc" |
| 33 | TOOLCHAIN:pn-gcc = "gcc" | ||
| 34 | TOOLCHAIN:pn-gcc-runtime = "gcc" | ||
| 35 | TOOLCHAIN:pn-gcc-sanitizers = "gcc" | ||
| 36 | TOOLCHAIN:pn-glibc = "gcc" | ||
| 37 | TOOLCHAIN:pn-glibc-initial = "gcc" | ||
| 38 | TOOLCHAIN:pn-glibc-locale = "gcc" | ||
| 39 | TOOLCHAIN:pn-glibc-mtrace = "gcc" | ||
| 40 | TOOLCHAIN:pn-glibc-scripts = "gcc" | ||
| 41 | TOOLCHAIN:pn-glibc-testsuite = "gcc" | ||
| 42 | TOOLCHAIN: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 |
| 46 | TOOLCHAIN:pn-gobject-intospection:mips64 = "gcc" | 35 | TOOLCHAIN:pn-gobject-intospection:mips64 = "gcc" |
| @@ -53,13 +42,6 @@ TOOLCHAIN:pn-avahi:mips64 = "gcc" | |||
| 53 | #| 1 error generated. | 42 | #| 1 error generated. |
| 54 | TOOLCHAIN:pn-libdc1394 = "gcc" | 43 | TOOLCHAIN:pn-libdc1394 = "gcc" |
| 55 | 44 | ||
| 56 | # error: return address can be determined only for current frame | ||
| 57 | TOOLCHAIN:pn-libexecinfo:mipsarch = "gcc" | ||
| 58 | TOOLCHAIN:pn-libgcc = "gcc" | ||
| 59 | TOOLCHAIN:pn-libgcc-initial = "gcc" | ||
| 60 | TOOLCHAIN:pn-libgfortran = "gcc" | ||
| 61 | TOOLCHAIN:pn-libssp-nonshared = "gcc" | ||
| 62 | |||
| 63 | TOOLCHAIN:pn-m4:powerpc = "gcc" | 45 | TOOLCHAIN:pn-m4:powerpc = "gcc" |
| 64 | # clang does not have 64bit atomics on ppc | 46 | # clang does not have 64bit atomics on ppc |
| 65 | TOOLCHAIN:pn-mesa:powerpc = "gcc" | 47 | TOOLCHAIN: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 |
| 101 | TOOLCHAIN:pn-libgcrypt:mips64 = "gcc" | 83 | TOOLCHAIN: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 | #| ^ | ||
| 106 | TOOLCHAIN:pn-polkit = "gcc" | ||
| 107 | |||
| 108 | # ppp uses nested functions and gcc specific option e.g. --print-sysroot | ||
| 109 | # | ||
| 110 | TOOLCHAIN: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 |
| 153 | TOOLCHAIN:pn-php:mips = "gcc" | 126 | TOOLCHAIN:pn-php:mips = "gcc" |
| 154 | 127 | ||
| 155 | # Workaround oe-core patching problem temporarily | ||
| 156 | TOOLCHAIN:pn-rsync = "gcc" | ||
| 157 | |||
| 158 | TOOLCHAIN:pn-u-boot-at91 = "gcc" | 128 | TOOLCHAIN:pn-u-boot-at91 = "gcc" |
| 159 | TOOLCHAIN:pn-u-boot-fslc-mfgtool = "gcc" | 129 | TOOLCHAIN:pn-u-boot-fslc-mfgtool = "gcc" |
| 160 | TOOLCHAIN:pn-u-boot-fslc-mxsboot = "gcc" | 130 | TOOLCHAIN:pn-u-boot-fslc-mxsboot = "gcc" |
| @@ -201,9 +171,6 @@ TOOLCHAIN:pn-gcc-for-nvcc-runtime:tegra = "gcc" | |||
| 201 | #| | ^ | 171 | #| | ^ |
| 202 | TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc" | 172 | TOOLCHAIN: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>' | ||
| 206 | TOOLCHAIN:pn-poco = "gcc" | ||
| 207 | TOOLCHAIN:pn-netdata = "gcc" | 174 | TOOLCHAIN: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 |
| 209 | TOOLCHAIN:pn-python3-drgn:riscv32 = "gcc" | 176 | TOOLCHAIN: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] |
| 373 | CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-list-after-template-kw" | 340 | CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-list-after-template-kw" |
| 374 | 341 | ||
| 375 | # Finds this extra warning with clang20+ | ||
| 376 | CXXFLAGS: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 |
| 379 | LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic" | 343 | LDFLAGS: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] |
| 398 | LTO:pn-cairo:toolchain-clang = "" | 362 | LTO: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 | ||
| 403 | RANLIB: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 |
| 407 | OBJCOPY:pn-linux-yocto:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
| 408 | OBJCOPY:pn-linux-yocto-dev:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
| 409 | OBJCOPY:pn-linux-yocto-rt:toolchain-clang = "${HOST_PREFIX}objcopy" | ||
| 410 | OBJCOPY:pn-linux-variscite:toolchain-clang = "${HOST_PREFIX}objcopy" | 366 | OBJCOPY:pn-linux-variscite:toolchain-clang = "${HOST_PREFIX}objcopy" |
| 411 | OBJCOPY:pn-linux-ti-staging:toolchain-clang = "${HOST_PREFIX}objcopy" | 367 | OBJCOPY:pn-linux-ti-staging:toolchain-clang = "${HOST_PREFIX}objcopy" |
| 412 | OBJCOPY:pn-linux-raspberrypi:toolchain-clang = "${HOST_PREFIX}objcopy" | 368 | OBJCOPY:pn-linux-raspberrypi:toolchain-clang = "${HOST_PREFIX}objcopy" |
