From 115c137362f98f3100f600e16dfdfdebe204f3da Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 10 Dec 2018 14:57:31 -0800 Subject: nonclangable: more packages are now buildable with clang 7.0 Re-order the list Signed-off-by: Khem Raj --- conf/nonclangable.conf | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 883e34d..7121a44 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf @@ -3,7 +3,8 @@ TOOLCHAIN_pn-cpufrequtils = "gcc" # crash embeds version of gdb which is not buildable with clang TOOLCHAIN_pn-crash = "gcc" TOOLCHAIN_pn-elfutils = "gcc" -# clang segfaults on firefox see https://bugs.llvm.org/show_bug.cgi?id=34170 +# /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" @@ -15,7 +16,6 @@ TOOLCHAIN_pn-glibc-mtrace = "gcc" TOOLCHAIN_pn-glibc-scripts = "gcc" TOOLCHAIN_pn-grub = "gcc" TOOLCHAIN_pn-grub-efi = "gcc" -TOOLCHAIN_pn-gummiboot = "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]; @@ -26,10 +26,14 @@ 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-mozjs = "gcc" TOOLCHAIN_pn-openjdk-8 = "gcc" TOOLCHAIN_pn-openjre-8 = "gcc" TOOLCHAIN_pn-piglit = "gcc" @@ -44,13 +48,6 @@ TOOLCHAIN_pn-valgrind = "gcc" # uses C++ which clang does not like TOOLCHAIN_pn-wvstreams = "gcc" TOOLCHAIN_pn-wvdial = "gcc" -# qemu-user does not execute the applications built with clang correctly on armv7 -TOOLCHAIN_pn-gobject-introspection_armv7ve = "gcc" -TOOLCHAIN_pn-gobject-introspection_armv7a = "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" #| ../../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" @@ -84,6 +81,10 @@ TOOLCHAIN_pn-pseudo = "gcc" #| : "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" @@ -113,17 +114,6 @@ TOOLCHAIN_pn-caps = "gcc" CFLAGS_append_pn-liboil_toolchain-clang_x86-64 = " -fheinous-gnu-extensions " -#| ./.libs/libsqlite3.so: undefined reference to `__mulodi4' -#| clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation) -#| make: *** [Makefile:509: sqlite3] Error 1 -CFLAGS_append_pn-sqlite3_toolchain-clang = " -DSQLITE_DISABLE_INTRINSIC " - -#| configure: error: something wrong with CFLAGS -# Due to -pie (ldflag) being passed to compiler clang warns -# ruby configure does not like that -SECURITY_CFLAGS_remove_pn-ruby_toolchain-clang = "-pie" -SECURITY_LDLAGS_append_pn-ruby_toolchain-clang = " -Wl,-pie" - #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" @@ -158,6 +148,5 @@ 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" -- cgit v1.2.3-54-g00ecf