| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit cherry-picks bf0a01851fb7cd8d66a23cef0f69df519c085eff
from master to krogoth.
TUNE_CCARGS is an SSTATE variable and it must not used so that
it becomes builder specific. Builder specific TUNE_CCARGS makes
the SSTATE checksums to change and it invalidates the SSTATE cache
if used via SSTATE_MIRROR.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
|
|
|
|
|
|
|
|
| |
AEABI floating point helper functions always use AAPCS (soft-float)
calling convention. Recognize MUSLEABI targets to fix the code generated
for musl-based hard-float builds.
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
|
|
|
|
|
|
|
| |
Change detection order so that "musleabihf" etc. are recognized as such,
and not just as plain "musl".
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Otherwise llvm-tblgen cannot be found if clang happens
to be built before clang-native.
Signed-off-by: Dmitry Rozhkov <dmitry.rozhkov@linux.intel.com>
|
|
|
|
|
|
|
| |
Check for directory ${D}${libdir}/linux before operating
on it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
This solves some clang issues. A few recipes rely on gcc's
-I= syntax. This is a backport of the feature to the 3.8
branch. It's already in 3.9.
See https://llvm.org/bugs/show_bug.cgi?id=26965
Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
ldso was not as per OE norms when building
for 64bit machines. This patch makes the
baselib point to /lib and fixes the issue
it also means that the apps wont work for
mutlilib where baselib != /lib
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Existing patches were fine however it was resetting
the ld.so since we were following through the musl
case and subsequent flow would overwrite the computed
value of ldso
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
We build with COMPILER_RT_STANDALONE_BUILD=1
and that makes the install locaiton to be /usr
and not something clang verison specific in /usr/lib
so we have to manually move the bits to proper location
after regular install
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
We do not need libc to build clang
Add dep on clang-cross when building musl
with clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Make the SRCREV, PV, BRANCH weak assignments
so they can be overridden
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Potentially fixes #16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
package libcxxabi-dev and compiler-rt-staticdev
into packagegroup-core-standalone-sdk-target so it
gets into SDK
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
ALLOW_EMPTY is added so packaging can succeed
the files are all static libs
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Fix the code to make them buildable
Dont package libclang_rt.asan shared object yet
it links with libstdc++, we need to make it
use libc++ and then we can package it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
we are targetting linux so its hosted
Correct dual lincese logic
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Real isue is use of -ffreestanding, we need to remove that
we are targetting linux so its hosted
Correct dual lincese logic
Fix formatting to match recommended OE style
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Real isue is use of -ffreestanding, we need to remove that
we are targetting linux so its hosted
Correct dual lincese logic
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Switch to using cmake
disable sanitizers since it does not yet cross compile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
avoid conflicting definitions of MB_LEN_MAX
from limit.h from clang and stdlib.h from glibc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
cross_canadian_bindirlinks would create appropritate symlinks in SDK
so that mutliple libc toolchains can live in same SDK
gcc and binutils already use it, clang cross-canadian should use it too
Otherwise clang is not found correctly when SDK env is set
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
libcxx already has support for musl, enable that
instead of patching code
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Move -L flags to LDFLAGS, avoid compiler warnings
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Yi Qingliang <niqingliang2003@gmail.com>
|
|
|
|
| |
Signed-off-by: Yi Qingliang <niqingliang2003@gmail.com>
|
|
|
|
|
|
| |
NCSA is the licence file name for UIUC licence actually
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Move libunwind to 3.8 branch and set SRCREV in clang.inc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
3.8 is around the corner.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
bunch of BPF fixes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
When using meta-clang use the llvm libunwind instead of HP libubwind
which comes from OE-Core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Apple has contributed libunwind implementation to llvm which is needed
for libcxx to work and is equivalent in APIs to HP's libunwind implementation
from good old days
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
libstdc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang-cross compiler is referenced using TARGET_ARCH
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|