summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* poke: Enable -O2 with clang againKhem Raj2022-09-171-3/+0
| | | | | | It seems to have been fixed with clang-15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* memcached: do not disable embedded-directive anymoreKhem Raj2022-09-171-3/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* xdelta3: Do not disable reserved-user-defined-literal error anymoreKhem Raj2022-09-171-6/+0
| | | | | | It works ok with clang15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sqlite-orm: Do not remove -g anymoreKhem Raj2022-09-171-3/+0
| | | | | | This bug seems to be fixed Signed-off-by: Khem Raj <raj.khem@gmail.com>
* valgrind: Add info about upstream bug compiling with clangKhem Raj2022-09-171-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* elfutils: Enable clang compiler on muslKhem Raj2022-09-171-1/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: It can compile with clangKhem Raj2022-09-171-1/+0
| | | | | | Tested 2022.07 release Signed-off-by: Khem Raj <raj.khem@gmail.com>
* babeltrace2: Use clang compilerKhem Raj2022-09-171-2/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* apt: Remove clang specific kludgesKhem Raj2022-09-171-9/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ltp: Remove fix for x86 with clangKhem Raj2022-09-171-4/+0
| | | | | | This is now in core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mdadm: Enable compiling with clangKhem Raj2022-09-171-3/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jack: Enable build with clang on 32bit arches as wellKhem Raj2022-09-171-6/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libdevmapper: Enable build with clangKhem Raj2022-09-171-5/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python: Enable build with clang on targetKhem Raj2022-09-172-6/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to latest on release/15.xKhem Raj2022-09-1539-231/+46
| | | | | | | | | | | | | | | | | | | | | | 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: Add missing rdep on lldb-serverKhem Raj2022-09-151-1/+1
| | | | | | lldb server is needed for native debugging with lldb on target Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix llvm-objdump crash on aarch64/muslKhem Raj2022-09-132-0/+158
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* compiler-rt-sanitizers: Fix arm buildsKhem Raj2022-09-121-2/+4
| | | | | | | | | | | | 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>
* compiler-rt-sanitizers: Fix build on mipsKhem Raj2022-09-122-0/+33
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openssh: Use gcc for nowKhem Raj2022-09-121-0/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* gnutls: Drop using -no-integrated-as on aarch64Khem Raj2022-09-121-3/+0
| | | | | | | 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.bbclass: Remove -mno-relaxKhem Raj2022-09-121-4/+0
| | | | | | clang-15 now supports linker relaxations therefore enable it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* webkitgtk: Use gcc for nowKhem Raj2022-09-121-0/+3
| | | | | | | | 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>
* python3-matplotlib: Use llvm strip when using clang on riscvKhem Raj2022-09-121-0/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* llvm-config: Replace TARGET_* flags with normal equivalent flagsKhem Raj2022-09-121-4/+4
| | | | | | | 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>
* clang: Depend on zstdKhem Raj2022-09-121-1/+1
| | | | | | | It could be made as a packageconfig but its useful to enable it by default Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Add a comment to describe RUNTIME combinationsKhem Raj2022-09-121-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Populate cmake needed binaries in sysrootKhem Raj2022-09-121-1/+8
| | | | | | | 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>
* clang: Use host built clang-pseudo-gen and clang-tidy-confusable-chars-gen toolsKhem Raj2022-09-121-2/+12
| | | | | | | 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>
* clang: Link with libatomic on mips/riscv32Khem Raj2022-09-121-0/+3
| | | | | | these arches need 64bit atomics which are not available as builtins Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Add compiler-rt and libcxx to build time depends for targetKhem Raj2022-09-121-1/+1
| | | | | | These are not staged into sysroot otherwise and cmake fails to configure Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang, llvm-rutime: Turn per target runtime off and use RelWithDebInfo for buildKhem Raj2022-09-126-4/+15
| | | | | | | | | | | 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>
* spirv-llvm-translator: Update to latest tip of trunkKhem Raj2022-09-121-3/+3
| | | | | | So that we can get llvm 15.x support Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to clang 15.0.0 releaseKhem Raj2022-09-1243-479/+265
| | | | | | | | | | | | | | | | | | 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>
* compiler-rt-sanitizer: fix nativesdk-compiler-rt-sanitizers buildMamta Shukla2022-09-091-1/+1
| | | | Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
* bpftrace: Upgrade to 0.16.0Khem Raj2022-09-072-214/+1
| | | | | | The patch is already applied upstream so drop it. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-native.bbclass: Move to classes folderKhem Raj2022-09-031-0/+0
| | | | | | | | | | 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>
* systemd: Disable O2 when using clang for nowKhem Raj2022-08-301-0/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* systemd-boot: Remove local -O1 kludgeKhem Raj2022-08-301-4/+0
| | | | | | | 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>
* Do not use llvm-strip for nowKhem Raj2022-08-301-1/+1
| | | | | | | 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>
* rust-llvm,rust: Use libc++ when RUNTIME = "llvm"Khem Raj2022-08-302-0/+7
| | | | | | | | 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>
* clang-native.bbclass: Add new classKhem Raj2022-08-301-0/+23
| | | | | | | | | | | | | | | 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>
* libcxx: Enable installing libc++.so as linker scriptKhem Raj2022-08-301-3/+1
| | | | | | | 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>
* yoe.yml: Use poky repo to find sstate-cache-management.shKhem Raj2022-08-171-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Upgrade to 0.25.0Khem Raj2022-08-141-1/+1
| | | | | | | Changes are here [1] [1] https://github.com/iovisor/bcc/releases/tag/v0.25.0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* toolchain-clang: Specify -ffile-compilation-dir to omit absolute file paths ↵Khem Raj2022-08-121-0/+2
| | | | | | | | | | | | in debug info Clang does not remap the src filename in asm files debug info when using -fdebug-prefix-map but gcc does [1], however, there is an option to help reproducibility with clang namely ffile-compilation-dir to remove the source directory from path. use it globally with clang compiler [1] https://github.com/llvm/llvm-project/issues/56609 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3: remove override for aarch64Otavio Salvador2022-08-081-2/+0
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* castxml: Update to 0.4.5Khem Raj2022-08-071-3/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sanitizer: Fix build with glibc 2.36Khem Raj2022-08-072-0/+63
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ltp: Remove -mfpmath=sse option when using clangKhem Raj2022-07-181-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>