| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
it will take some effort to fix it going with clang 14
due to VSX/altivec intrinsics conflicts
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
llvm versions have a known bug
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This is to workaround issue [1] seen with LLVM mips
[1] https://github.com/llvm/llvm-project/issues/54213
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
See https://github.com/meta-qt5/meta-qt5/pull/453
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Workaround for clang crash
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This reverts d5219d8 and 24e8c73 since clang has been fixed now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Workaround Clang14 crash
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>
|
|
|
|
|
|
|
| |
Clang14 is currently crashing in optimizers, therefore workaround it by
using -O0 for now.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This is until upstream bugs are fixed, linux-firmware change however is
legit and will be permanent
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
for riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
latest opensbi seems to build fine now a days
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Fixes a warning additionally generated by clang
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It needs work to get going with clang. Until then keep using gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The code has inline arm asm in header files which is not compilable with
clang's internal 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>
|
|
|
|
|
|
|
| |
glibc is not yet compilable for clang
and glibc-tests is driven out of glibc sources in essense
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
clang does not like __builtin_return_address macro and errors out
| error: return address can be determined only for current frame
| 18 errors generated.
| make: *** [Makefile:81: libgcompat/execinfo.o] Error 1
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
latest clang can compile mesa just fine
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Clang runs into this issue
https://github.com/openssl/openssl/issues/14083
Link with -libatomic on x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It needs symbols like __multf3 which are not in compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This uses static link and glibc uses libgcc intrinsics which otherwise
are undefinded. Glibc is built using gcc + gnu runtime still
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
| |
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
integrated assembler crashes latest clang on aarch64, so lets disable it
for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang segfaults while processing .S files
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
mongodb builds fine with latest clang/13.0.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
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>
|