summaryrefslogtreecommitdiffstats
path: root/conf/nonclangable.conf
Commit message (Collapse)AuthorAgeFilesLines
* nonclangable: Remove no-integrated-as workarounds for opensslBernhard Rosenkränzer2021-07-141-11/+0
| | | | | | The problem is fixed and the workaround actually breaks things Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* valgrind: Allow building with clangBernhard Rosenkränzer2021-07-141-1/+0
| | | | | | | | Allow building valgrind with clang -- merge a patch from the Android NDK to fix the valgrind+clang aarch64 combo Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* nonclangable.conf: Remove workaround for a clang bug that has been fixedBernhard Rosenkränzer2021-07-141-3/+0
| | | | Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* Allow building cpufrequtils with clangBernhard Rosenkränzer2021-07-141-5/+0
| | | | | | | Make sure invalid assembly code isn't included even in unreachable code; remove TOOLCHAIN=gcc workaround. Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* Allow building ppp with clangBernhard Rosenkränzer2021-07-141-4/+0
| | | | | | | ppp's use of nested functions and gcc specific flags has been fixed. The workaround is no longer necessary. Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* Allow mongodb to be built with clangBernhard Rosenkränzer2021-07-141-2/+0
| | | | | | | Building it with gcc was a workaround for a bug that has been fixed a long time ago. The workaround is no longer necessary. Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* libffi: Allow building with clang integrated-asBernhard Rosenkränzer2021-07-141-5/+0
| | | | | | | The problem preventing this from succeeding earlier has already been fixed in libffi. There's no reason to keep the workaround. Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* Document why cpufrequtils isn't built with clangBernhard Rosenkränzer2021-07-141-0/+4
| | | | Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* clang: Allow building babeltrace2 with clangBernhard Rosenkränzer2021-07-141-2/+0
| | | | | | | babeltrace2 failed to build with clang because of a bug in babeltrace. Fixing babeltrace is a better fix than forcing it to build with gcc. Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* clang: Fix pixman on 32-bit armBernhard Rosenkränzer2021-07-141-5/+5
| | | | | | Pixman needs workarounds for clang on 32-bit ARM Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* Drop unnecessary TOOLCHAIN-*="gcc" workaroundsBernhard Rosenkränzer2021-07-141-5/+8
| | | | Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* Build u-boot-seco-imx with gccBernhard Rosenkränzer2021-07-141-0/+1
| | | | | | | | | Makefiles in u-boot-seco-imx hardcode gcc use - make sure the requested compiler is available even with TOOLCHAIN="clang" Fixes https://git.ostc-eu.org/OSTC/OHOS/meta-clang/-/issues/2 Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* Fix Avenger96 build with TOOLCHAIN="clang"Bernhard Rosenkränzer2021-07-141-0/+5
| | | | | | | | | The problem is Makefiles in u-boot and trusted-firmware hardcoding compiler calls. This should be fixed at some point; until then, use the gcc toolchain for these components. Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
* replace --rtlib with -rtlibKhem Raj2021-05-191-26/+26
| | | | | | This is advertised option from clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openssh: Link with compiler-rt when using clangKhem Raj2021-04-231-0/+1
| | | | | | | | clang -ftrapv, needs compiler-rt [1] [1] https://github.com/openssh/openssh-portable/blob/master/INSTALL#L7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* iwd,ell: Mark gcc onlyKhem Raj2021-04-081-0/+6
| | | | | | They have started using nested functions lately. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nettle: Disable internal asm on ppc64Khem Raj2021-03-011-0/+7
| | | | | | | generated asm files use .0: label which is not understood with internal asm, gnu as does fine job Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu: Link with latomic on clang/x86Khem Raj2021-01-091-0/+1
| | | | | | | clang delegates atomics to runtime library instead of builtins so link in libatomic on x86/gnu Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ppp: Mark non-clangableKhem Raj2021-01-091-0/+4
| | | | | | | New version of ppp uses gcc specific options and nested functions which clang does not support Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pulseaudio: Remove -Qunused-arguments with clangKhem Raj2020-12-231-2/+2
| | | | | | | | -Qunused-arguments means its silencing warning about compiling arm/neon check code on x86 and tricking the build system to assume that compiler can support neon on x86 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Mark non-clangable as of nowKhem Raj2020-12-141-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* luajit: Add -no-integrated-asKhem Raj2020-12-141-0/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: link python3-numpy with python3-numpyKhem Raj2020-11-181-0/+1
| | | | | | | This helps in addressing an issue where clang is used and it expects symbols in builtins library which are only provided by compiler-rt Signed-off-by: Khem Raj <raj.khem@gmail.com>
* lto: Disable LTO for cairo and libidn2 with clangKhem Raj2020-11-131-0/+8
| | | | | | There are compile/link time errors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Use compiler-rt on riscv32 when using clangKhem Raj2020-11-131-0/+4
| | | | | | | | clang emits __lshrti3 expecting it from builtins library but libgcc does not have it, since we have compiler-rt support it because its compiled with -fforce-enable-int128 so link with it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* tesseract: Remove -Qunused-arguments from CFLAGSKhem Raj2020-10-201-0/+1
| | | | | | | | | | | This helps configure checks for sse where clang sends out a unused option warning but because we use -Qunused-arguments, this warning is suppressed and -Werror does not notice this warning and checks succeed for no reason on architectures who dont have SSE. Therefore removing this option helps compiler to emit the warning and rightly detect that these options can not be enabled for non-x86 architectures Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libffi: Do not use internal assembler on mips64Khem Raj2020-09-101-0/+1
| | | | | | | It uses GNU asm which clang's internal assembler gets confused with and can not interpret .eh_frame section permissions and type Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gerbera: Dont force libc++ when using clangKhem Raj2020-08-211-2/+0
| | | | | | | It mixes libstdc++ and libc++ and results in libspdlog.a(spdlog.cpp.o): undefined reference to symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc@@GLIBCXX_3.4.21' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>