summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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>
* | clang: Update to 12.0.0 RC2Khem Raj2021-03-011-1/+1
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | layer.conf: remove bcc and bpftrace from NON_MULTILIB_RECIPESKai Kang2021-02-051-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because bcc and bpftrace have been set in NON_MULTILIB_RECIPES, 'bcc' rprovides 'lib32-bcc'. So when multilib is enabled, it is 'bcc' rather than 'lib32-bcc' installed to lib32 image such as lib32-core-image-minimal. Then the runtime dependency 64-bit package python3-core is installed accordingly. It causes 32-bit python modules which contains .so library do not work any more. For example, it fails to run command 'dnf': | ImportError: /usr/lib/python3.9/site-packages/libdnf/_error.so: wrong ELF class: ELFCLASS32 Remove bcc and bpftrace from NON_MULTILIB_RECIPES to make sure they are not installed to lib32 images and mess images up. Signed-off-by: Kai Kang <kai.kang@windriver.com>
* | clang/llvm: Upgrade to 11.1.0-rc2Khem Raj2021-01-261-1/+1
| | | | | | | | 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>
* | clang: Update to latest on release/11.x branchKhem Raj2020-11-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The minor release is bumped to 11.0.1 Changes is this bump are * 0874e7ef66c Allow init_priority values <= 100 and > 65535 within system headers. * 02004c9e7c9 [ADT] Fix for ImmutableMapRef * 85ce339f1bd [cmake] Fix build of attribute plugin example on Windows * ef4ffcafbb2 [DAE] MarkLive in MarkValue(MaybeLive) if any use is live * 3c687677678 DeferredDiagnosticsEmitter crashes * 701addff1b7 [clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast * 5ad2592b5dc [X86] Fix cpu name typos * 8fc424f26bf Add release tarballs for libclc * 83716db47f9 [ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added before a SHF_LINK_ORDER orphan * 1ff84a04aeb BPF: fix incorrect DAG2DAG load optimization * 38399ced95b [ConstantFold] Make areGlobalsPotentiallyEqual less aggressive. * b59b6b662bb Import github action definitions from release/10.x branch * 3039965645c Bump version to 11.0.1 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>
* | layer.conf: Add hardknott to supported releasesKhem Raj2020-11-131-1/+1
| | | | | | | | 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>
* | layer.conf: Drop zeus and dunfell from LAYERSERIES_COMPATKhem Raj2020-08-271-1/+1
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | layer: Add 3.2 (gatesgarth) to LAYERSERIES_COMPATKhem Raj2020-08-271-1/+1
| | | | | | | | 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>
* | clang: Update to 11.x release branchKhem Raj2020-08-211-1/+1
|/ | | | 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>
* clang: Update to 10.0.1-rc1Khem Raj2020-05-261-1/+1
| | | | | | | | Update version number accordingly Signed-off-by: Khem Raj <raj.khem@gmail.com> s
* 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>
* layer.conf: Add bpftrace to non-multilib listHe Zhe2020-04-281-1/+1
| | | | | | | bpftrace is only compatible with x86_64, aarch64 and powerpc64. So it's not able to built as 32 bit binary. Signed-off-by: He Zhe <zhe.he@windriver.com>
* layer.conf: Add bcc to non-multilib listHe Zhe2020-04-271-0/+2
| | | | | | | bcc is only compatible with x86_64, aarch64 and powerpc64. So it's not able to built as 32 bit binary. Signed-off-by: He Zhe <zhe.he@windriver.com>
* layer.conf: Mark CLANGSDK 0 by defaultKhem Raj2020-04-031-2/+2
| | | | | | | | This ensures that clangsdk does not inserts itself unless user asks for Fixes #234 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>
* layer.conf: Mark it dunfell (3.1) compatibleKhem Raj2020-03-241-1/+1
| | | | 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>
* clang: Upgrade clang to 10.x release (RC2)Khem Raj2020-02-211-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Add LAYERDEPENDSJan-Simon Möller2020-02-171-0/+1
| | | Add LAYERDEPENDS to core as per README.md .
* 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>
* layer.conf: Define LLVMVERSION in terms of clang versionKhem Raj2019-11-231-0/+2
| | | | 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>