| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
native versions of libcxx and compiler-rt are only available in honister
and newer
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>
|
| |
| |
| |
| |
| |
| | |
The problem is fixed and the workaround actually breaks things
Signed-off-by: Bernhard Rosenkränzer <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>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
Make sure invalid assembly code isn't included even in
unreachable code; remove TOOLCHAIN=gcc workaround.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
ppp's use of nested functions and gcc specific flags has been fixed.
The workaround is no longer necessary.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
Building it with gcc was a workaround for a bug that has been fixed
a long time ago. The workaround is no longer necessary.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
The problem preventing this from succeeding earlier has already
been fixed in libffi. There's no reason to keep the workaround.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| | |
babeltrace2 failed to build with clang because of a bug in babeltrace.
Fixing babeltrace is a better fix than forcing it to build with gcc.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| | |
Pixman needs workarounds for clang on 32-bit ARM
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Makefiles in u-boot-seco-imx hardcode gcc use - make sure the
requested compiler is available even with TOOLCHAIN="clang"
Fixes https://git.ostc-eu.org/OSTC/OHOS/meta-clang/-/issues/2
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem is Makefiles in u-boot and trusted-firmware hardcoding compiler
calls.
This should be fixed at some point; until then, use the gcc toolchain for
these components.
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| | |
Signed-off-by: Bernhard Rosenkränzer <bernhard.rosenkraenzer.ext@huawei.com>
|
| |
| |
| |
| |
| |
| | |
This is advertised option from clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
clang -ftrapv, needs compiler-rt [1]
[1] https://github.com/openssh/openssh-portable/blob/master/INSTALL#L7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| | |
it has its own branch
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| | |
They have started using nested functions lately.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
generated asm files use .0: label which is not understood with internal
asm, gnu as does fine job
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Because bcc and bpftrace have been set in NON_MULTILIB_RECIPES, 'bcc'
rprovides 'lib32-bcc'. So when multilib is enabled, it is 'bcc' rather
than 'lib32-bcc' installed to lib32 image such as lib32-core-image-minimal.
Then the runtime dependency 64-bit package python3-core is installed
accordingly. It causes 32-bit python modules which contains .so library
do not work any more. For example, it fails to run command 'dnf':
| ImportError: /usr/lib/python3.9/site-packages/libdnf/_error.so: wrong ELF class: ELFCLASS32
Remove bcc and bpftrace from NON_MULTILIB_RECIPES to make sure they are
not installed to lib32 images and mess images up.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
clang delegates atomics to runtime library instead of builtins so link
in libatomic on x86/gnu
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
New version of ppp uses gcc specific options and nested functions which
clang does not support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
-Qunused-arguments means its silencing warning about compiling arm/neon
check code on x86 and tricking the build system to assume that compiler
can support neon on x86
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 helps in addressing an issue where clang is used and it expects
symbols in builtins library which are only provided by compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The minor release is bumped to 11.0.1
Changes is this bump are
* 0874e7ef66c Allow init_priority values <= 100 and > 65535 within system headers.
* 02004c9e7c9 [ADT] Fix for ImmutableMapRef
* 85ce339f1bd [cmake] Fix build of attribute plugin example on Windows
* ef4ffcafbb2 [DAE] MarkLive in MarkValue(MaybeLive) if any use is live
* 3c687677678 DeferredDiagnosticsEmitter crashes
* 701addff1b7 [clang][Sema] Fix PR47676: Handle dependent AltiVec C-style cast
* 5ad2592b5dc [X86] Fix cpu name typos
* 8fc424f26bf Add release tarballs for libclc
* 83716db47f9 [ELF] -r: don't crash when a non-SHF_LINK_ORDER orphan is added before a SHF_LINK_ORDER orphan
* 1ff84a04aeb BPF: fix incorrect DAG2DAG load optimization
* 38399ced95b [ConstantFold] Make areGlobalsPotentiallyEqual less aggressive.
* b59b6b662bb Import github action definitions from release/10.x branch
* 3039965645c Bump version to 11.0.1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| | |
There are compile/link time errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
clang emits __lshrti3 expecting it from builtins library but libgcc does
not have it, since we have compiler-rt support it because its compiled
with -fforce-enable-int128 so link with it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This helps configure checks for sse where clang sends out a unused
option warning but because we use -Qunused-arguments, this warning is
suppressed and -Werror does not notice this warning and checks succeed
for no reason on architectures who dont have SSE. Therefore removing
this option helps compiler to emit the warning and rightly detect that
these options can not be enabled for non-x86 architectures
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| |
| |
| |
| |
| |
| |
| | |
It uses GNU asm which clang's internal assembler gets confused with
and can not interpret .eh_frame section permissions and type
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>
|
| |
| |
| |
| |
| |
| |
| | |
It mixes libstdc++ and libc++ and results in
libspdlog.a(spdlog.cpp.o): undefined reference to symbol '_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE7compareEPKc@@GLIBCXX_3.4.21'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|/
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
mark it gcc only for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
apt 1.8.2+ does not compile with clang, clang is finding narrowing
warnings and printf function is redefined in tests which confuses the
function signatures from libc when fortify is enabled, its therefore
disabled for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Update version number accordingly
Signed-off-by: Khem Raj <raj.khem@gmail.com>
s
|
|
|
|
|
|
| |
It can build with clang now a days
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
bpftrace is only compatible with x86_64, aarch64 and powerpc64. So it's not
able to built as 32 bit binary.
Signed-off-by: He Zhe <zhe.he@windriver.com>
|
|
|
|
|
|
|
| |
bcc is only compatible with x86_64, aarch64 and powerpc64. So it's not able to
built as 32 bit binary.
Signed-off-by: He Zhe <zhe.he@windriver.com>
|
|
|
|
|
|
|
|
| |
This ensures that clangsdk does not inserts itself unless user asks for
Fixes #234
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|