| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Add libgcc as defined by $CC to link of libc++.
Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
|
|
|
|
|
|
|
|
|
|
| |
src uri has long moved to git, and that is also being used as solib suffix
Fixes packaging errors
ERROR: clang-10.0.0-r0 do_package_qa: QA Issue: libclang rdepends on clang-dev [dev-deps]
ERROR: clang-10.0.0-r0 do_package_qa: QA Issue: clang rdepends on clang-dev [dev-deps]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This helps configure scripts to detect right set of
compiler specific options to enable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Building mesa (at least version 19.3.4) with clang 9.0.1 leads
to linker errors on x86/x86-64:
"undefined reference to `typeinfo for llvm::raw_pwrite_stream'"
in libvulkan_radeon.so
and
"undefined reference to `typeinfo for llvm::RTDyldMemoryManager'"
in libgallium.a.
It was reported at https://gitlab.freedesktop.org/mesa/mesa/issues/2533
It seems it is related to rtti not being enabled, at least reports
from a few years ago on forums lead to that conclusion.
But enabling rtti for clang in PACKAGECONFIG doesn't help.
Just build mesa with gcc, it fixes the linker errors.
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
|
|
|
| |
Dependency is core as per README.md
|
|\
| |
| | |
Zeus sync from master
|
| |\
| | |
| | | |
merge master to zeus ( upgrade to 9.0.1 )
|
| | |\
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Disable it by default, since centos7/gcc4.8 can't handle it
Fixes Issue #262
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>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This helps in consuming less memory during link stage and also fixed
link failures on mips64
Using clang cross itself ends up crashing
| clang-9: error: unable to execute command: Killed
| clang-9: error: linker command failed due to signal (use -v to see invocation)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Davis <michael.davis@essvote.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes
error Unknown or unsupported architecture
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | | |
|
| | |
| | |
| | |
| | | |
Co-authored-by: INAJIMA Daisuke <inajima@soum.co.jp>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes
/usr/src/debug/cpio/2.13-r0/build/gnu/../../cpio-2.13/gnu/xmalloc.c:100: undefined reference to `__mulodi4'
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)
Makefile:1124: recipe for target 'rmt' failed
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fails with error on clang
error: return address can be determined only for current frame
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
clang crashes for some reason
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This ensures that clang can link with libdl on platforms where needed
Fixes issue #241
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>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
add 'thin-lto' or 'full-lto' to DISTRO_FEATURES to enable it
instead of making it unconditional
Should fix Issue #236
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | | |
This fixes #162 for nativesdk-clang.
|
| | |
| | |
| | |
| | | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Davis <michael.davis@essvote.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | | |
Signed-off-by: Michael Davis <michael.davis@essvote.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
As CLANGSDK defaults to '1', users who have not read the README may
think that setting it to '0' would disable adding Clang to the SDK.
Little do they know that you need to *unset* the value for this to work
(as bool('0') -> True).
Change the logic to use bb.utils.contains(), so that '0' is not true.
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In 003dd05e4c168f7c3cccb9cbfad3fd8f38fe8741, clang replaced the oe-core
provided llvm for building mesa. However, mesa needs AMDGPU to be
enabled on the native target in order to build. Following the example
of oe-core's recipe, just enable AMDGPU for all targets.
Signed-off-by: Justin Bronder <jsbronder@cold-front.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Drop 0021-Driver-Prioritize-SYSROOT-usr-include-over-RESOURCE_.patch as
its already applied upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
libffi expects arv7+neon with clang in asm
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Needed for clang since it needs __mulodi4 but these arches do not build
compiler-rt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
compile-rt is not fully ported for ARM big-endian therefore disable it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
gcc uses intrinsics for atomic<double> but clang does not for x86
when using libstdc++
./media/audio/pulse/pulse_input.cc uses this atomic variable
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This helps in deciding on linking libatomic, therefore its important to
check for atomic<double> because on x86, clang decides to not use
built-in whereas gcc does, so clangd e.g. links ok when using gcc but
fails when using clang with gcc-runtime on x86
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 2fdb19c4f8b025d4465d78cdf1bc05d786f5e087.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
It expects libc++ with clang
Fixes
| CMake Error at CMakeLists.txt:316 (message):
| gerbera requires C++17 Optional to be available. Check your compiler is
| >=GCC 7.1 or >=libc++ 5
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | | |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Fixes
| /usr/src/debug/webkitgtk/2.26.2-r0/webkitgtk-2.26.2/Source/WTF/wtf/CheckedArithmetic.h:365: error: undefined reference to '__mulodi4'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|