| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit da92b363e8b57c506250cd677436d1a44b163c98)
|
|
|
|
|
|
|
|
| |
Use compile-rt consistently across when building libc++ and libc++abi
and libunwind
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 78acb4ae02352d543b0343b2dba411dc521acd0a)
|
|
|
|
|
|
|
| |
Its already shipped with compile-rt recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c5c59a9a6a80bb54067ed1400f814fcfc3f428aa)
|
|
|
|
|
|
|
|
| |
lldb-server is not fully ported for mips yet see
https://reviews.llvm.org/D102872
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1a90a808e913003ccbbd5ab9b1fcb0a0995d620c)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 85c1247d641e8f3286151cf77c8a888955a4fbb1)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6a442a8a3b6b898c90ae1e25216810cf0022e8ad)
|
|
|
|
|
|
|
| |
This fixes build on ARM
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 241e7e50d394795822beb04869fa540026ebf0cd)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that search path for c++ headers is using right directory
structure as per Openembedded gcc and sysroot install
e.g.
ignoring nonexistent directory "/mnt/b/yoe/master/build/tmp/work/core2-32-yoe-linux-musl/compiler-rt/13.0.0-r0/recipe-sysroot/usr/lib/i686-yoe-linux-musl/11.1.0/../../../include/
c++/11.1.0/i386-linux-gnu"
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6ecc0989f152811b8e042d0eb0c94db24c023543)
|
|
|
|
|
|
|
| |
backtrace APIs are glibc specific so do not use them
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0f3c6b54bf61ec9aabcb2e6ef52ee78e795194c5)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libclc uses clang CLC preprocessor on .ll files, llvm/clang-13 started
including clc declarations by default (clang
cf3ef15a6ec5e5b45c6c54e8fbe3769255e815ce),
thus corrupting any .ll assembly files that are used by libclc.
Inclusion of the default declarations can be turned off using a
cmdline switch but that remains to be implemented in the libclc build
system. manually adding '-cl-no-stdinc' should work as a workaround.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d692c0338fe60cdbb3025dcedbb05ca466335650)
|
|
|
|
|
|
|
| |
This is in sync with clang trunk (upcoming 13.0.0) release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 79dc9a07e919bbcadb137a9d4cb0f857a672d67e)
|
|
|
|
|
|
|
| |
License name should be LICENSE.TXT not LICENSE.txt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 07357fd3372866445aa9dd07654849b9b3d0c3d1)
|
|
|
|
|
|
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 76e37fafa29e9b2097eb823537b17d6cc638c1d5)
Conflicts:
- recipes-devtools/clang/common.inc: caused by
3880a395f870ecd8da73d2de1e2b88a855df2ef0, the patches have been kept.
The patch introduced in fdb936e80b30f40cbf7ef9a8e124b58eec95f45c is part
of LLVM 13 so it has been removed.
|
|
|
|
|
|
|
| |
We want to use llvm libunwind implementation when RUNTIME = "llvm"
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a3604860941ffa9c5ef9a254717651fe9f8c586e)
|
|
|
|
|
|
|
|
| |
This has been removed see
https://reviews.llvm.org/D103048
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c37942613e70c49c9fce3247c1427d0a1c10ad21)
|
|
|
|
|
|
|
| |
RUNTIME=llvm means we use libc++ instead of libstdc++ among other things
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 933795217f9142c246c359f92e8320516e5c66a5)
|
|
|
|
| |
default
|
|
|
|
|
|
|
|
| |
dunfell meta/conf/machine/include/tune-cortexa57-cortexa53.inc defines mtune,
not, mcpu. clang.bbclass attempts to remove these optimisations but it fails
due to mismatch.
Signed-off-by: Caner Altinbasak <cal@brightsign.biz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes:
../../chrome/common/extensions/chrome_manifest_url_handlers.cc:101:7:
error: no matching constructor for initialization of 'std::map<const char *, std::reference_wrapper<const absl::optionalstd::string>>' (aka 'map<const char , reference_wrapper<const optional<basic_string>>>')
std::map<const char,
as seen with chromium-109:
https://github.com/OSSystems/meta-browser/issues/674
Thanks to Raphael Kubo da Costa for finding the commit to be backported!
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
|
| |
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Chris Wulff <chris.wulff@biamp.com>
|
|\
| |
| | |
merge dunfell branch into clang12
|
| |\ |
|
| | | |
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This ensures the common llvm sources are identical
and can be re-used.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is not needed with clang12
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
-fixes "version node not found for symbol omp_get_num_places_@@VERSION"
Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
|
|/| |
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This affects LLVM < 12, so backport directly to dunfell. This adds a missing
include that was breaking the build with recent libstdc++ releases on the
host system (versions 11 and above).
Signed-off-by: Raphael Kubo da Costa <raphael.kubo.da.costa@intel.com>
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| | |
This override may not exist in old releases
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
native versions of libcxx and compiler-rt are only available in honister
and newer
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch is already merged in llvm-11.
Ref:
https://github.com/llvm/llvm-project/commit/381054a989ebd0b585fee46f2a01a7c5de10acf7
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
cclang-tidy doesn't process compilation flags like "-mlittle-endian" and "sysroot". The current export tries to use those flags, which makes clang-tidy fail like in the following example:
> $ aarch64-poky-linux-clang-tidy fibonacci.cpp -mlittle-endian --sysroot=/opt/mgu22/sysroots/aarch64-poky-linux
> LLVM ERROR: CommonOptionsParser: failed to parse command-line arguments. [CommonOptionsParser]: aarch64-poky-linux-clang-tidy: Unknown command line argument '-mlittle-endian'. Try: 'aarch64-poky-linux-clan$
> aarch64-poky-linux-clang-tidy: Did you mean '--list-checks'?
> aarch64-poky-linux-clang-tidy: Unknown command line argument '--sysroot=/opt/mgu22/sysroots/aarch64-poky-linux'. Try: 'aarch64-poky-linux-clang-tidy --help'
> aarch64-poky-linux-clang-tidy: Did you mean '--color=/opt/mgu22/sysroots/aarch64-poky-linux'?
This change removes those compiler arguments:
> $ aarch64-poky-linux-clang-tidy fibonacci.cpp
> Error while trying to load a compilation database:
> Could not auto-detect compilation database for file "fibonacci.cpp"
> No compilation database found in /home/mqueiros/workspace/minimal-working-example/fibonacci or any parent directory
> fixed-compilation-database: Error while opening fixed database: No such file or directory
> json-compilation-database: Error while opening JSON database: No such file or directory
> Running without flags.
Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Backported from master to dunfell branch (cherry picked from commit 9d5fd8357d2f00a273f3d80fb37bb07cc537a155).
Signed-off-by: Daniel Dittmann <daniel.dittmann@rohde-schwarz.com>
|
| |
| |
| |
| |
| |
| | |
This patch is already merged in llvm-11.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
| |
| |
| |
| |
| |
| |
| | |
Currently it expect the common branch names like master and dunfell
match between meta-clang and yoe which may not be case
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
a choice is needed to be made for selecting unwinder library defaults (
--unwindlib ), by default we choose libgcc unwinder when packageconfig
is disabled and only use llvm unwinder when this option is enabled
Fixes Issue #332
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
libcxx can use either libgcc_s or llvm libunwind for unwinder
functionality, the defaults are platform dependent, therefore with this
patch we make intentional choice based on RUNTIME settings chosen, e.g.
when using GNU runtime we use libgcc and also ensure that it add right
compiler options to build as well, since libcxx build looks C runtime by
calling $($CC --print-libgcc-file-name) to build libc++abi.so unless we
use right -rtlib option it will result in linking wrong library
Enable RTTI as well
do not enable llvm unwinder unless we chose llvm runtime, even that
might not work since libpthread from glibc explicitly dlopens
libgcc_s.so to enable unwinding
https://github.com/bminor/glibc/blob/5f72f9800b250410cad3abfeeb09469ef12b2438/sysdeps/nptl/unwind-forcedunwind.c#L53...L58
Fixes Issue #332
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Master meta-browser has moved away from gcc completely even for native
portions, but those changes require master branch of meta-clang as well
for older layers where older than clang 13 is used, lets undo those
changes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
meta-intel assumes LLVM 10 or 11 is being built, and forces a version
of SPIRV-LLVM-Translator that doesn't work with LLVM 12.
Override this with an LLVM 12 compatible version.
Also, meta-intel pulls in intel-mediasdk which, out of the box, doesn't
build with compiler-rt. Add a patch to intel-mediasdk that fixes this.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
Upstream-Status: Pending
|
| |
| |
| |
| |
| |
| | |
The problem is fixed and the workaround actually breaks things
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|