diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-04-03 12:30:56 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-09-08 09:08:54 -0700 |
commit | 651ac1e82a8b4fc76592fcfec8d01f9dcc09d973 (patch) | |
tree | 01b8ebab25d41c216829d3c0a58a70a32089d8bf | |
parent | 8af3fac5735bc659facb62d6e75dd62978fc20ba (diff) | |
download | meta-clang-651ac1e82a8b4fc76592fcfec8d01f9dcc09d973.tar.gz |
nonclangable: Enable clang for several packages pinned to gcc-only
with clang-14 more packages are now buildable from the exlcusion list,
therefore enable clang for them.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit aa770155dcfee2caf575f28ecef26acfbe1060b3)
-rw-r--r-- | conf/nonclangable.conf | 29 |
1 files changed, 2 insertions, 27 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 9da3260..ce7d63f 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -37,19 +37,6 @@ TOOLCHAIN:pn-libgcc-initial = "gcc" | |||
37 | TOOLCHAIN:pn-libgfortran = "gcc" | 37 | TOOLCHAIN:pn-libgfortran = "gcc" |
38 | TOOLCHAIN:pn-libssp-nonshared = "gcc" | 38 | TOOLCHAIN:pn-libssp-nonshared = "gcc" |
39 | 39 | ||
40 | # Dunfell is not affected by the ell and iwd breakages. | ||
41 | # Once we update past dunfell, patches to fix it properly | ||
42 | # can be found in OpenMandriva packages. | ||
43 | # ell 0.39 introduced nested functions sadly | ||
44 | #TOOLCHAIN:pn-ell = "gcc" | ||
45 | # iwd 1.13 introduced nested functions sadly | ||
46 | #TOOLCHAIN:pn-iwd = "gcc" | ||
47 | |||
48 | #| cargo:warning=/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/libstd-rs/1.27.1-r0/re | ||
49 | #cipe-sysroot/usr/include/bits/stdlib.h:90:3: error: "Assumed value of MB_LEN_MAX wrong" | ||
50 | #| cargo:warning=# error "Assumed value of MB_LEN_MAX wrong" | ||
51 | #| cargo:warning= ^ | ||
52 | TOOLCHAIN:pn-libstd-rs = "gcc" | ||
53 | TOOLCHAIN:pn-m4:powerpc = "gcc" | 40 | TOOLCHAIN:pn-m4:powerpc = "gcc" |
54 | # clang does not have 64bit atomics on mips32 | 41 | # clang does not have 64bit atomics on mips32 |
55 | #TOOLCHAIN:pn-mesa:mips = "gcc" | 42 | #TOOLCHAIN:pn-mesa:mips = "gcc" |
@@ -63,14 +50,6 @@ TOOLCHAIN:pn-openflow:mipsarch = "gcc" | |||
63 | TOOLCHAIN:pn-opensbi = "gcc" | 50 | TOOLCHAIN:pn-opensbi = "gcc" |
64 | TOOLCHAIN:pn-openjdk-8 = "gcc" | 51 | TOOLCHAIN:pn-openjdk-8 = "gcc" |
65 | TOOLCHAIN:pn-openjre-8 = "gcc" | 52 | TOOLCHAIN:pn-openjre-8 = "gcc" |
66 | TOOLCHAIN:pn-piglit = "gcc" | ||
67 | TOOLCHAIN:pn-prelink = "gcc" | ||
68 | # Qemu cant run profile tests run during build | ||
69 | # | *** stack smashing detected ***: terminated | ||
70 | # | ./pgo-wrapper: line 3: 3372346 Aborted | ||
71 | #TOOLCHAIN:pn-python3 = "gcc" | ||
72 | # has dpkg source which does not compile | ||
73 | TOOLCHAIN:pn-start-stop-daemon = "gcc" | ||
74 | TOOLCHAIN:pn-syslinux = "gcc" | 53 | TOOLCHAIN:pn-syslinux = "gcc" |
75 | TOOLCHAIN:pn-systemtap = "gcc" | 54 | TOOLCHAIN:pn-systemtap = "gcc" |
76 | # v4l-utils uses nested functions | 55 | # v4l-utils uses nested functions |
@@ -110,12 +89,8 @@ DEBUG_FLAGS:remove:pn-pixman:toolchain-clang:arm = "-g" | |||
110 | #| ^ | 89 | #| ^ |
111 | #| ./ports/linux/pseudo_wrappers.c:80:57: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration] | 90 | #| ./ports/linux/pseudo_wrappers.c:80:57: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration] |
112 | #| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7); | 91 | #| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7); |
113 | |||
114 | TOOLCHAIN:pn-pseudo = "gcc" | 92 | TOOLCHAIN:pn-pseudo = "gcc" |
115 | #| ../../pulseaudio-10.0/src/pulsecore/mix_neon.c../../pulseaudio-10.0/src/pulsecore/sconv_neon.c:49::27: error: unknown register name 'q0' in asm | 93 | |
116 | #| : "memory", "cc", "q0" /* clobber list */ | ||
117 | #| ^ | ||
118 | TOOLCHAIN:pn-pulseaudio:aarch64 = "gcc" | ||
119 | # mix_neon.c:179:9: error: invalid operand in inline asm: 'vld1.s32 ${0:h}, [$2] | 94 | # mix_neon.c:179:9: error: invalid operand in inline asm: 'vld1.s32 ${0:h}, [$2] |
120 | # vld1.s32 ${1:h}, [$3] ' | 95 | # vld1.s32 ${1:h}, [$3] ' |
121 | TOOLCHAIN:pn-pulseaudio:armv7ve = "gcc" | 96 | TOOLCHAIN:pn-pulseaudio:armv7ve = "gcc" |
@@ -138,7 +113,7 @@ TOOLCHAIN:pn-caps = "gcc" | |||
138 | 113 | ||
139 | # Fails to build with clang-13 errors with .export.sym file | 114 | # Fails to build with clang-13 errors with .export.sym file |
140 | # Mismatch between symbols in shared library and lists in .exported_symbols.* files: dm_bit_get_prev | 115 | # Mismatch between symbols in shared library and lists in .exported_symbols.* files: dm_bit_get_prev |
141 | TOOLCHAIN:pn-lvm2 = "gcc" | 116 | #TOOLCHAIN:pn-lvm2 = "gcc" |
142 | TOOLCHAIN:pn-libdevmapper = "gcc" | 117 | TOOLCHAIN:pn-libdevmapper = "gcc" |
143 | 118 | ||
144 | TOOLCHAIN:pn-lttng-ust:riscv64 = "gcc" | 119 | TOOLCHAIN:pn-lttng-ust:riscv64 = "gcc" |