blob: 215bd1ccead59da23b3b9e3c14784b9307ec6775 [file] [log] [blame]
TOOLCHAIN_pn-aspell = "gcc"
TOOLCHAIN_pn-cpufrequtils = "gcc"
# crash embeds version of gdb which is not buildable with clang
TOOLCHAIN_pn-crash = "gcc"
TOOLCHAIN_pn-elfutils = "gcc"
# /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'
# __ai uint8x16_t vabdq_u8(uint8x16_t __p0, uint8x16_t __p1) {
TOOLCHAIN_pn-firefox = "gcc"
TOOLCHAIN_pn-gcc = "gcc"
TOOLCHAIN_pn-gcc-runtime = "gcc"
TOOLCHAIN_pn-gcc-sanitizers = "gcc"
TOOLCHAIN_pn-glibc = "gcc"
TOOLCHAIN_pn-glibc-initial = "gcc"
TOOLCHAIN_pn-glibc-locale = "gcc"
TOOLCHAIN_pn-glibc-mtrace = "gcc"
TOOLCHAIN_pn-glibc-scripts = "gcc"
TOOLCHAIN_pn-grub = "gcc"
TOOLCHAIN_pn-grub-efi = "gcc"
# VLAs
#| control.c:286:19: error: fields must have a constant size: 'variable length array in structure' extension will never be supported
#| __u32 buffer[cam->max_response_quads];
#| ^
#| 1 error generated.
TOOLCHAIN_pn-libdc1394 = "gcc"
TOOLCHAIN_pn-libgcc = "gcc"
TOOLCHAIN_pn-libgcc-initial = "gcc"
TOOLCHAIN_pn-libgfortran = "gcc"
TOOLCHAIN_pn-libssp-nonshared = "gcc"
#| cargo:warning=/mnt/a/yoe/build/tmp/work/cortexa7t2hf-neon-vfpv4-yoe-linux-gnueabi/libstd-rs/1.27.1-r0/re
#cipe-sysroot/usr/include/bits/stdlib.h:90:3: error: "Assumed value of MB_LEN_MAX wrong"
#| cargo:warning=# error "Assumed value of MB_LEN_MAX wrong"
#| cargo:warning= ^
TOOLCHAIN_pn-libstd-rs = "gcc"
# clang does not have 64bit atomics on mips32
TOOLCHAIN_pn-mesa_mips = "gcc"
TOOLCHAIN_pn-mesa_mipsel = "gcc"
TOOLCHAIN_pn-openjdk-8 = "gcc"
TOOLCHAIN_pn-openjre-8 = "gcc"
TOOLCHAIN_pn-piglit = "gcc"
TOOLCHAIN_pn-prelink = "gcc"
# has dpkg source which does not compile
TOOLCHAIN_pn-start-stop-daemon = "gcc"
TOOLCHAIN_pn-syslinux = "gcc"
TOOLCHAIN_pn-systemtap = "gcc"
# v4l-utils uses nested functions
TOOLCHAIN_pn-v4l-utils = "gcc"
TOOLCHAIN_pn-valgrind = "gcc"
# uses C++ which clang does not like
TOOLCHAIN_pn-wvstreams = "gcc"
TOOLCHAIN_pn-wvdial = "gcc"
#| ../../mpfr-3.1.4/src/mul.c:324:11: error: invalid output constraint '=h' in asm
#| umul_ppmm (tmp[1], tmp[0], MPFR_MANT (b)[0], MPFR_MANT (c)[0]);
TOOLCHAIN_pn-mpfr_mips = "gcc"
TOOLCHAIN_pn-mpfr_mips64 = "gcc"
#
#../../lib/libicui18n.so: undefined reference to `__atomic_fetch_sub_4'
#../../lib/libicui18n.so: undefined reference to `__atomic_load_4'
#../../lib/libicui18n.so: undefined reference to `__atomic_store_4'
#../../lib/libicui18n.so: undefined reference to `__atomic_fetch_add_4'
#
TOOLCHAIN_pn-icu_armv4 = "gcc"
TOOLCHAIN_pn-icu_armv5 = "gcc"
#../../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
TOOLCHAIN_pn-libgcrypt_mips64 = "gcc"
#| ../../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
#| randdata.vb |= (t.vb >= const_C0#);
#| ^
# also see http://lists.llvm.org/pipermail/llvm-dev/2016-October/105997.html
TOOLCHAIN_pn-pixman = "gcc"
#| ./ports/linux/pseudo_wrappers.c:80:14: error: use of unknown builtin '__builtin_apply' [-Wimplicit-function-declaration]
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
#| ^
#| ./ports/linux/pseudo_wrappers.c:80:57: error: use of unknown builtin '__builtin_apply_args' [-Wimplicit-function-declaration]
#| void *res = __builtin_apply((void (*)()) real_syscall, __builtin_apply_args(), sizeof(long) * 7);
TOOLCHAIN_pn-pseudo = "gcc"
#| ../../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
#| : "memory", "cc", "q0" /* clobber list */
#| ^
TOOLCHAIN_pn-pulseaudio_aarch64 = "gcc"
# mix_neon.c:179:9: error: invalid operand in inline asm: 'vld1.s32 ${0:h}, [$2]
# vld1.s32 ${1:h}, [$3] '
TOOLCHAIN_pn-pulseaudio_armv7ve = "gcc"
TOOLCHAIN_pn-pulseaudio_armv7a = "gcc"
# clang++ 6.0 crashes during link phase of a shared library
TOOLCHAIN_pn-wpewebkit = "gcc"
# x264 causes a infinite loop when compiling 1 source file
#
TOOLCHAIN_pn-x264_x86 = "gcc"
#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:191: undefined reference to `__atomic_fetch_or_4'
#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:210: undefined reference to `__atomic_fetch_or_4'
#| libqemuutil.a(bitmap.o): In function `bitmap_test_and_clear_atomic':
#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:250: undefined reference to `__atomic_fetch_and_4'
#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:262: undefined reference to `__atomic_exchange_4'
#| /usr/src/debug/qemu/2.6.0-r1/qemu-2.6.0/util/bitmap.c:273: undefined reference to `__atomic_fetch_and_4'
# We need to link in with -latomic which comes from gcc-runtime anyway so just keep using gcc
# to compile qemu for target
TOOLCHAIN_pn-qemu_arm = "gcc"
# llvm-profdata fails see
# | error: Could not read profile code.profd: No such file or directory
TOOLCHAIN_pn-python3 = "gcc"
#| ./dsp/v4f_IIR2.h:554:12: error: no matching function for call to 'v4f_map'
#| a[5] = v4f_map<__builtin_cosf> (f);
#| ^~~~~~~~~~~~~~~~~~~~~~~
TOOLCHAIN_pn-caps = "gcc"
CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions "
#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
#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)
CFLAGS_append_pn-libaio_toolchain-clang_mips = " -fheinous-gnu-extensions"
#| error: unknown warning option '-Wimplicit-fallthrough=0'; did you mean '-Wimplicit-fallthrough'? [-Werror,-Wunknown-warning-option]
CFLAGS_append_pn-mdadm_toolchain-clang = " -Wno-error=unknown-warning-option"
#../libffi-3.2.1/src/arm/sysv.S:363:2: error: invalid instruction, did you mean: fldmiax?
# fldmiadgt ip, {d0-d7}
CFLAGS_append_pn-libffi_toolchain-clang = " -no-integrated-as"
# ../db-5.3.28/src/mutex/mut_tas.c:150:34: error: unknown directive
#<inline asm>:9:2: note: instantiated into assembly here
# .force_thumb
# ^
CFLAGS_append_pn-db_toolchain-clang = " -no-integrated-as"
#
#| ../../../DirectFB-1.7.7/lib/direct/armasm_memcpy.S:63:2: error: invalid instruction
#| ldmgeia r1!, {r3, r4, r12, lr}
#| ^
CFLAGS_append_pn-directfb_toolchain-clang_arm = " -no-integrated-as"
# Disable internal assembler for armv7 since it uses gnu assmebly syntax
# which should be preprocessed via gcc/compiler
#
CFLAGS_append_pn-openssl_toolchain-clang_armv7ve = " -no-integrated-as"
CFLAGS_append_pn-openssl_toolchain-clang_armv7a = " -no-integrated-as"
CFLAGS_append_pn-openssl10_toolchain-clang_armv7ve = " -no-integrated-as"
CFLAGS_append_pn-openssl10_toolchain-clang_armv7a = " -no-integrated-as"
CFLAGS_append_pn-userland_toolchain-clang = " -no-integrated-as"
# src/libswscale/arm/rgb2yuv_neon_common.S:239:11: error: unexpected token in argument list
# CO_RY .dn d0.s16[0]
# ^
CPPFLAGS_append_pn-gstreamer1.0-libav_toolchain-clang = " -no-integrated-as"
#../kexec-tools-2.0.18/purgatory/arch/i386/entry32-16.S:23:2: error: unknown directive
# .arch i386
# ^
CC_append_pn-kexec-tools_toolchain-clang_x86-64 = " -no-integrated-as"
CC_append_pn-kexec-tools_toolchain-clang_x86 = " -no-integrated-as"
CC_append_pn-kexec-tools-klibc_toolchain-clang_x86-64 = " -no-integrated-as"
CC_append_pn-kexec-tools-klibc_toolchain-clang_x86 = " -no-integrated-as"
#| /tmp/x86-sse2-cdb148.s:207:9: error: ambiguous operand size for instruction 'sub'
#| sub SIZE, 64
#| ^~~~
CFLAGS_append_pn-tinymembench_toolchain-clang_x86-64 = " -no-integrated-as"
CFLAGS_append_pn-tinymembench_toolchain-clang_x86 = " -no-integrated-as"
# regtest.cc:374:39: error: invalid suffix on literal; C++11 requires a
# space between literal and identifier [-Wreserved-user-defined-literal]
#| snprintf_func (buf, sizeof(buf), "%"Q"u", x);
#| ^
CXXFLAGS_append_pn-xdelta3_toolchain-clang = " -Wno-error=reserved-user-defined-literal"
# -fno-tree-vrp is gcc specific
CXXFLAGS_remove_pn-mozjs_toolchain-clang = "-fno-tree-vrp"
CFLAGS_remove_pn-mozjs_toolchain-clang = "-fno-tree-vrp"
#memcached.c:6280:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
CPPFLAGS_append_pn-memcached_toolchain-clang = " -Wno-error=embedded-directive"
#| /tmp/mcp2515-578c41.s: Assembler messages:
#| /tmp/mcp2515-578c41.s:1525: Error: r13 not allowed here -- `sub.w sp,r1,#8'
#| /tmp/mcp2515-578c41.s:1821: Error: r13 not allowed here -- `sub.w sp,r6,#8'
#| clang-7: error: assembler command failed with exit code 1 (use -v to see invocation)
TUNE_CCARGS_remove_pn-upm_toolchain-clang = "-no-integrated-as"
TUNE_CCARGS_remove_pn-omxplayer_toolchain-clang = "-no-integrated-as"
#| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4'
#| clang-7: error: linker command failed with exit code 1 (use -v to see invocation)
LDFLAGS_append_pn-ruby_toolchain-clang = " -rtlib=compiler-rt"
LDFLAGS_append_pn-m4_toolchain-clang = " -rtlib=compiler-rt"
#(unwind.o): in function `__pthread_unwind':
#/usr/src/debug/glibc/2.29-r0/git/nptl/unwind.c:121: undefined reference to `_Unwind_ForcedUnwind'
#clang-8: error: linker command failed with exit code 1 (use -v to see invocation)
COMPILER_RT_pn-libc-bench_libc-glibc_toolchain-clang_arm = "--rtlib=libgcc"
COMPILER_RT_pn-aufs-util_libc-glibc_toolchain-clang_arm = "--rtlib=libgcc"
COMPILER_RT_pn-libhugetlbfs_libc-glibc_toolchain-clang_arm = "--rtlib=libgcc"