summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* libvorbis,mpg123: Drop using -fno-fast-math with clangKhem Raj2022-09-171-4/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qemu,libffi,openssl: Drop clang kludges for armKhem Raj2022-09-171-17/+0
| | | | | | They are not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openssl: Drop using -no-integrated-asKhem Raj2022-09-171-5/+0
| | | | | | clang-15 is fine without it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libaio: Drop using -fheinous-gnu-extensionsKhem Raj2022-09-171-4/+0
| | | | | | its not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
* redis: Re-enable clang on mipsKhem Raj2022-09-171-4/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mpfr: Use clang again on mips/mips64Khem Raj2022-09-171-4/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* grub: Use clang to compile it on all except aarch64/riscvKhem Raj2022-09-171-2/+9
| | | | | | | | | | | 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>
* kexec-tools-klibc: Unbolt workaround for 53998Khem Raj2022-09-171-3/+0
| | | | | | This is fixed upstream Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mips: Remove workarounds for issue 53722 and 54044Khem Raj2022-09-171-17/+0
| | | | | | This has been fixed in clang 15 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* upm: Use internal assembler againKhem Raj2022-09-171-5/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>