| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c6237ecf3e36eea143607a2cd7164c9eba70d466)
|
|
|
|
|
|
|
|
|
|
| |
After enable multilib, libdir is /usr/lib64, but in llvm's
CMakelist.txt, the install path is hardcode as /usr/lib
eg:
${CMAKE_BINARY_DIR}/lib/libscanbuild/resources/${resource}
Signed-off-by: Changqing Li <changqing.li@windriver.com>
(cherry picked from commit f42c4297dde21787ee6873f33636617e1d562798)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 81119d8315050c422872c918bb576239ba71bf05)
|
|
|
|
|
|
|
|
|
|
|
|
| |
other recipe like intel-graphics-compiler, config failed with
below error:
[IGC] Could not find the LLVM dylib. Aborting.
with a suffix in library name make other recipe cannot found it.
Backport a patch from 12.0.0 to fix this.
Signed-off-by: Changqing Li <changqing.li@windriver.com>
(cherry picked from commit 95c264e9bbb36eb0ea043c2f016ccb1334d5396c)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use libgcc with clang-native to compile it
Fixes #465
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4d066667c3cbba3b88d2f8d6c5640f5f793d10b4)
Conflicts:
- recipes-devtools/clang/libcxx_git.bb: Commit
93552c79eed5daa44a24bf4b7a063a2ade739e97 had some of the changes already.
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b9c9325d65fdcc6a1bfdb15b538c7454894ce15f)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9c84711bbf8ff21e4276fb59d0e858fc3983155e)
|
|
|
|
|
|
|
| |
Package new content for scanbuild and libear
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 50e25bfa72a14b2b156964828995873fdc70da60)
|
|
|
|
|
|
|
|
|
|
|
| |
The trailing slash caused the mirror name endswith a dot which looks strange:
github.com.KhronosGroup.SPIRV-LLVM-Translator.
The slash is not needed, so remove it.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
(cherry picked from commit 5455c65e37bd0e881aad8fc318beb6d0a4469703)
|
|
|
|
|
|
|
| |
Drop 0024-compiler-rt-Include-stddef.h.patch its accepted upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2b5f122e57697b972bc1b65ea7dbb015a9303d11)
|
|
|
|
|
|
|
|
| |
Fix compiler-rt build on armv6 reported in
https://github.com/YoeDistro/yoe-distro/issues/555
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 23729bb8200838f3e0d7a73510cf41a05256ed3c)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 040ec88b95679a953bf63461f73700246ed34eef)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e9a764eac78f6099d34dd9ce8faae906b3fa6b4c)
|
|
|
|
|
|
|
| |
This helps in ensuring it pose as RPROVIDES when llvm runtime is used
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit cee6adcb98ed39a30b6def6c4ab6d3965854178a)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d45403baedd7ae7755a02cfe0205000b760167bd)
|
|
|
|
|
|
|
|
| |
This ensures it can replace nongnu libunwind
Use it only when selecting RUNTIME = "llvm"
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c48de926ac54802df7e1e4b7f91caa4fa4ef45b1)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9c8347351565ba4ea0b31e92cf55b29811372285)
|
|
|
|
|
|
|
|
| |
ensure that libcxx can be built when RUNTIME = "llvm" as it might need
to pass some cmake compiler tests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a0a318157ca0555b0d6e20028dcb7e3e3f3c08c6)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sanitizers can link libc++/libc++abi statically or dynamically, we
default to use dynamic version but leave the option to enable static
linking if so needed
Use virtual/crypt to represent crypt implementation which becomes libc
independent
Fix dependencies for native recipes
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f4bb299c409128801e68c30187381fadeb0a451d)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
while compiler-rt may not use any of these libraries, but the cmake
environment pokes for working compiler, linker and other tools, this
ensures that it can build when RUNTIME = "llvm" and also RUNTIME =
"gnu"
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7f431875e4edc2a11a9881714e4845efeee54f77)
Conflicts:
- recipes-devtools/clang/compiler-rt_git.bb: Commit
93552c79eed5daa44a24bf4b7a063a2ade739e97 had already backported parts of
this commit.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that compiler defaults are defaulting to llvm provided
c/c++ runtimes which includes c-runtime, c++runtime, unwinder and omp
runtime, current approach is to inject commandline options but it does
not get passed in all cases and a lot of smaller/big patches are used to
make such package recipes behave
If RUNTIME = "gnu" then defaults stay to use gcc runtime as it is
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e4edc914cd17d31c1c55733db942e3d5da3b0b56)
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
default
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Signed-off-by: Bernhard Rosenkraenzer <bernhard.rosenkraenzer.ext@huawei.com>
|
|
|
|
|
|
|
|
| |
Allow building valgrind with clang -- merge a patch
from the Android NDK to fix the valgrind+clang aarch64
combo
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
|
|
|
|
|
|
|
| |
Revert the upstream change moving the profiling version to
compiler-rt-sanitizers - we need the profiling version (but
not yet the sanitizers) for ACTS
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
|
|
|
|
|
|
| |
(Patches used without toolchain_clang condition because they
also fix gcc >= 11 and don't hurt with older compilers)
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
|
|
|
|
|
| |
These are now moved into compiler-rt-sanitizers recipe
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This recipe builds all sanitizers runtimes provided by compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
this option is only effective when building libcxx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This matches with GCC 11 which is also defaulting to DWARF-5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
This helps in ensuring that SDK elements are built correctly as well,
at present we get right builds for cross/target/native clang but not for
nativesdk since it use SDK_VENDOR string for vendor eg. -yoesdk which
currently is not added to known OE vendors, as a result nativesdk-clang
does not build since crosssdk clang can not find runtime files e.g.
libgcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Generate all possible vendor name that a multilib build could use
by using the variable MULTILIB_VARIANTS.
ex: {TARGET_VENDOR} {TARGET_VENDOR}mllib32
Fixes build issue when compiling lib32-compiler-rt
where clang has issue detecting gcc toolchain.
when clang --print-search-dirs:
lib32-recipe-sysroot//usr/lib/i686-wrsmllib32-linux
should be
lib32-recipe-sysroot//usr/lib/i686-wrsmllib32-linux/10.2.0/
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
|
|
|
|
|
|
|
| |
* d28af7c654d8 remove -fpch-codegen and -fpch-debuginfo from Clang 12.0 release notes
* 04ba60cfe598 [ORC][C-bindings] Fix some ORC C bindings function names and signatures.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
While we can, it does not have the sspace for path dance that yocto does
for relocable SDK which means clang components may end up being
non-relocatable when SDK is installed in longer paths. So for now pay
the price of switching back to binutils linker
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|