| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
clang generates atomics and we need to link
in -latomic for that, which comes from gcc
so keep using gcc for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
clang hangs while compiling some source files
use gcc for now.
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>
|
|
|
|
|
|
|
| |
Its redundant to use it since we are pinning to gcc
always for arm < v6
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>
|
|
|
|
|
|
|
|
|
|
|
| |
icu on clang (arm < v5 ) needs atomics which
are not there in libgcc
ruby configure triggers on -pie since clang
is kind enough to warn about a linker option
on compile cmdline, but its treated as error
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Ross Burton <ross.burton@intel.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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So far we have been selecting which packages are compiled using clang
this patch changes the logic to use clang by default unless selecting
TOOLCHAIN = "gcc"
explicitly in the recipe
We have not yet enabled clang for native recipes, its only enabled for
target recipes needing cross compilation as of now.
Get rid of configuration file and move the code to clang.bbclass,
simplifies the logic
If needed to select gcc to be default system compiler set
TOOLCHAIN = "gcc" in local.conf
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building using crossdk clang the dynamic linker still points to
native build system which wont work when SDKMACHINE is differnet than
build host so lets pass the values via TOOLCHAIN_OPTIONS to point to
correct linker
Currently done for x86 only, but this is ok since we dont have other
SDKMACHINEs yet, may be in future but we will cross that bridge when we
reach there
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Use HOST_CC_ARCH as well in CC and CXX
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
We cant compile libc yet since musl needs a dep
on libgcc and compiler-rt needs some work to reach to
that point
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
brings it inline with gcc toolchain
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This fixed race conditions during build of clang-native
where it cant find native tblgen during cross building clang
use clang to compile musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
compiler
We add clang as an alternative compiler, it sitll uses underlying
binutils and compiler runtime, it will only do the compilation and defer
link, to GNU ld/gold, to compile a component usign clang add
TOOLCHAIN_pn-<recipe-name> = "clang"
DEPENDS_append_pn-<recipe-name> = " clang-cross "
And OE will start using clang to compile <recipe-name>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
Add clang recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|