summaryrefslogtreecommitdiffstats
path: root/conf/nonclangable.conf
Commit message (Collapse)AuthorAgeFilesLines
* python3: Cant run profile binaries in qemu when built with clangKhem Raj2020-06-281-0/+5
| | | | | | mark it gcc only for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* apt: Disable c++11-narrowing and fortifyKhem Raj2020-06-091-0/+10
| | | | | | | | | apt 1.8.2+ does not compile with clang, clang is finding narrowing warnings and printf function is redefined in tests which confuses the function signatures from libc when fortify is enabled, its therefore disabled for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wpewebkit: Enable clangKhem Raj2020-05-031-3/+1
| | | | | | It can build with clang now a days Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2: Do not use internal asmKhem Raj2020-04-021-0/+6
| | | | | | it seems to not use unified syntax Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Do not Add -Wno-error=unused-command-line-argument globallyKhem Raj2020-03-161-3/+2
| | | | | | | This option can turn Valid options into warnings and cause unintended behaviour Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pipewire: Do no mis-detect SSE supportKhem Raj2020-03-151-0/+3
| | | | | | | | | meson logic in pipewire uses compiler cmdline to find if SSE is supported or not but if we use -Wno-error=unused-command-line-argument then the error is turned into warning and tests pass even on non-x86 machines which is not correct Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libde265: Do not use internal assembler on armKhem Raj2020-03-111-0/+1
| | | | | | .S files use GNU syntax which does not work with integrated asm Signed-off-by: Khem Raj <raj.khem@gmail.com>
* babeltrace2: Do not use clang for nowKhem Raj2020-03-091-0/+2
| | | | | | | | | | | | It causes bunch of textrels, which need to be fixed ERROR: babeltrace2-2.0.1-r0 do_package_qa: QA Issue: babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-minimal.so has relocations in .text babeltrace2-ptest: ELF binary /usr/lib/babeltrace2/ptest/tests/lib/test-plugin-plugins/plugin-sfs.so has relocations in .text [textrel] ERROR: babeltrace2-2.0.1-r0 do_package_qa: QA Issue: babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-ctf.so has relocations in .text babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-utils.so has relocations in .text babeltrace2: ELF binary /usr/lib/babeltrace2/plugins/babeltrace-plugin-text.so has relocations in .text [textrel] Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sqlite-orm: Use clang to compile with -g removedKhem Raj2020-03-061-2/+2
| | | | | | | This fixes the clang++ hang, this is also reported https://bugs.llvm.org/show_bug.cgi?id=45134 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hdf5: Enable clang on musl/x86_64 againKhem Raj2020-03-061-7/+0
| | | | | | clang10 works ok Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sqlite-orm: Use gcc as clang++ hangs forever during linkKhem Raj2020-02-211-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mpg123,libvorbis: Disbale fast-math to avoid libm linking errorsKhem Raj2020-02-211-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nss: Use clang for native compiler as wellKhem Raj2020-01-231-0/+5
| | | | | | | | Fixes | gcc: error: unrecognized command line option ‘-Qunused-arguments’ | make[2]: *** [../../coreconf/rules.mk:393: Linux3.4_arm_glibc_PTH_OPT.OBJ/nsinstall.o] Error 1 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Clang can compile it on mipsKhem Raj2020-01-151-2/+7
| | | | | | gobject-intospection and avahi do not yet prelink with clang/mips64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nfs-utils: Enable unknown-warnings as errorsKhem Raj2019-12-311-0/+2
| | | | | | | This helps configure scripts to detect right set of compiler specific options to enable Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cpio: Link with compiler-rt when using clangKhem Raj2019-12-151-0/+1
| | | | | | | | | Fixes /usr/src/debug/cpio/2.13-r0/build/gnu/../../cpio-2.13/gnu/xmalloc.c:100: undefined reference to `__mulodi4' clang-9: error: linker command failed with exit code 1 (use -v to see invocation) Makefile:1124: recipe for target 'rmt' failed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libexecinfo,openflow: Use gcc on mipsKhem Raj2019-12-141-0/+5
| | | | | | | Fails with error on clang error: return address can be determined only for current frame Signed-off-by: Khem Raj <raj.khem@gmail.com>
* hdf5: Use gcc on musl/x86_64Khem Raj2019-12-121-0/+8
| | | | | | clang crashes for some reason Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3,x64: Can be compiled with clang9Khem Raj2019-12-101-8/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libffi: Use gcc for armebKhem Raj2019-11-201-1/+6
| | | | | | libffi expects arv7+neon with clang in asm Signed-off-by: Khem Raj <raj.khem@gmail.com>
* m4,ruby,webkitgtk: Do not use compiler-rt explicitly on arrmeb/ppcKhem Raj2019-11-201-0/+5
| | | | | | | Needed for clang since it needs __mulodi4 but these arches do not build compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine: Link libatomic on x86/clang/gnu-runtimeKhem Raj2019-11-191-0/+1
| | | | | | | | | gcc uses intrinsics for atomic<double> but clang does not for x86 when using libstdc++ ./media/audio/pulse/pulse_input.cc uses this atomic variable Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gerbera: Always use llvm runtime with clangKhem Raj2019-11-181-0/+2
| | | | | | | | | | | It expects libc++ with clang Fixes | CMake Error at CMakeLists.txt:316 (message): | gerbera requires C++17 Optional to be available. Check your compiler is | >=GCC 7.1 or >=libc++ 5 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ruby: Drop linking with compiler-rt is not needed anymoreKhem Raj2019-11-181-1/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* webkitgtk: Use compiler-rt runtime when using clangKhem Raj2019-11-181-0/+1
| | | | | | | Fixes | /usr/src/debug/webkitgtk/2.26.2-r0/webkitgtk-2.26.2/Source/WTF/wtf/CheckedArithmetic.h:365: error: undefined reference to '__mulodi4' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* m4,ruby: Set COMPILER_RT instead of playing with LDFLAGSKhem Raj2019-11-181-2/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tinymembench: Disable internal assembler on mipsKhem Raj2019-11-181-0/+1
| | | | | | | | | Fixes mips-32.S:108:15: error: invalid reassignment of non-absolute variable 'DST' | .set DST, $a0 | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gstreamer1.0-libav: Use internal assemblerKhem Raj2019-10-081-5/+0
| | | | | | | This helps compiling on some arches e.g. aarch64 | /tmp/vp9_superframe_split_bsf-a989f9.s:701: Error: selected processor does not support `bfc w3,#24,#8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Use libgcc for libc-bench, aufs-util, libhugetlbfs, tsocksKhem Raj2019-10-081-0/+4
| | | | | | | | | They do static linking, and when linking with glibc it expects intrinsics from libgcc since we do not use clang to build glibc this is not an issue on musl since we use clang to build most of musl ports Signed-off-by: Khem Raj <raj.khem@gmail.com>
* chromium: Use libgcc for unwindingKhem Raj2019-10-011-5/+0
| | | | | | using llvm libunwind ends up in aborts Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Use llvm libunwind with perfKhem Raj2019-10-011-3/+0
| | | | | | No need to shun out llvm libunwind for perf Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perf: Use nongnu libunwind alwaysKhem Raj2019-09-281-0/+3
| | | | | | llvm is not tested yet with this package Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mongodb: Use gcc to compile it for nowKhem Raj2019-09-241-1/+2
| | | | | | | | | | | | | | | | | It doesn't seem to have needed c++17 features that mongodb needs src/mongo/stdx/new.h:53:12: error: no member named 'hardware_constructive_interference_size' in namespace 'std' using std::hardware_constructive_interference_size; ~~~~~^ src/mongo/stdx/new.h:54:12: error: no member named 'hardware_destructive_interference_size' in namespace 'std' using std::hardware_destructive_interference_size; ~~~~~^ clang build fails to link aarch64-yoe-linux-ld.gold: error: build/opt/mongo/s/mongos_options.o: multiple definition of 'mongo::error_details::isNamedCode<0>' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* chromium: Use libgcc unwinder on armKhem Raj2019-09-211-0/+6
| | | | | | It crashes with out this Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Do not set LIBCPLUSPLUS and COMPILER_RT when compiler != clangKhem Raj2019-09-181-3/+4
| | | | | | | | | | | | | * Add compiler-rt and libcxx only when these libs are used via cmdline * libffi still need to disable internal asm on arm <= v6 * Add compiler-rt to linker only when compiler-rt is used in compiler cmdline * Set BASE_DEFAULT_DEPS instead of munging BASEEDEPENDS directly Signed-off-by: Khem Raj <raj.khem@gmail.com>
* omxplayer: Mark gcc only for nowKhem Raj2019-09-121-0/+2
| | | | | | it needs some work to port to compile with clang++ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libc-bench,libhugetlbfs,tsocks: Link with libgcc on clang/x86Khem Raj2019-09-111-0/+7
| | | | | | | glibc links with libgcc and therefore expects libgcc symbols during static linking as well Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glibc-testsuite: Mark gcc only packageKhem Raj2019-09-111-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: Mark non-clangable on powerpcKhem Raj2019-09-091-0/+1
| | | | | | clang/ppc missing 64bit atomics Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Use gcc to compile m4 on ppcKhem Raj2019-09-091-0/+2
| | | | | | we do not have compiler-rt on ppc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Link harfbuzz with latomic on riscv64Khem Raj2019-08-201-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Mark mesa/lttng-ust/gnutls as gcc only for riscv64Khem Raj2019-08-201-0/+6
| | | | | | | clang/riscv64 is new and currently fails to build them linking with libatomic is needed for clang/riscv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Do not use internal assembler for ne10 on armKhem Raj2019-08-141-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Remove aspell from the listPiotr Tworek2019-08-131-1/+0
| | | | | | | The package was recently updated to version 0.60.7 which builds fine with both clang 8.x and 9.x. Signed-off-by: Piotr Tworek <tworaz@tworaz.net>
* db,libffi,opnenssl: Use internal assemblerKhem Raj2019-08-121-6/+3
| | | | | | delete settings for openssl10, the recipe is gone from core layer Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openssl10: Disable internal llvm assembler for riscvKhem Raj2019-08-121-0/+2
| | | | | | | Fails to compile certain opcodes | /tmp/heap-175496.s:5016: Error: illegal operands `auipc a4,%got_pcrel_hi(__heap_pg_alloc_desc)' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opensbi: Mark nonclangableKhem Raj2019-08-121-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Add u-boot to listKhem Raj2019-08-121-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* polkit: Mark non clangableKhem Raj2019-07-111-0/+5
| | | | | | | with latest mozjs 60.x it does not compile with clang its fixable but mark it gcc only in the mean term Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Disable internal assembler for openssl and libjpeg-turbo on mipsKhem Raj2019-05-261-0/+11
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>