| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
see https://bugs.llvm.org/show_bug.cgi?id=39919
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
The only change is update to the year in license files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Clang 8.0 is going to be released in Feb-March 2019
so here we switch to release/8.x branch a bit early
so we can provide some feedback for release to be good on
OE
If one needs to use stable 7.0.1 release please use thud branch
clang 8.0 does have RISC-V backend, enable it
clang: Add building experimental targets e.g. riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
LLVM now has an official git monorepo mirror. It will likely
become the canonical upstream in the near future.
Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
|
| |
|
|
|
|
|
| |
The error message was:
>> Nothing PROVIDES 'ninja-nativeclang-native' (but virtual:nativesdk:/media/storage/romanek-adam/build-2018-12-17-clang/workspace/meta-clang/recipes-devtools/clang/compiler-rt_git.bb DEPENDS on or otherwise requires it)
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This helps build SDKs for risc-v when meta-clang is in layer mix
even though clang for risc-v may not fully work yet
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This feature lets bbappend to be applied only when a given layer is
present in layermix
move kernel-selftest.bbappend to dynamic-layers/openembedded-layer where
it belongs
Fix Issue #78
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This was an experimental change
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This was trying to build runtime during build but we already have
recipes for libcxx and compiler-rt to do that, unless we merge them into
clang recipe, we need to keep using them to provide nativesdk clang runtime
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is an overhaul of clang/llvm project related recipes
* switch to using a flat mono repo for all clang/llvm projects
* Add llvm-project-source recipe which will prepare source tree in
work-shared for all recipes much like kernel and gcc
* build lld as part of clang recipes, its much easier and saves build
time and hopefully nativesdk version will be built now for free
* switch to official git repos at git://github.com/llvm-project
* Adjust all recipes to use shared sources
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
lld is being merged into clang recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
this is no longer needed as it seems.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
lld is being folded into clang recipe itself
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
There still are some recipes which do not build with internal
assembler, due to GNU'isms or other bugs in inline assembly,
but its small enough number to fix or pin to external assembler
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>
|
|
|
|
|
|
|
|
| |
No longer required see,
http://git.openembedded.org/openembedded-core/commit/?id=122217b421f749b5fef52bea44ad6e04bc8f8d3a
Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
|
|
|
|
|
|
| |
Re-order the list
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Correct the dependency for clang-cross
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
There is a bug in busybox which is found by clang, we need to fix
busybox but until them just dont use thumb2 ISA for busybox
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Not needed after meson migration
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
llvm-ar llvm-ranlib and llvm-nm are often used during LTO
if enabled. These tools are currently not being found and
some build systems e.g. cmake disables them which then affects
-flto with clang. Enabling cross versions of them makes sure
they get detected properly during cross compile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
This ensures that clang generates PIE+SSP code by default, this makes
sure that packages which do not make this distinction compile properly
as passing -fPIE and -pie could be not working well for their build
systems
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
The issue with VLAIS has been addressed upstream now see
https://github.com/nhorman/rng-tools/commit/3e40e6362979bdfb25e335cda20ef75f47183711
and OE-Core has moved to 6.6 now which has this fix
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 still see issues cross compiling it for x86_64
|
/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/mozjs/52.8.1-r0/build/config/
../../recipe-sysroot-native/usr/bin/x86_64-bec-linux-musl/x86_64-bec-linux-musl-
ld: warning: library search path
"/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1" is u
nsafe for cross-compilation
|
/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/mozjs/52.8.1-r0/build/config/
../../recipe-sysroot-native/usr/bin/x86_64-bec-linux-musl/x86_64-bec-linux-musl-
ld: warning: library search path
"/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../..
/../../lib64" is unsafe for cross-compilation
|
/mnt/a/oe/build/tmp/work/core2-64-bec-linux-musl/mozjs/52.8.1-r0/build/config/
../../recipe-sysroot-native/usr/bin/x86_64-bec-linux-musl/x86_64-bec-linux-musl-
ld: warning: library search path
"/usr/lib64/gcc/x86_64-pc-linux-gnu/8.2.1/../..
/.." is unsafe for cross-compilation
| cp nsinstall_real nsinstall.tmp
| mv nsinstall.tmp nsinstall
| ../config/nsinstall -R -m 755 'nsinstall' '../dist/bin'
| make[3]: ../config/nsinstall: Command not found
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>
|
|
|
|
|
|
|
|
|
|
| |
Fixes issues like
undefined reference to `__mulodi4'
see
https://bugs.llvm.org/show_bug.cgi?id=28629
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
kernel 4.18+ we need clang to build bpf tests
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>
|
|
|
|
| |
This reverts commit 9a0bd29eac2be5f88e3e198929181d3591dd7ec7.
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This confuses the libcxx build system and it tries to edit
rpaths in .so files and fails miserably on libcxx.so if it is a linker
script
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
As suggested in Issue #23
this will make sure we can override it with BAD_RECOMMENDATIONS
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>
|
|
|
|
|
|
| |
RISC-V support in clang is missing 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>
|
|
|
|
|
|
| |
Needs some work to get FDO working
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|