summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* clang.bbclass: Do not add lld-native to forced clang depsKhem Raj2018-12-271-1/+1
| | | | | | lld is being folded into clang recipe itself Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Switch to using own internal assemblerKhem Raj2018-12-271-1/+1
| | | | | | | | There still are some recipes which do not build with internal assembler, due to GNU'isms or other bugs in inline assembly, but its small enough number to fix or pin to external assembler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Disable integrated assembler for openssl and rpi userland on armKhem Raj2018-12-261-0/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Update clang/llvm to latest 7.0Khem Raj2018-12-261-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes-devtools/clang: Drop virtual/libc-for-gccAníbal Limón2018-12-262-2/+2
| | | | | | | | No longer required see, http://git.openembedded.org/openembedded-core/commit/?id=122217b421f749b5fef52bea44ad6e04bc8f8d3a Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
* nonclangable: more packages are now buildable with clang 7.0Khem Raj2018-12-121-22/+11
| | | | | | Re-order the list Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perf: Do not pin toolchain to gccKhem Raj2018-12-092-2/+1
| | | | | | Correct the dependency for clang-cross Signed-off-by: Khem Raj <raj.khem@gmail.com>
* busybox: Do not build in thumb2 mode.Khem Raj2018-12-091-0/+1
| | | | | | | There is a bug in busybox which is found by clang, we need to fix busybox but until them just dont use thumb2 ISA for busybox Signed-off-by: Khem Raj <raj.khem@gmail.com>
* systemd: Drop systemd bbappendKhem Raj2018-12-091-4/+0
| | | | | | Not needed after meson migration Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-cross: symlink cross versions of lto toolsKhem Raj2018-12-091-1/+6
| | | | | | | | | | llvm-ar llvm-ranlib and llvm-nm are often used during LTO if enabled. These tools are currently not being found and some build systems e.g. cmake disables them which then affects -flto with clang. Enabling cross versions of them makes sure they get detected properly during cross compile Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Default to ssp and pie codegen when GCCPIE is setKhem Raj2018-12-092-1/+285
| | | | | | | | | This ensures that clang generates PIE+SSP code by default, this makes sure that packages which do not make this distinction compile properly as passing -fPIE and -pie could be not working well for their build systems Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rng-tools: Drop bbappendKhem Raj2018-12-092-53/+0
| | | | | | | | | The issue with VLAIS has been addressed upstream now see https://github.com/nhorman/rng-tools/commit/3e40e6362979bdfb25e335cda20ef75f47183711 and OE-Core has moved to 6.6 now which has this fix Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update to clang 7.0.1Khem Raj2018-12-091-7/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Add thud supportKhem Raj2018-09-251-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Mark mozjs nonclangableKhem Raj2018-09-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | We still see issues cross compiling it for x86_64 | /mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/mozjs/52.8.1-r0/build/config/ ../../recipe-sysroot-native/usr/bin/x86_64-bec-linux-musl/x86_64-bec-linux-musl- ld: warning: library search path "/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1" is u nsafe for cross-compilation | /mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/mozjs/52.8.1-r0/build/config/ ../../recipe-sysroot-native/usr/bin/x86_64-bec-linux-musl/x86_64-bec-linux-musl- ld: warning: library search path "/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../.. /../../lib64" is unsafe for cross-compilation | /mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/mozjs/52.8.1-r0/build/config/ ../../recipe-sysroot-native/usr/bin/x86_64-bec-linux-musl/x86_64-bec-linux-musl- ld: warning: library search path "/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../.. /.." is unsafe for cross-compilation | cp nsinstall_real nsinstall.tmp | mv nsinstall.tmp nsinstall | ../config/nsinstall -R -m 755 'nsinstall' '../dist/bin' | make[3]: ../config/nsinstall: Command not found Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Several packages are now buildable with clang 7.0Khem Raj2018-09-141-40/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm,lld: Update to latest on release_70Khem Raj2018-09-131-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Mark omxplayer to use internal assemblerKhem Raj2018-09-131-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ruby,m4: Link with compiler-rtKhem Raj2018-09-123-22/+9
| | | | | | | | | | Fixes issues like undefined reference to `__mulodi4' see https://bugs.llvm.org/show_bug.cgi?id=28629 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libvorbis: Remove -mfused-madd for clangKhem Raj2018-09-121-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kernel-selftest: Add dependency on clang nativeKhem Raj2018-09-121-0/+1
| | | | | | kernel 4.18+ we need clang to build bpf tests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Mark caps as non clangableKhem Raj2018-09-121-0/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang/lld: Update to 7.0.0-rc3Khem Raj2018-09-101-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "compiler-rt: Use pre-computed size of struct ustat for Linux"Khem Raj2018-09-092-65/+0
| | | | This reverts commit 9a0bd29eac2be5f88e3e198929181d3591dd7ec7.
* lld: Do not use libcxx for native and nativesdk variantsKhem Raj2018-09-091-2/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upm: Dont use -no-integrated-asKhem Raj2018-09-091-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* build native lld along with cross clangKhem Raj2018-09-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Disable generating libcxx.so as script for native and nativesdk caseKhem Raj2018-09-091-1/+3
| | | | | | | | This confuses the libcxx build system and it tries to edit rpaths in .so files and fails miserably on libcxx.so if it is a linker script Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-core-standalone-sdk-target: Make clang runtime as RRECOMMENDSKhem Raj2018-09-091-1/+1
| | | | | | | As suggested in Issue #23 this will make sure we can override it with BAD_RECOMMENDATIONS Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup: Consider the fact that clang is not there for riscv64 yetKhem Raj2018-09-092-3/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Mark incompatible for riscv64Khem Raj2018-09-091-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* perf.bbappend: Add clang-cross dep only when using clang as default compilerKhem Raj2018-09-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* disable linunwind for risv64Khem Raj2018-09-091-0/+1
| | | | | | RISC-V support in clang is missing for now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* disable -Wembedded-directive for memcachedKhem Raj2018-09-091-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xdelta3 is compiled with -Wno-error=reserved-user-defined-literalKhem Raj2018-09-091-0/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3: Mark non clangable, since it can't buildKhem Raj2018-09-091-0/+4
| | | | | | Needs some work to get FDO working Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Disable asm on x86/64 with clangKhem Raj2018-09-091-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Disable llvm libunwind on ppcKhem Raj2018-09-091-1/+2
| | | | | | | | It fails to build libunwind/src/UnwindRegistersSave.S:561: Error: unrecognized opcode: `extern' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Create lib/linux only if there is content to move to itKhem Raj2018-09-091-3/+4
| | | | | | | Fixes builds where there are no files inside ${D}${libdir}/linux but the empty dir is still created Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Provide <prefix>-llvm-profdate in cross crosssdk and cross-canadian clangKhem Raj2018-09-093-3/+6
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Package /usr/share into dev packageKhem Raj2018-09-091-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Upgrade to clang 7.0.0 Release (rc2)Khem Raj2018-09-0924-193/+207
| | | | | | | | | | | | | | | | | - Update compiler-rt/llvm/clang/lld licence checksums Triggerred due to copyright year update to 2018 Add libunwind and libcxxabi license to checksum list too - Switch to https protocol for fetching from github - Fix _finite functions on musl - Package new .so files built with clang - package libLLVM-${MAJOR_VER}.so as well since llvm-7 generates it without MINOR_VERSION Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt: Use pre-computed size of struct ustat for LinuxHongxu Jia2018-09-092-0/+65
| | | | | | | | | | | | | | | <sys/ustat.h> has been removed from glibc 2.28 by: commit cf2478d53ad7071e84c724a986b56fe17f4f4ca7 author: Adhemerval Zanella <adhemerval.zanella@linaro.org> Date: Sun Mar 18 11:28:59 2018 +0800 Deprecate ustat syscall interface This patch uses pre-computed size of struct ustat for Linux to fix https://bugs.llvm.org/show_bug.cgi?id=37418 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
* libcxx: Add libunwind to PACKAGECONFIGMichael Davis2018-07-101-16/+16
| | | | | | | Allow libunwind to be turned off and on using PACKAGECONFIG Default to ON Signed-off-by: Michael Davis <michael.davis@essvote.com>
* packagegroup-core-standalone-sdk-target: Include libcxx and compiler-rt even ↵Khem Raj2018-07-081-1/+1
| | | | | | | | when clang is not default compiler Fixes issue #63 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang/compiler-rt/libcxx: Update to latest release_60 branchKhem Raj2018-07-061-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix sigsegv of llvm-config on the targetRicardo Ribalda Delgado2018-05-301-0/+3
| | | | | | | llvm-config is, by default, broken by the SSTATE_SCAN_CMD. This patch removes llvm-config from SSTATE_SCAN_FILES. Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
* clang: Add package config for shared-libsMichael Davis2018-05-291-3/+4
| | | | | | Allow shared or static libs to be selected by package config. Default to shared. Signed-off-by: Michael Davis <michael.davis@essvote.com>
* systemd-boot: Adjust for meson build systemKhem Raj2018-05-281-1/+1
| | | | | | | systemd has now switched to using meson as primary build system in OE Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix driver segfault with very long commandlineKhem Raj2018-05-202-0/+57
| | | | | | This is triggerred with webkit linking commands Signed-off-by: Khem Raj <raj.khem@gmail.com>