Skip to content

Commit 0f8caa6

Browse files
committed
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>
1 parent ae7dbbd commit 0f8caa6

File tree

1 file changed

+0
-44
lines changed

1 file changed

+0
-44
lines changed

conf/nonclangable.conf

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,6 @@ TOOLCHAIN:pn-erlang = "gcc"
3030
# /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'
3131
# __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) {
3232
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-
4433
#| prelink-rtld: error while loading shared libraries: ld.so.1
4534
#| /lib64/ld.so.1: No such file or directory
4635
TOOLCHAIN:pn-gobject-intospection:mips64 = "gcc"
@@ -53,13 +42,6 @@ TOOLCHAIN:pn-avahi:mips64 = "gcc"
5342
#| 1 error generated.
5443
TOOLCHAIN:pn-libdc1394 = "gcc"
5544

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-
6345
TOOLCHAIN:pn-m4:powerpc = "gcc"
6446
# clang does not have 64bit atomics on ppc
6547
TOOLCHAIN:pn-mesa:powerpc = "gcc"
@@ -100,15 +82,6 @@ TOOLCHAIN:pn-icu:armv5 = "gcc"
10082
#../../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
10183
TOOLCHAIN:pn-libgcrypt:mips64 = "gcc"
10284

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-
11285
#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
11386
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
11487
#| ^
@@ -152,9 +125,6 @@ TOOLCHAIN:pn-gcompat:mips = "gcc"
152125
# mips-yoe-linux/mips-yoe-linux-ld: BFD (GNU Binutils) 2.37.20210721 assertion fail ../../bfd/elfxx-mips.c:3614
153126
TOOLCHAIN:pn-php:mips = "gcc"
154127

155-
# Workaround oe-core patching problem temporarily
156-
TOOLCHAIN:pn-rsync = "gcc"
157-
158128
TOOLCHAIN:pn-u-boot-at91 = "gcc"
159129
TOOLCHAIN:pn-u-boot-fslc-mfgtool = "gcc"
160130
TOOLCHAIN:pn-u-boot-fslc-mxsboot = "gcc"
@@ -201,9 +171,6 @@ TOOLCHAIN:pn-gcc-for-nvcc-runtime:tegra = "gcc"
201171
#| | ^
202172
TOOLCHAIN:pn-optee-os:imx-nxp-bsp = "gcc"
203173

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"
207174
TOOLCHAIN:pn-netdata = "gcc"
208175
# Needs OMP and with clang openmp is not ported to rv32 yet
209176
TOOLCHAIN:pn-python3-drgn:riscv32 = "gcc"
@@ -372,9 +339,6 @@ CXXFLAGS:append:pn-nodejs:toolchain-clang = " -Wno-error=enum-constexpr-conversi
372339
# 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]
373340
CXXFLAGS:append:pn-doxygen:toolchain-clang = " -Wno-error=missing-template-arg-list-after-template-kw"
374341

375-
# Finds this extra warning with clang20+
376-
CXXFLAGS:append:pn-fmt:toolchain-clang = " -Wno-error=invalid-specialization"
377-
378342
# | i686-yoe-linux-ld.lld: error: undefined symbol: __atomic_store
379343
LDFLAGS:append:pn-lttng-tools:toolchain-clang:x86 = " -latomic"
380344

@@ -397,16 +361,8 @@ LTO:pn-libidn2:toolchain-clang = ""
397361
#libcairo.so: undefined reference to pthread_mutexattr_init [--no-allow-shlib-undefined]
398362
LTO:pn-cairo:toolchain-clang = ""
399363

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-
405364
# Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table
406365
# 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"
410366
OBJCOPY:pn-linux-variscite:toolchain-clang = "${HOST_PREFIX}objcopy"
411367
OBJCOPY:pn-linux-ti-staging:toolchain-clang = "${HOST_PREFIX}objcopy"
412368
OBJCOPY:pn-linux-raspberrypi:toolchain-clang = "${HOST_PREFIX}objcopy"

0 commit comments

Comments
 (0)