| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Latest jack does not build with clang-13 for 32bit arches
| In file included from ../git/common/JackFreewheelDriver.cpp:23:
| ../git/common/JackEngineControl.h:67:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackTransportEngine'
| alignas(UInt32) JackTransportEngine fTransport;
| ^
| ../git/common/JackEngineControl.h:89:5: error: requested alignment is less than minimum alignment of 8 for type 'Jack::JackFrameTimer'
| alignas(UInt32) JackFrameTimer fFrameTimer;
| ^
| 2 errors generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e4978cc3ef008c69a49295dc8bc997b8291f6b11)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d2a30f0fd7377c1e19c778dc6b82dca4fa21c0d4)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5b30d620ba40f6d4176adf668139404b97003daa)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 1fbf558d6ff699ae0c8b60ad8313515367e83898)
|
|
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 953591e89fba92501cf421adf448aa69caa12e14)
|
|
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 17737cc4ecd3aea2c978bf83e283bcb08d097487)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 527f628b7d9bbfe8d3fbe743e876d30c4545a71a)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang13 based builds are failing during postprocessing
Mismatch between symbols in shared library and lists in .exported_symbols.* files: dm_bit_get_prev
| dm_config_clone_node
...
dm_udev_wait
| make[1]: *** [../libdm/make.tmpl:511: .export.sym] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 17c9d4406c725fffe24eddb7a6d23228f3bdea94)
|
|
|
|
|
|
| |
This reverts commit 314a7014e3abb9ef297aa293c2e56ad916c2dc84.
(cherry picked from commit b16f6862259fac7c193cd3e633f4250ae878bb38)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e85ba2ec1b2aebbf66ac48f9bd43c22f23a8fcc2)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 82fdd8d7bf4bcd77fd52583400803224efd7e9f2)
|
|
|
|
|
|
|
|
|
|
| |
This helps during cross-compile as new clang expects this to be set or
else it deduces it and that deduction can go wrong.
See commit 395271ad11b8c233db1a4e0e6a76aa52e93e5aec in clang repo
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b224c4148f46c4dd326d2b72a9c1d55c364ed48f)
|
|
|
|
|
|
|
|
| |
clang master/13.x has started segfaulting while building mesa, until it
is fixed upstream lets switch to using gcc for mesa
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 314a7014e3abb9ef297aa293c2e56ad916c2dc84)
|
|
|
|
|
|
|
| |
This flag is no longer needed with latest clang-13
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5e3f7c2fd647ae9552a19f679f37260fc5ebecff)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c6237ecf3e36eea143607a2cd7164c9eba70d466)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 77394fabd1fee7f4ea3a9358dfba7e94e6a98e8d)
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
integrated assembler crashes latest clang on aarch64, so lets disable it
for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9d89acd175067a828313b8b2a215e6f7595f61b5)
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
klibc does not provide libssp functions e.g. __stack_chk_guard and
__stack_chk_guard which it expects from libc and compiler-rt code tend
to use these functions, so when using compiler-rt it ends up with
undefined symbols e.g.
/usr/lib/clang/13.0.0/lib/linux/libclang_rt.builtins-armhf.a(divmoddi4.c.o): in function `__divmoddi4':
divmoddi4.c:(.text+0x70): undefined reference to `__stack_chk_fail'
arm-yoe-linux-gnueabi-ld.bfd: divmoddi4.c:(.text+0x74): undefined reference to `__stack_chk_guard'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bc2b5e4b874968745fdcfbcea43e2eb8eafa592e)
|
|
|
|
|
|
|
|
|
| |
these packages do static linking in parts and when libc is glibc then it
has linked in some portions of libgcc since we can not use clang to
compile glibc yet. Therefore use libgcc where needed for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bf842214267663966ffa34e170368d55fcebd883)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
clang 13 does not like to mix rtlib and unwindlib when using libgcc
Fixes
clang-13: error: --rtlib=libgcc requires --unwindlib=libgcc
secondly compiler-rt does not havw 128 bit ( tf ) functions
on x86 so fallback to libgcc for those
use libatomic for x86 since 64bit atomics are not in compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 96face19ae51510d5e5923e575496844b5b85e62)
|
|
|
|
|
|
|
|
| |
llvm unwind can work on rv32 and rv64 with latest clang so open up that
option
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit bfad2060bcf17f26fff1e6dd760732d551794c2b)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 040ec88b95679a953bf63461f73700246ed34eef)
|
|
|
|
|
|
|
|
|
| |
clang13 has a regression which segfaults the compiler while compiling
poke, its reported upstream, until it is fixed do not use -O2 compiler
switch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d01e38f98bb03d9afa72e9dfc10eb936fc6a4c29)
|
|
|
|
|
|
|
|
| |
The defaults wirh using RUNTIME = "llvm" is already pointing to
compiler-rt there is no need to clutter cmdline
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 785ce0f2df336ea2c7ef40a3e64eb84656f59eeb)
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes linker errors like
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
src/mongo/platform/overflow_arithmetic.h:63: error: undefined reference to '__mulodi4'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0c02a3503f6b240ec34c68bc9c00407bae2b0fa4)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to use latest clang, latest bcc sources are needed, this also
means that we need to use vendored libbpf as thats the newest one needed
and avoids dependencies on kernel bpf headers which maybe old and out of
sync
examples use error.h header which is not available on musl therefore
disable examples when building on musl
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 21182ec55dace9062be427c2ee583fd4027f899b)
|
|
|
|
|
| |
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 55978074f349330367ffbbf991e3287141f8fe4d)
|
|
|
|
|
|
|
|
| |
since toolchain-clang maybe available for native as well now, it means
we have to ensure we do not use it for native recipes _yet_
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 95b2e77c088aacaae58aa9157fc7b7bde82527c8)
|
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9c8347351565ba4ea0b31e92cf55b29811372285)
|
|
|
|
|
|
|
|
| |
Since clang maybe configured to use llvm runtime, we need to ensure to
use gnu runtime in native builds
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 563e11548bfe95444d447e058001d3d1da5fe8e8)
|
|
|
|
|
|
|
| |
Avoids conflicts with libunwind recipe from OE-Core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 5be1042c67063354217154e3c35ed83408d916ce)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now that clang can pass right options automatically when RUNTIME =
"llvm", adjust the variables e.g. COMPILER_RT/UNWINDLIB/LIBCPLUSPLUS are
no more required to be defaulted
Disable enforcing gcc runtime for packages using gcc as its no longer
needed here but is taken care by RUNTIME variable as an aside it also
helps in building native and nativesdk llvm runtimes
Compute right dependencies based on selected RUNTIME along with
COMPILER_RT/UNWINDLIB/LIBCPLUSPLUS variables
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit dc5e04e5819a5e7384ae48f1740ac82970a80b8f)
|
|
|
|
|
|
|
|
| |
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)
|