blob: 215bd1ccead59da23b3b9e3c14784b9307ec6775 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001TOOLCHAIN_pn-aspell = "gcc"
2TOOLCHAIN_pn-cpufrequtils = "gcc"
3# crash embeds version of gdb which is not buildable with clang
4TOOLCHAIN_pn-crash = "gcc"
5TOOLCHAIN_pn-elfutils = "gcc"
6# /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'
7# __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) {
8TOOLCHAIN_pn-firefox = "gcc"
9TOOLCHAIN_pn-gcc = "gcc"
10TOOLCHAIN_pn-gcc-runtime = "gcc"
11TOOLCHAIN_pn-gcc-sanitizers = "gcc"
12TOOLCHAIN_pn-glibc = "gcc"
13TOOLCHAIN_pn-glibc-initial = "gcc"
14TOOLCHAIN_pn-glibc-locale = "gcc"
15TOOLCHAIN_pn-glibc-mtrace = "gcc"
16TOOLCHAIN_pn-glibc-scripts = "gcc"
17TOOLCHAIN_pn-grub = "gcc"
18TOOLCHAIN_pn-grub-efi = "gcc"
19# VLAs
20#| control.c:286:19: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
21#| __u32 buffer[cam->max_response_quads];
22#| ^
23#| 1 error generated.
24TOOLCHAIN_pn-libdc1394 = "gcc"
25TOOLCHAIN_pn-libgcc = "gcc"
26TOOLCHAIN_pn-libgcc-initial = "gcc"
27TOOLCHAIN_pn-libgfortran = "gcc"
28TOOLCHAIN_pn-libssp-nonshared = "gcc"
29#| cargo:warning=/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/libstd-rs/1.27.1-r0/re
30#cipe-sysroot/usr/include/bits/stdlib.h:90:3: error: "Assumed value of MB_LEN_MAX wrong"
31#| cargo:warning=# error "Assumed value of MB_LEN_MAX wrong"
32#| cargo:warning= ^
33TOOLCHAIN_pn-libstd-rs = "gcc"
34# clang does not have 64bit atomics on mips32
35TOOLCHAIN_pn-mesa_mips = "gcc"
36TOOLCHAIN_pn-mesa_mipsel = "gcc"
37TOOLCHAIN_pn-openjdk-8 = "gcc"
38TOOLCHAIN_pn-openjre-8 = "gcc"
39TOOLCHAIN_pn-piglit = "gcc"
40TOOLCHAIN_pn-prelink = "gcc"
41# has dpkg source which does not compile
42TOOLCHAIN_pn-start-stop-daemon = "gcc"
43TOOLCHAIN_pn-syslinux = "gcc"
44TOOLCHAIN_pn-systemtap = "gcc"
45# v4l-utils uses nested functions
46TOOLCHAIN_pn-v4l-utils = "gcc"
47TOOLCHAIN_pn-valgrind = "gcc"
48# uses C++ which clang does not like
49TOOLCHAIN_pn-wvstreams = "gcc"
50TOOLCHAIN_pn-wvdial = "gcc"
51#| ../../mpfr-3.1.4/src/mul.c:324:11: error: invalid output constraint '=h' in asm
52#| umul_ppmm (tmp[1], tmp[0], MPFR_MANT (b)[0], MPFR_MANT (c)[0]);
53TOOLCHAIN_pn-mpfr_mips = "gcc"
54TOOLCHAIN_pn-mpfr_mips64 = "gcc"
55#
56#../../lib/libicui18n.so: undefined reference to `__atomic_fetch_sub_4'
57#../../lib/libicui18n.so: undefined reference to `__atomic_load_4'
58#../../lib/libicui18n.so: undefined reference to `__atomic_store_4'
59#../../lib/libicui18n.so: undefined reference to `__atomic_fetch_add_4'
60#
61TOOLCHAIN_pn-icu_armv4 = "gcc"
62TOOLCHAIN_pn-icu_armv5 = "gcc"
63
64#../../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
65TOOLCHAIN_pn-libgcrypt_mips64 = "gcc"
66
67#| ../../pixman-0.34.0/test/utils-prng.c:131:29: error: cannot convert between vector type '__attribute__((__vector_size__(16 * sizeof(char)))) char' (vector of 16 'char' values) and vector type 'uint8x16' (vector of 16 'uint8_t' values) as implicit conversion would cause truncation
68#| randdata.vb |= (t.vb >= const_C0#);
69#| ^
70# also see http://lists.llvm.org/pipermail/llvm-dev/2016-October/105997.html
71TOOLCHAIN_pn-pixman = "gcc"
72
73#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
74#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
75#| ^
76#| ./ports/linux/pseudo_wrappers.c:80:57: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration]
77#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
78
79TOOLCHAIN_pn-pseudo = "gcc"
80#| ../../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
81#| : "memory", "cc", "q0" /* clobber list */
82#| ^
83TOOLCHAIN_pn-pulseaudio_aarch64 = "gcc"
84# mix_neon.c:179:9: error: invalid operand in inline asm: 'vld1.s32 ${0:h}, [$2]
85# vld1.s32 ${1:h}, [$3] '
86TOOLCHAIN_pn-pulseaudio_armv7ve = "gcc"
87TOOLCHAIN_pn-pulseaudio_armv7a = "gcc"
88
89# clang++ 6.0 crashes during link phase of a shared library
90TOOLCHAIN_pn-wpewebkit = "gcc"
91
92# x264 causes a infinite loop when compiling 1 source file
93#
94TOOLCHAIN_pn-x264_x86 = "gcc"
95
96#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:191: undefined reference to `__atomic_fetch_or_4'
97#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:210: undefined reference to `__atomic_fetch_or_4'
98#| libqemuutil.a(bitmap.o): In function `bitmap_test_and_clear_atomic':
99#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:250: undefined reference to `__atomic_fetch_and_4'
100#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:262: undefined reference to `__atomic_exchange_4'
101#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:273: undefined reference to `__atomic_fetch_and_4'
102# We need to link in with -latomic which comes from gcc-runtime anyway so just keep using gcc
103# to compile qemu for target
104TOOLCHAIN_pn-qemu_arm = "gcc"
105
106# llvm-profdata fails see
107# | error: Could not read profile code.profd: No such file or directory
108TOOLCHAIN_pn-python3 = "gcc"
109
110#| ./dsp/v4f_IIR2.h:554:12: error: no matching function for call to 'v4f_map'
111#| a[5] = v4f_map<__builtin_cosf> (f);
112#| ^~~~~~~~~~~~~~~~~~~~~~~
113TOOLCHAIN_pn-caps = "gcc"
114
115CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions "
116
117#io_getevents.c:25:141: error: invalid use of a cast in a inline asm context requiring an l-value: remove the cast or build with -fheinous-gnu-extensions
118#io_syscall5(int, __io_getevents_0_4, io_getevents, io_context_t, ctx, long, min_nr, long, nr, struct io_event *, events, struct timespec *, timeout)
119CFLAGS_append_pn-libaio_toolchain-clang_mips = " -fheinous-gnu-extensions"
120
121#| error: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Werror,-Wunknown-warning-option]
122CFLAGS_append_pn-mdadm_toolchain-clang = " -Wno-error=unknown-warning-option"
123
124#../libffi-3.2.1/src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax?
125# fldmiadgt ip, {d0-d7}
126CFLAGS_append_pn-libffi_toolchain-clang = " -no-integrated-as"
127# ../db-5.3.28/src/mutex/mut_tas.c:150:34: error: unknown directive
128#<inline asm>:9:2: note: instantiated into assembly here
129# .force_thumb
130# ^
131CFLAGS_append_pn-db_toolchain-clang = " -no-integrated-as"
132#
133#| ../../../DirectFB-1.7.7/lib/direct/armasm_memcpy.S:63:2: error: invalid instruction
134#| ldmgeia r1!, {r3, r4, r12, lr}
135#| ^
136CFLAGS_append_pn-directfb_toolchain-clang_arm = " -no-integrated-as"
137
138# Disable internal assembler for armv7 since it uses gnu assmebly syntax
139# which should be preprocessed via gcc/compiler
140#
141CFLAGS_append_pn-openssl_toolchain-clang_armv7ve = " -no-integrated-as"
142CFLAGS_append_pn-openssl_toolchain-clang_armv7a = " -no-integrated-as"
143CFLAGS_append_pn-openssl10_toolchain-clang_armv7ve = " -no-integrated-as"
144CFLAGS_append_pn-openssl10_toolchain-clang_armv7a = " -no-integrated-as"
145CFLAGS_append_pn-userland_toolchain-clang = " -no-integrated-as"
146
147# src/libswscale/arm/rgb2yuv_neon_common.S:239:11: error: unexpected token in argument list
148# CO_RY .dn d0.s16[0]
149# ^
150CPPFLAGS_append_pn-gstreamer1.0-libav_toolchain-clang = " -no-integrated-as"
151
152#../kexec-tools-2.0.18/purgatory/arch/i386/entry32-16.S:23:2: error: unknown directive
153# .arch i386
154# ^
155CC_append_pn-kexec-tools_toolchain-clang_x86-64 = " -no-integrated-as"
156CC_append_pn-kexec-tools_toolchain-clang_x86 = " -no-integrated-as"
157CC_append_pn-kexec-tools-klibc_toolchain-clang_x86-64 = " -no-integrated-as"
158CC_append_pn-kexec-tools-klibc_toolchain-clang_x86 = " -no-integrated-as"
159
160#| /tmp/x86-sse2-cdb148.s:207:9: error: ambiguous operand size for instruction 'sub'
161#| sub SIZE, 64
162#| ^~~~
163CFLAGS_append_pn-tinymembench_toolchain-clang_x86-64 = " -no-integrated-as"
164CFLAGS_append_pn-tinymembench_toolchain-clang_x86 = " -no-integrated-as"
165
166# regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a
167# space between literal and identifier [-Wreserved-user-defined-literal]
168#| snprintf_func (buf, sizeof(buf), "%"Q"u", x);
169#| ^
170
171CXXFLAGS_append_pn-xdelta3_toolchain-clang = " -Wno-error=reserved-user-defined-literal"
172# -fno-tree-vrp is gcc specific
173CXXFLAGS_remove_pn-mozjs_toolchain-clang = "-fno-tree-vrp"
174CFLAGS_remove_pn-mozjs_toolchain-clang = "-fno-tree-vrp"
175
176#memcached.c:6280:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
177CPPFLAGS_append_pn-memcached_toolchain-clang = " -Wno-error=embedded-directive"
178
179#| /tmp/mcp2515-578c41.s: Assembler messages:
180#| /tmp/mcp2515-578c41.s:1525: Error: r13 not allowed here -- `sub.w sp,r1,#8'
181#| /tmp/mcp2515-578c41.s:1821: Error: r13 not allowed here -- `sub.w sp,r6,#8'
182#| clang-7: error: assembler command failed with exit code 1 (use -v to see invocation)
183TUNE_CCARGS_remove_pn-upm_toolchain-clang = "-no-integrated-as"
184TUNE_CCARGS_remove_pn-omxplayer_toolchain-clang = "-no-integrated-as"
185
186#| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4'
187#| clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
188LDFLAGS_append_pn-ruby_toolchain-clang = " -rtlib=compiler-rt"
189LDFLAGS_append_pn-m4_toolchain-clang = " -rtlib=compiler-rt"
190
191#(unwind.o): in function `__pthread_unwind':
192#/usr/src/debug/glibc/2.29-r0/git/nptl/unwind.c:121: undefined reference to `_Unwind_ForcedUnwind'
193#clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
194COMPILER_RT_pn-libc-bench_libc-glibc_toolchain-clang_arm = "--rtlib=libgcc"
195COMPILER_RT_pn-aufs-util_libc-glibc_toolchain-clang_arm = "--rtlib=libgcc"
196COMPILER_RT_pn-libhugetlbfs_libc-glibc_toolchain-clang_arm = "--rtlib=libgcc"