| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
its not needed anymore
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 still fails on aarch64 with many errors like
| build-grub-module-verifier: error: sleep: unsupported relocation 0x108.
Similar reloc errors seen with grub-efi on rv32 as well
on rv64 clang crashes :(
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is fixed upstream
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This has been fixed in clang 15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It seems to have been fixed with clang-15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It works ok with clang15
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This bug seems to be fixed
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>
|
|
|
|
|
|
| |
Tested 2022.07 release
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 is now in core
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>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop objdump patch and git suffix patch as they are applied upstream
brings in these changes
* 29d395a1b7a8 [llvm-objdump] Change printSymbolVersionDependency to use ELFFile API
* 4936d7ce4852 [llvm-objdump][test] Add verneed-invalid.test
* 99882208e234 [compiler-rt] Handle non-canonical triples with new runtime lib layout
* 8b75172a754e (origin/release/15.x) [NFC] Fix exception in version-check.py script
* 3637f345d2ab Bump version to 15.0.1
* c0141f3c300f Downgrade implicit int and implicit function declaration to warning only
* 6fe69891d15c [MachO] Don't fold compact unwind entries with LSDA
* a5ae700c67ec [MachO] Fix dead-stripping __eh_frame
* c51a59d8a947 [libc++][format] Updates feature-test macros.
* 92e7ef99303f [LLD][COFF] Fix writing a map file when range extension thunks are inserted
* c643956d69b1 [mlir] Fix building CRunnerUtils on OpenBSD with 15.x
* 1a5c5e0f67be [DwarfEhPrepare] Assign dummy debug location for inserted _Unwind_Resume calls (PR57469)
* 3a08ad21ce89 [Clang] Fix crash in coverage of if consteval.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
lldb server is needed for native debugging with lldb on target
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
With clang-15, it exposed an error building, where it is trying to link
with libgcc even when llvm unwninder is available in distro. Therefore
use DCOMPILER_RT_USE_BUILTINS_LIBRARY=ON, other options are to match the
recipe with compiler-rt recipe.
Fix missing option -DCOMPILER_RT_ENABLE_STATIC_UNWINDER when building
with static libcxx
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>
|
|
|
|
|
|
|
| |
With clang-15 this is no more required, moreover it crashes
qemu-usermode and apps like libjcat and vte fail to build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang-15 now supports linker relaxations therefore enable it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Clang 15 is causing build issues as of now see
https://bugs.webkit.org/show_bug.cgi?id=244758
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
TARGET_* are not exported in recipes and hence are not available to this
script during build.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
It could be made as a packageconfig but its useful to enable it by
default
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Some of cmake checks in packages depending upon clang check for presense
of these tools during build, therefore populate them into sysroot
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
These tools are needed during build but when building target version of
clang they must be used from clang-native
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
these arches need 64bit atomics which are not available as builtins
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
These are not staged into sysroot otherwise and cmake fails to configure
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
clang can now build multiarch runtimes like debian's setup, but not all
arches work equally well, e.g. arm32 bit can not handle arm and armhf
case, so lets disable it for now.
Use DCMAKE_BUILD_TYPE=RelWithDebInfo as it is needed to set
DCMAKE_BUILD_TYPE in 15.x
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
So that we can get llvm 15.x support
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Drop upstreamed patches and forward port the remaining to latest
sourcess
llvm: Fix libzstd detection with zstd cmake files
Release Notes [1] [2] [3] [4] [5] [6]
[1] https://github.com/llvm/llvm-project/blob/release/15.x/clang/docs/ReleaseNotes.rst
[2] https://releases.llvm.org/15.0.0/docs/ReleaseNotes.html
[3] https://releases.llvm.org/15.0.0/tools/clang/docs/ReleaseNotes.html
[4] https://releases.llvm.org/15.0.0/tools/lld/docs/ReleaseNotes.html
[5] https://releases.llvm.org/15.0.0/projects/libcxx/docs/ReleaseNotes.html
[6] https://releases.llvm.org/15.0.0/tools/clang/tools/extra/docs/ReleaseNotes.html
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
|
|
|
|
|
|
| |
The patch is already applied upstream so drop it.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
classes-recipe domain is new and will break kirkstone and need very
recent bitbake, let it settle some dust before adopting it for
meta-clang
Fixes https://github.com/kraj/meta-clang/issues/651
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This has been applied upstream as well see [1]
[1] https://github.com/systemd/systemd-stable/commit/b0da0d61023ccc912e4d254b03d2350ec65ce87a
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
We need a fix for https://github.com/llvm/llvm-project/issues/57407
before we can re-enable it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Use clang to do native builds as well
this ensures that concerned dependencies are
not asking for different runtime
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class is meant to make it easy to use clang for doing native
builds. Some packages e.g. chromium, rust etc. have specific needs when
using clang. clang built by this layer is ineherently a cross compiler
and its using same compiler for doing native and cross builds for
packages. This class should be added to recipes which intend to use
clanf to do the native builds as well.
inherit clang-native
is all you need in the recipe namespace via the .bb or .bbappend file
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This ensures that -stdlib=libc++ option works as expected
by adding both -lc++ -c++abi to linker command in sequence
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|