summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* chromium,gn-native: Remove dependency on native libc++Khem Raj2021-08-131-2/+2
| | | | | | | native versions of libcxx and compiler-rt are only available in honister and newer 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>
* 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>
* clang: Provide llvm/llvm-nativeKhem Raj2019-11-141-0/+3
| | | | | | | | | | | | | | | | | | | When using meta-clang, it makes sense to use llvm provided by clang recipe, this ensures that we do not build llvm from oe-core but instead offer the one from clang recipe enable rtti and eh for native/nativesdk clang, this is needed for mesa to build Let clang PROVIDE llvm Build AMDGNU and other targets, this is needed for llvm-config to work properly, since we use llvm-config from clang-native, so its better to build the targets that are built for clang-native atleast create version specific symlinks for tblgen anf llvm-config Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Drop release older than zeus from compatiblityKhem Raj2019-11-131-1/+1
| | | | 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>
* layer.conf: Fix bbpath for browser-layerKhem Raj2019-10-011-2/+2
| | | | 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>
* clang: Add variable CLANGSDK to control including clang in SDKKhem Raj2019-09-251-0/+3
| | | | | | | | | | | | | | CLANGSDK ?= "1" is default which means clang will be included into SDK if one is using clang only for full build and dont intend to distribute it as cross compiler SDK then set CLANGSDK = "" in local.conf or in another config metadata file 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>
* layer.conf: Add zeus to known compatible layersKhem Raj2019-09-231-1/+1
| | | | | | Upcoming 3.0 is code named zeus Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layers: Add meta-browser to dynamic layersKhem Raj2019-09-231-0/+2
| | | | | | | | | | meta-browser/master builds with multiple releases of meta-clang(thud,warrior,master) but sometimes we only need tweaks for a given clang version, this helps doing so Enable lld as default linker 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>