| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Add new recipes for libcxx and libcxxabi
fix compiler-rt builds using clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
We need to ignore default deps since we are building clang-native pretty
early and it really doesnt need cross compilers dependencies etc.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Drop the upstreamed patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Dont stage cmake helper files for nativesdk build
they are also poked at by clang-crosssdk and wrong values are inferred
since the values are meant for SDKMACHINE and not for native build host
so all paths come out incorrect and builds fails for nativesdk packages
Therefore we do not stage llvm cmake files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
These deps makes sure that when the individual target is built then it
bullds a working tool
no need to stage into ${D}${bindir_crossscripts} unnecessarily
when staging code is undoing that
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
We do not need a preprocess function but override full sysroot_stage_all
function to control what gets staged
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang differs subtly when it comes to sysroot support as compared to gcc
where the gcc driver is compiled with lot of the paths and information
clang is not, nativesdk sysroot is tuned to where gcc expects it, this
does not work well for clang, since clang looks for all
headers/libraries/compiler-runtime under same sysroot whereas gcc has
diffrent understanding of sysroot for target and where it expects gcc
headers and other tools needed for compilation. Anyway short story is
that we create symlinks into directories for include/ and usr/lib so
clang is happy and it does not affect gcc crosssdk
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
3.7 release branch has been created.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add fix for missing is_pod definition
and additionally fix packaging for nativesdk
PACKAGE_DEBUG_SPLIT_STYLE_class-nativesdk = "debug-without-src"
Fixes errors like
ERROR: debugedit failed with exit code 256 (cmd was
'/mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysr
oots/x86_64-linux/usr/lib/rpm/bin/debugedit' -b
'/mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/work/x86
_64-nativesdk-angstromsdk-linux' -d '/usr/src/debug' -i -l
'/mnt/home/kraj/work/angstrom/build/tmp-angstrom-gli
bc/work/x86_64-nativesdk-angstromsdk-linux/nativesdk-clang/3.7.0-r0/debugsources.list'
'/mnt/home/kraj/work/ang
strom/build/tmp-angstrom-glibc/work/x86_64-nativesdk-angstromsdk-linux/nativesdk-clang/3.7.0-r0/package/usr/loc
al/oecore-x86_64/sysroots/x86_64-angstromsdk-linux/usr/lib/libLTO.so.3.7.0svn'):
/mnt/home/kraj/work/angstrom/build/tmp-angstrom-glibc/sysroots/x86_64-linux/usr/lib/rpm/bin/debugedit:
canonica
lization unexpectedly shrank by one character
see
http://lists.openembedded.org/pipermail/openembedded-core/2013-April/077746.html
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
OE depends on commandline option to decide on hf ABI unlike other
distros which use target triplet *-*-gnueabihf and clang driver only reacted to
triplet and not cmdline options, this patch makes it do that as well
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These are manipulating nativesdk clang to be used as SDK cross
compiler option
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Nathan Trapp <nathan.trapp@savant.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The dependency is not necessary for building of the nativesdk package.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|