summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libcxx: Remove -ffreestanding from compiler flagsKhem Raj2016-04-042-4/+4
| | | | | | | | we are targetting linux so its hosted Correct dual lincese logic Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Remove workaround to order limit.h and stdlib.hKhem Raj2016-04-042-41/+6
| | | | | | | | | | | 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>
* compiler-rt: Remove workaround to order limit.h and stdlib.hKhem Raj2016-04-042-67/+1
| | | | | | | | | 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>
* compiler-rt: Fix target buildKhem Raj2016-04-033-9/+146
| | | | | | | Switch to using cmake disable sanitizers since it does not yet cross compile Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Fix build with glibcKhem Raj2016-04-032-0/+35
| | | | | | | 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>
* clang-cross-canadian: Use cross_canadian_bindirlinksKhem Raj2016-04-011-0/+1
| | | | | | | | | 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>
* Remove -mmusl and -muclibcKhem Raj2016-04-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 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>
* packagegroup-cross-canadian: Fix append for clang into SDKKhem Raj2016-04-011-2/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* README: Link mailto to nameKhem Raj2016-04-011-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* README: Adjust mailtoKhem Raj2016-04-011-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Emit correct ldso name on musl targetsKhem Raj2016-03-313-0/+181
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxxabi: Fix build on armKhem Raj2016-03-242-0/+31
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx,libcxxabi: Use cmake knobs for muslKhem Raj2016-03-155-101/+4
| | | | | | | libcxx already has support for musl, enable that instead of patching code Signed-off-by: Khem Raj <raj.khem@gmail.com>
* user gcc from busybox for nowKhem Raj2016-03-151-0/+2
| | | | | | | 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>
* clang: Fix build on muslKhem Raj2016-03-153-1/+129
| | | | | | Move -L flags to LDFLAGS, avoid compiler warnings Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx,libcxxabi: Fix build on muslKhem Raj2016-03-155-0/+156
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm/clang: Update to latest 3.8 release tagsKhem Raj2016-03-101-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge pull request #15 from walkthetalk/masterKhem Raj2016-03-091-0/+2
|\ | | | | fix qa/package warning
| * fix qa/package warningYi Qingliang2016-03-091-0/+2
| |
* | Merge pull request #13 from walkthetalk/masterKhem Raj2016-03-031-3/+4
|\| | | | | remove empty directory when installing nativesdk
| * remove empty directory when installing nativesdkYi Qingliang2016-03-041-3/+4
| |
* | clang: Remove -mno-spe option from cmdline on ppcKhem Raj2016-03-031-0/+1
| | | | | | | | | | | | | | This gcc option is not supported in clang hence remove it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | piglit,python-numpy,valgrind: Mark gcc-only recipesKhem Raj2016-03-033-0/+6
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | clang: Move -Wno-error=unused-command-line-argument setting to TUNE_CCARGSKhem Raj2016-03-011-3/+1
| | | | | | | | | | | | | | Adding it to TOOLCHAIN_OPTIONS renders libtool useless and its not able to build .so Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Pass -Wno-error=unused-command-line-argument to clangKhem Raj2016-02-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #10 from walkthetalk/masterKhem Raj2016-02-296-15/+15
|\| | | | | rename 'CLANG_GIT' to 'LLVM_GIT'
| * rename 'CLANG_GIT' 'CLANG_GIT_PROTOCOL' to 'LLVM_GIT' 'LLVM_GIT_PROTOCOL'Yi Qingliang2016-03-016-15/+15
| | | | | | | | Signed-off-by: Yi Qingliang <niqingliang2003@gmail.com>
* | Update README.mdKhem Raj2016-02-291-1/+1
| | | | | | Fixes Issue #8
* | Merge pull request #5 from walkthetalk/masterKhem Raj2016-02-296-13/+16
|\| | | | | use variable 'CLANG_GIT' and 'CLANG_GIT_PROTOCOL'
| * use variable 'CLANG_GIT' and 'CLANG_GIT_PROTOCOL'Yi Qingliang2016-02-296-13/+16
|/ | | | Signed-off-by: Yi Qingliang <niqingliang2003@gmail.com>
* recipes: Use NCSA instead of UIUCKhem Raj2016-02-274-4/+4
| | | | | | NCSA is the licence file name for UIUC licence actually Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use SRCPV where git fetcher is usedKhem Raj2016-02-276-2/+19
| | | | | | Move libunwind to 3.8 branch and set SRCREV in clang.inc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to latest on 3.8 branchKhem Raj2016-02-271-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-suite: Update to 3.8 release branchKhem Raj2016-02-171-7/+7
| | | | | | 3.8 is around the corner. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge pull request #3 from kergoth/drop-gcc-depsKhem Raj2016-02-151-15/+4
|\ | | | | clang.bbclass: remove gcc from deps when appropriate
| * clang.bbclass: remove gcc from deps when appropriateChristopher Larson2016-02-151-15/+4
| | | | | | | | Signed-off-by: Christopher Larson <chris_larson@mentor.com>
* | Merge pull request #2 from kergoth/rng-tools-fixKhem Raj2016-02-152-0/+53
|\ \ | |/ |/| rng-tools: fix build with clang
| * rng-tools: fix build with clangChristopher Larson2016-02-152-0/+53
|/ | | | | | | 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>
* clang.bbclass: Replace -march=armv7ve with -march=armv7aKhem Raj2016-01-091-0/+3
| | | | | | | 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>
* clang: Update to 3.7.1Khem Raj2016-01-031-3/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* update llvmKhem Raj2015-10-251-1/+1
| | | | | | bunch of BPF fixes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: use gcc form nativesdk, crosssdk, cross-canadian recipesKhem Raj2015-10-011-0/+3
| | | | | | | | 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>
* clang.bbclass: Remove -mhard-float for ppcKhem Raj2015-10-011-0/+2
| | | | | | | 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>
* libvorbis,xserver-xorg: Add to non-clang listKhem Raj2015-10-012-0/+4
| | | | | | xserver-xorg is just for x86 since it uses some GNU specific inline asms Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang/llvm: Bump to latest on 3.7 branchKhem Raj2015-10-011-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glib-2.0: Fix build with clang/musl comboKhem Raj2015-09-251-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Convert gcc specific endian options to clang accepted onesKhem Raj2015-09-251-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-libunwind: Preferred to provide libunwindKhem Raj2015-09-122-1/+6
| | | | | | | 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>
* llvm-libunwind: Add recipeKhem Raj2015-09-102-0/+112
| | | | | | | | 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>
* libcxxabi: Organize the EXTRA_OECMAKE into multilinesKhem Raj2015-09-101-1/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>