| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These options were introduced in OE-Core to support multi libc SDKs
and added with
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date: Sat Jul 25 14:48:21 2015 +0100
toolchain-scripts: For non-glibc, pass compiler options to ensure the correct libc selection
gcc-cross-canadian-<arch> is only built once. It needs to target all the
different libcs, not just the currently selected one. This change ensures
that if another libc is used, the compiler correctly selects the right one.
[YOCTO #8025]
(From OE-Core rev: da2e92e256054b137a1646fdad1fe1a47ba3215a)
Clang however acts based on crosscompiler name and does not have option to controlled
multi libc scene
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: 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>
|
|
|
|
|
|
|
| |
clang compiled busybox ends up with segfaults
needs to be debugged, until then use gcc for it
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>
|
|\
| |
| | |
fix qa/package warning
|
| | |
|
|\|
| |
| | |
remove empty directory when installing nativesdk
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
This gcc option is not supported in clang
hence remove it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
Adding it to TOOLCHAIN_OPTIONS renders libtool useless and its not able to
build .so
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We can get past the errors due to -Werror when unused cmdline
options appear on compiler cmdline
e.g.
error: argument unused during compilation: '-pie'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|\|
| |
| | |
rename 'CLANG_GIT' to 'LLVM_GIT'
|
| |
| |
| |
| | |
Signed-off-by: Yi Qingliang <niqingliang2003@gmail.com>
|
| |
| |
| | |
Fixes Issue #8
|
|\|
| |
| | |
use variable 'CLANG_GIT' and 'CLANG_GIT_PROTOCOL'
|
|/
|
|
| |
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>
|
|\
| |
| | |
clang.bbclass: remove gcc from deps when appropriate
|
| |
| |
| |
| | |
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|\ \
| |/
|/| |
rng-tools: fix build with clang
|
|/
|
|
|
|
|
| |
This fixes 'error: fields must have a constant size' by allocating it with the
given buffer size dynamically.
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
|
|
|
|
|
| |
OE-Core now uses -march=armv7ve for cortext-a7 and clang/llvm doesnt
have arch tunable for armv7ve, we revert to prior art of using armv7-a
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>
|
|
|
|
|
|
|
|
| |
These are not part of target image and many of these tools are still
not ported to be buildable with clang, so lets use gcc for building them
at this moment
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The option is not defined for llvm/clang but the defaults are hard-float
anyway so not needed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
xserver-xorg is just for x86 since it uses some GNU specific inline asms
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: 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>
|