summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto: Use gnu objcopy on mipsKhem Raj2022-12-051-0/+3
| | | | | | | Fixes Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 22 in section .rel.dyn is not a symbol table Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.6Khem Raj2022-12-055-81/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Drop backported patches already available in this release This brings following changes * 088f33605d8a [CodeGen][ARM] Fix ARMABIInfo::EmitVAAarg crash with empty record type variadic arg * abcd0341d846 [ELF] Handle GCC collect2 -plugin-opt= on Windows * e6e61e9b2ef7 Revert "Reapply: Add an error message to the default SIGPIPE handler" * 25a36ca5c791 Bump version to 15.0.6 * 154e88af7ec9 Bump version to 15.0.5 * a39989663758 [VectorUtils] Skip interleave members with diff type and alloca sizes. * dc8f6ffc3bf2 [lldb] Get rid of __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS * 392963bb1daf [lldb] Fix 'error: non-const lvalue...' caused by SWIG 4.1.0 * 68799e789fc5 [GlobalOpt] Don't remove inalloca from varargs functions * 11c3a21f8d1b [analyzer] Workaround crash on encountering Class non-type template parameters * 0988addf2680 Link libclangBasic against libatomic when necessary. * 4c3d83810ad7 Link liblldCOFF against libatomic when necessary * d75ae21044ad Set LLVM_ATOMIC_LIB variable for convenient linking against libatomic * 6750e341b076 [TypePromotion] Replace Zext to Truncate for the case src bitwidth is larger * 58ba50a52ede [cmake] Add missing CMakePushCheckState include to FindLibEdit.cmake * 931b6d51d84e Reenable POSIX builtin library functions in gnu2x mode * c8e7a87b1ed6 [CMake] Fix -Wstrict-prototypes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rsync: Use gcc for nowKhem Raj2022-11-271-0/+3
| | | | | | | | Needed until [1] is merged into oe-core [1] https://patchwork.yoctoproject.org/project/oe-core/patch/20221123215941.2411460-1-raj.khem@gmail.com/ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pixman: Do not use clang assembler for nowKhem Raj2022-11-251-0/+1
| | | | | | | | | | | | | Results in assembly file errors e.g. | <instantiation>:1:1: error: unknown directive | .func fname | ^ | <instantiation>:2:1: note: while in macro instantiation | pixman_asm_function fname | ^ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: backport patches to fix lldb errorsAnuj Mittal2022-11-233-0/+78
| | | | | | | | | | | OE-core recently upgraded to swig 4.1.0 which results in errors: 11:49:31 | /poky/build/tmp/work-shared/llvm-project-source-15.0.4-r0/git/lldb/bindings/interfaces.swig:5: Error: Macro '__STDC_LIMIT_MACROS' redefined, 11:49:31 | :1: Error: previous definition of '__STDC_LIMIT_MACROS'. Backport patches from release/15.x branch to fix these. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* clang: Upgrade to 15.0.4Khem Raj2022-11-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | Brings these changes * 5c68a1cb1231 AMDGPU: Make various vector undefs legal * 80a9fc840b1b [clang][Sema] Fix a clang crash with btf_type_tag * 08bd84e8a635 [SPARC] Make calls to function with big return values work * 9d46557baa84 Take memset_inline into account in analyzeLoadFromClobberingMemInst * dd711a939122 [lld-macho] Canonicalize personality pointers in EH frames * 3010b7e00000 [clang][driver] Remove dynamic gcc-toolset/devtoolset logic * db68723804fd [clangd] Return earlier when snippet is empty * 2d5c43ad4844 [lldb] Automatically unwrap parameter packs in template argument accessors * 1e1c5204c259 [SystemZ] Relase notes for LLVM 15 * dccd0613025a [ELF] Suppress "duplicate symbol" when resolving STB_WEAK and STB_GNU_UNIQUE in different COMDATs * 5834fe66318b [AutoUpgrade] Fix remangling when upgrading struct return type * 5388da13992c Bump version to 15.0.4 * 455e1d765ad6 [InstCombine] Bail out of casting calls when a conversion from/to byval is involved. * ceee53ce564c [SROA] Don't speculate phis with different load user types * 086365be7ce0 [test] Make Linux/sem_init_glibc.cpp robust Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mybw: USe gnu objcopy on riscv64Khem Raj2022-10-271-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mybw: Use libgcc to link on x86_64Khem Raj2022-10-261-0/+2
| | | | | | | | Fixes x86_64-yoe-linux-ld: /usr/src/debug/glibc/2.36-r0/stdio-common/printf_fphex.c:198: undefined reference to `__letf2' since compiler-rt does not provide the 'tf' functions Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mybw: Use objcopy from binutils on mipsKhem Raj2022-10-221-0/+4
| | | | | | | | | Use libgcc on x86 instead of compiler-rt llvm objcopy errors out so disable it for now Subprocess output:mips-yoe-linux-llvm-objcopy: error: Link field value 42 in section .rel.dyn is not a symbol table Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Simplify ptest script and use posix syntaxMichal Wojcik2022-10-202-33/+29
| | | | Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bpftrace: Disable ptests on riscv64Khem Raj2022-10-191-6/+13
| | | | | | | Clang crashes compiling some tests so until its fixed in riscv64 backend we have to disable it for atleast rv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Upgrade to 15.0.3Khem Raj2022-10-192-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Brings following changes * 4a2c05b05ed0 [ARM] Fix for MVE i128 vector icmp costs. * f6af95770615 [clangd] Block clang-tidy misc-const-correctness check * 687250913265 [libc++] Fix std::function's handling of blocks under Objc ARC * b4840279846e [CMake] Provide Findzstd module * 6fba7854a2f0 [llvm] [test] Add missing canonicalization of LLVM_ENABLE_ZSTD * e3b0721b5b73 [llvm] [lit] Fix use_lld() to respect llvm_shlib_dir * dfef316bb3d6 [clang-tidy] Fix a false positive in readability-simplify-boolean-expr * d35bc70e8251 [AArch64][SVE] Fix AArch64_SVE_VectorCall calling convention * f3c5289e7846 Revert "Recommit "[SCEV] Look through single value PHIs." (take 3)" * 6599b6e5ae9e Fix LLDB build on old Linux kernels (pre-4.1) * 02129eab7d58 [Syntax] avoid using c++17 features on 15.x branch * fc47af8c9140 Bump version to 15.0.3 * 27e075fcfad1 [Syntax] Fix macro-arg handling in TokenBuffer::spelledForExpanded * 359ef0c93240 [clangd] Improve inlay hints of things expanded from macros * bd5722b87b5a [X86] Remove AVX512VP2INTERSECT from Sapphire Rapids. * 73ea64f30411 [clangd] Avoid scanning up to end of file on each comment! * 61fa70903191 [LoopVersioning] Invalidate SCEV for phi if new values are added. * c0748fe6dec5 [clang-tools-extra] [clangd] Respect llvm_shlib_dir in tests Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Add ptest supportMichal Wojcik2022-10-173-1/+70
| | | | | | | | Use bcc cc and python test suites and parse their results in ptest form. Running whole suite on qemu may take up to 25 minutes, so running it with "ptest-runner -t 1800 bcc" is recommended. Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* fmt: Use libgcc on x86_64 as wellKhem Raj2022-10-121-0/+1
| | | | | | | | compiler-rt does not provide the TF functions for x86 or x86_64 since it does not support TF functions on architectures which does not support 128-bit long double. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "toolchain-clang: Specify -ffile-compilation-dir to omit absolute ↵Khem Raj2022-10-101-2/+0
| | | | | | | | | | file paths in debug info" Original issue has been fixed in clang 15+, -ffile-compilation-dir actually conflicts with creating separate -src packages since it confuses the packager about relative locations of the source files This reverts commit 224863150c9320b32f344792928af7fbda56d65d.
* clang.bbclass: Allow creating src-pkgsKhem Raj2022-10-071-1/+0
| | | | | | | Older versions of clang sometime crashed so this was a workaround but it degrades debugging experience especially with SDK. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Implement finer grained packagingKhem Raj2022-10-071-1/+63
| | | | | | | | | | | Ensure that clang-tidy, clang-format, clang-tools are separated out into own packages and also move libclang-cpp shared object out of clang package too, which should remove every package depending on clang package since this shared object is needed by all tools. Might fix https://github.com/kraj/meta-clang/issues/672 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.2 release tagKhem Raj2022-10-0535-45/+61
| | | | | | | | | | | | | | | | | | | | | | | | | rebase/forward-port all patches brings these changes * 4bd3f3759259 use LLVM_USE_STATIC_ZSTD * 55d4d86e3885 tweak zstd behavior in cmake and llvm config for better testing * 67ac047d7f46 [clang][DebugInfo] Emit debuginfo for non-constant case value * 541ea23a58e7 [gn build] (manually) port 18b4a8bcf35 more * 5f620d003fda [LV] Update handling of scalable pointer inductions after b73d2c8. * b3669eb4ae60 [LV] Add test for #57912. * 966e71daafea [LV] Convert sve-epilog-vect.ll to use opaque pointers. * ebbb5446b0a2 [Clang] Fix variant crashes from GH58028, GH57370 * 77ff99c10bee [ValueTracking] Fix CannotBeOrderedLessThanZero() for fdiv (PR58046) * 6ba100a83f14 [InstSimplify] Add test for PR58046 (NFC) * bcb9b9fc44e4 [libcxx] Make stdatomic.h work when included from a C source file * d3e48d932023 [docs] improve documentation for misc-const-correctness * 0b41e633a338 [clang-tidy] adjust treating of array-of-pointers when 'AnalyzePointers' is deactivated * 10a54971b0d3 Fix build error in StmtPrinterTest.cpp * e08c165dd67a [clangd] Avoid crash when printing call to string literal operator template * 2eba4dd78e2a [ELF] Rewrite R_RISCV_ALIGN nops when r.addend%4 != 0 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* fmt: Use libgcc on x86Khem Raj2022-10-031-0/+1
| | | | | | | This is because compiler-rt does not provide int128 builtins which fmt uses Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Add ptest supportMichal Wojcik2022-09-302-3/+67
| | | | | | | | | Use existing bpftrace unit and runtime tests and parse their results in ptest form. Running whole suite may take up to 40 minutes, so running it with "ptest-runner -t 2400 bpftrace" is recommended. Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* layers: Add langdale to LAYERSERIES_COMPATKhem Raj2022-09-291-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: Upgrade package to latest master (a277ec4)Michal Wojcik2022-09-291-1/+1
| | | | | | Include segfault workaround for LLVM 15 OpaquePointers (a277ec4). Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* bpftrace: Upgrade package to latest master (475ad59)Michal Wojcik2022-09-281-3/+2
| | | | | | Upgrade package to include segmentation fault fix added in bb2b5d8. Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* clang: Bump to 15.0.2Khem Raj2022-09-282-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Brings these changes * 451e3b68306d Bump version to 15.0.2 * 9d3635c8675f Exclude check-polly-unittests and check-polly-isl from check-all * a26ef3c19ede [Hexagon] Add defaulted operator= to classes with defaulted copy ctor * f1ad3abf75f0 [MachineCycle][NFC] add a cache for block and its top level cycle * 8d802f78fa8c [libc++] Keep unary_function and binary_function in C++17 for one more release * 5d9fa4d16e0e SPIRV: Fix compilation in NDEBUG. * b73d2c8c720a [LV] Keep track of cost-based ScalarAfterVec in VPWidenPointerInd. * 38b5fa73d585 [LV] Move new epilog-vectorization-widen-inductions.ll to AArch64 dir. * c079a29305bb [LV] Add tests for epilogue vectorization with widened inductions. * d64394b81d6e [libc++] Always query the compiler to find whether a type is always lockfree * c6d2e8bcc033 [docs] Fix build-docs.sh * 43b5b04f27f1 [libcxx] Bump libc++ version to 15.0.1 * d4bada99c069 [CodeGen] Don't zero callee-save registers with zero-call-used-regs (PR57692) * 433f2aaa32bd [lit] Set shlibpath_var on OpenBSD * 063556d02def [clang(d)] Include/Exclude CLDXC options properly * 046d5b917bcd [Libomptarget] Revert changes to AMDGPU plugin destructors Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix libclang package files listMichal Wojcik2022-09-271-1/+1
| | | | | | | Use libclang.so.* wildcard to include all .so files (not only dangling symlink ./usr/lib/libclang.so.15 -> libclang.so.15.0.1). Signed-off-by: Michal Wojcik <michal.wojcik@linaro.org>
* compiler-rt-sanitizers: fix multiple installations for orc libMamta Shukla2022-09-201-1/+2
| | | | | | | remove libclang_rt.orc and c_orc.h header since it is being installed by both compiler-rt and compiler-rt-sanitizer when built for arm. Signed-off-by: Mamta Shukla <mamta.shukla@leica-geosystems.com>
* gnutls,harfbuzz: No need for adding -latomic on rv64Khem Raj2022-09-181-2/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert "concurrencykit: Do not need to use -no-integrated-as anymore on arm"Khem Raj2022-09-181-0/+8
| | | | This reverts commit 320e91209c7000729dfafbc84a72dbd755f18483.
* lttng-ust: Use clang to compile it again on rv64Khem Raj2022-09-181-2/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mpich: Drop using libgcc unwinder on x86Khem Raj2022-09-181-1/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libbsd: Add more info about the induced errors due to libbsdKhem Raj2022-09-171-0/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* kexec-tools: Do not need -no-integrated-as anymore on x86Khem Raj2022-09-171-8/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* aufs-util,libc-bench: Drop forcing to use libgcc undwinder on armKhem Raj2022-09-171-2/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* concurrencykit: Do not need to use -no-integrated-as anymore on armKhem Raj2022-09-171-8/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libsdl2: Drop using -no-integrated-as on armKhem Raj2022-09-171-6/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>