| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
This reverts commit 0ea2df0462edc0c01e787b6ee6c0e20cd6a42fc7.
[Backport: match OE-Core machanism in scarthgap]
Signed-off-by: Ariel D'Alessandro <ariel.dalessandro@collabora.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 424c2d9b7e4d [libcxx] Add a missing include for __bit_iterator (#127015)
* 2cc53628fbe8 [SCEV] Check whether the start is non-zero in `ScalarEvolution::howFarToZero` (#131522)
* 0619bbcbbd86 [BPF] Add default cpu change in ReleaseNotes (#131691)
* 2dc152fb40db fix abi (again)
* 2044b18af046 fix abi
* e3f0ce3ef803 [Clang] Do not emit nodiscard warnings for the base expr of static member access (#131450)
* 0ceb4efefeaa [CUDA][HIP] fix virtual dtor host/device attr (#128926)
* 1058e693f090 [libc++][test] Skip a `is_virtual_base_of` test for apple-clang-17 (#131438)
* 1f9d00524b8c [libc++] Forward-proof some tests for AppleClang 17
* 1515c4ac202d [LAA] Consider accessed addrspace when mapping underlying obj to access. (#129087)
* 1cfbb9f33436 Backport/20.x: [Clang] Fix an incorrect assumption on getTemplatedDecl()
* 0fcfeacd8b99 [BPF] Fix BitCast Assertion with NonZero AddrSpace
* 0b23d98dceaa Reduce memory usage in AST parent map generation by lazily checking if nodes have been seen (#129934)
* 073ae08864b4 AMDGPU: Fix broken broken negative test for gfx950 assembler (#129667) (#129686)
* cb50aaf8a11b [llvm-objcopy] Apply encryptable offset to first segment, not section (#130517)
* 63e63f306128 [Clang] Fix an integer overflow issue in computing CTAD's parameter depth (#128704)
* b09b05b8e7c3 [MemCpyOpt] Fix clobber check in fca2memcpy optimization
* 64ae6413559e [SystemZ] Move disabling of arg verification to before isFullyInternal(). (#130693)
* 548d057ebcfa [VectorCombine] scalarizeLoadExtract - don't create scalar loads if any extract is waiting to be erased (#129375)
* 7c154dad4d15 [Clang] Fix GPU intrinsic helpers incorrectly sign extending (#129560)
* 946780474f3b [libc++][test] extend XFAIL clauses to cover Amazon Linux too (#129377)
* f09bcfbdc90b [LoongArch] Relax the restrictions of inlineasm operand modifier 'u' and 'w' (#129864)
* f62b50e0e8f1 [ValueTracking] Skip incoming values that are the same as the phi in `isGuaranteedNotToBeUndefOrPoison` (#130111)
* 50343e517992 [HEXAGON] Fix hvx-isel for extract_subvector op (#129672)
* 0412f708c380 [TailDuplicator] Do not restrict the computed gotos (#114990)
* 72c4a3f419f4 [clang][test] Don't require specific alignment in test case (#130589)
* fbb2a7e74d91 [clang] Reject constexpr-unknown values as constant expressions more consistently (#129952)
* 9010db1b84ef [Clang] Treat constexpr-unknown value as invalid in `EvaluateAsInitializer` (#128409)
* 32ce5b043c2b [AArch64] Fix BE popcount casts. (#129879)
* 05be3ca72e39 [AArch64] Add BE test coverage for popcount. NFC
* 0e96713a3b29 [ValueTracking] Bail out on x86_fp80 when computing fpclass with knownbits (#130477)
* 0fda7e633255 [X86][AVX10.2] Fix unexpected larger scope (#130767)
* f7a4e3a4d45d [clang-format] Don't remove parentheses separated from ellipsis by comma (#130471)
* 1d4d84c89be6 [AArch64] Don't try to custom lower fp16 selects with nofp (#129492)
* 0064565bce3f [DAGCombiner] Don't ignore N2's undef elements in `foldVSelectOfConstants` (#129272)
* 54c90e4cdf2f [lldb] Fix manual CURSES_LIBRARIES tinfo finding (#128245)
* 712d3c7f0944 [lldb] Add terminfo dependency for ncurses support (#126810)
* 6525b151fe77 [Hexagon] Handle Call Operand vxi1 in Hexagon Backend (#128027)
* dcc378e862de [libc++] Guard <codecvt> contents on _LIBCPP_HAS_LOCALIZATION (#129112)
* 0f5e7e86e38e [SystemZ] Add header guard macros to vecintrin.h (#129170)
* 5b552d780ae8 [LV][VPlan] Prevent calculate cost for skiped instructions in precomputeCosts(). (#127966)
* 20adce87104c [libc++][ci] Update the Windows toolchains to Clang 19 (#129232)
* 0e537474ea59 Bump version to 20.1.1 (#130806)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Fixes
/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp:627:29: error: use of undeclared identifier 'TlsPreTcbSize'
627 | const uptr pre_tcb_size = TlsPreTcbSize();
| ^
1 error generated.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang-20 is unable to build webkit 2.48 for rv64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
clang 20 can not compile webkit 2.48
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This ensures that search path for subsequent tools e.g. linker
assembler are searched in the same dir where <cross>-clang is
installed. If its a symlink to ../clang then the reference
installation dir is ../ and all cross-tools are not there
so clang may fail to find assembler/linker from cross staging
area and use /usr/bin/ld or /usr/bin/as which we do not want
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes
| ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e32mf2'
| ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e32mf2'
| ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvlmax_e64m1'
| ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e64m1'
| ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e64m1'
| ../numpy-2.2.3/numpy/_core/src/highway/hwy/ops/rvv-inl.h:644:17: error: use of undeclared identifier '__riscv_vsetvl_e64m1'
| fatal error: too many errors emitted, stopping now [-ferror-limit=]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Fixes
ERROR: bpftrace-0.23.0+git-r0 do_package: QA Issue: bpftrace: Files/directories were installed but not shipped in any package:
/usr/share/bash-completion
/usr/share/bash-completion/completions
/usr/share/bash-completion/completions/bpftrace
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is targetting clang-20 support.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Fix version string and add missing dependencies for ptests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building native recipes using clang as native compiler e.g.
compiler-rt-native, setting -target can be out of sync with the
underlying distro's understanding of gcc tuple e.g. aarch64-linux
or aarch64-linux-gnu, which is used by distros to house the gcc
runtime e.g. on ubuntu
/usr/lib/gcc/aarch64-linux-gnu/11
/usr/lib/gcc/aarch64-linux-gnu/9
if we provide -target its not able to deduce it from the build host
which is required for native packages
try with
recipe-sysroot-native/usr/bin/clang -xc /dev/null -rtlib=libgcc --unwindlib=libgcc -stdlib=libstdc++ -v
or
recipe-sysroot-native/usr/bin/clang -xc /dev/null -rtlib=libgcc --unwindlib=libgcc -stdlib=libstdc++ -target aarch64-linux -v
to see the difference
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This fails fmt to build with clang-20 + libcxx
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Use IWYU_RESOURCE_RELATIVE_TO=iwyu
License-Update: Copyright year incremented [1]
[1] https://github.com/include-what-you-use/include-what-you-use/commit/414d6f760caba8068b208d31125409a60930df69
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>
|
|
|
|
|
|
|
|
|
|
|
| |
Release Notes clang-extra-tools [4] lld [3] clang [2] llvm [1]
[1] https://releases.llvm.org/20.1.0/docs/ReleaseNotes.html
[2] https://releases.llvm.org/20.1.0/tools/clang/docs/ReleaseNotes.html
[3] https://releases.llvm.org/20.1.0/tools/lld/docs/ReleaseNotes.html
[4] https://releases.llvm.org/20.1.0/tools/clang/tools/extra/docs/ReleaseNotes.html
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In certain configurations LLVMConfig.cmake does not exist. If that's the case do_install breaks for the nativesdk-clang recipe.
Eg. set the following:
EXTRA_OECMAKE:append:pn-nativesdk-clang = " -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON"
as suggested here:
https://llvm.org/docs/BuildingADistribution.html
Signed-off-by: aprospero <apro@posteo.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Similar gcc recipes in oe-core [1], set BPN = "clang" in common.inc for
clang cross,crosssdk,cross-canadian recipes, but the recipe compiler-rt-sanitizers,
compiler-rt, libclc, libcxx, openmp which shares sources with clang are not affected
Due to commit [2], the BPN of llvm-project-source is not affected by this
commit
[1] https://github.com/openembedded/openembedded-core/commit/a2c5509520d5c3e082f55844e6545d0309565f8f
[2] https://github.com/kraj/meta-clang/commit/e7517e1910a7d49abb4782fa0778f0b958f7717d
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
|
|
|
|
|
| |
Somehow g-i parser is confused with glibc 2.41 headers on x86-64 as well
when using clang, it works ok when using gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
LLD does not understand the linker script versioning scheme as BFD linker does
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Somehow g-i parser is confused with glibc 2.41 headers on x86
when using clang, it works ok when using gcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Update meta-clang to match OE-Core changes to use recipe specific virtual
providers (without yet switching to the new switching mechanism).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
|
|
|
|
|
| |
Clang generates _atomic_store calls
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Changes described here
https://discourse.llvm.org/t/llvm-19-1-7-released/84062
Brings [1]
[1] https://github.com/llvm/llvm-project/compare/llvmorg-19.1.6...llvmorg-19.1.7
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
With boost 1.87, internal assembler seems to be not able to
compile boost only on arm ( 32bit ), so for now disable internal assembler
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Newer version of snort3 does not work with libc++, until
its fixed resort to using libstdc++
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Related to some issues in my project with compiling aws-lc-rs, issue
https://github.com/aws/aws-lc-rs/issues/591, I updated to the current
version.
Tested on my project
https://github.com/MrTarantoga/SpotyPee/commit/f83b2a0c32f28af2c81069ced5b9942bbb98d25a
and with the poky standard arm environment.
Changelog https://github.com/rust-lang/rust-bindgen/releases/tag/v0.71.1
Signed-off-by: Götz Grimmer <goetz-dev@web.de>
|
|
|
|
|
|
|
|
| |
Brings following changes [1]
[1] https://github.com/llvm/llvm-project/compare/llvmorg-19.1.5...llvmorg-19.1.6
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Changes
https://discourse.llvm.org/t/llvm-19-1-5-released/83455
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Use same way for seatd
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With these settings, we'll have multiple providers of llvm. This means
that with pristine poky master + meta-clang master, we'll have some
output like below:
NOTE: Multiple providers are available for llvm-native (llvm-native, clang-native)
Consider defining a PREFERRED_PROVIDER entry to match llvm-native
And when running 'bitbake world', we'll get error messages like below:
ERROR: Multiple .bb files are due to be built which each provide llvm-native:
virtual:native:/PATH/TO/poky/meta/recipes-devtools/llvm/llvm_19.1.4.bb
virtual:native:/PATH/TO/Yocto/poky/meta-clang/recipes-devtools/clang/clang_git.bb
As the README.md has already specified how to use this layer, let's
remove such settings before sorting things out.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Additionally disable relaxation on rv32 with lld see [1]
[1] https://github.com/llvm/llvm-project/issues/113838
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
VAR:append:<OVERRIDES> is the right way to use it
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: Jan Vermaete <jan.vermaete@gmail.com>
|
|
|
|
| |
Signed-off-by: Jan Kircher <jan.kircher@leica-microsystems.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
glibc static library expects builtins from libgcc which may not exist
in compiler-rt, therefore use libgcc explicitly.
Now that static is enabled by default in packageconfig
Fix is taken from [1]
[1] https://github.com/foundriesio/meta-lmp/commit/0abb08c83aee7027711f538e29a5ff16dc334304
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
libc++ seems to result in test failures, perhaps something to fix
in toml++ but it needs to be triaged.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Release has changes as mentioned in [1] and [2]
[1] https://discourse.llvm.org/t/llvm-19-1-1-released/82321
[2] https://discourse.llvm.org/t/llvm-19-1-2-released/82550
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
lib32-llvm-project-source-19.1.0 and llvm-project-source-19.1.0
While enabling multilib, build lib32-llvm-project-source-19.1.0 and
llvm-project-source-19.1.0 at the same time:
$ MACHINE = "qemux86-64"
$ require conf/multilib.conf
$ MULTILIBS = "multilib:lib32"
$ DEFAULTTUNE:virtclass-multilib-lib32 = "x86"
$ bitbake lib32-llvm-project-source-19.1.0 llvm-project-source-19.1.0
...
$ cat tmp/work-shared/llvm-project-source-19.1.0-r0/temp/log.task_order
20241012-070604.819630 do_recipe_qa (2728706): log.do_recipe_qa.2728706
20241012-070604.883194 do_recipe_qa (2728707): log.do_recipe_qa.2728707
20241012-070605.037448 do_fetch (2728779): log.do_fetch.2728779
20241012-070605.165280 do_fetch (2728848): log.do_fetch.2728848
20241012-071030.798104 do_unpack (2733554): log.do_unpack.2733554
20241012-071030.864536 do_unpack (2733559): log.do_unpack.2733559
There are two tasks for do_fetch, do_unpack and others, so there are race issues.
Both of them have the same hardcode 'llvm-project-source-' prefix in ${WORKDIR} and
${S}, explicitly disable lib32-llvm-project-source-19.1.0 for multilib
Set llvm-project-source as BPN of llvm-project-source-19.1.0
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
it uses its own linker wrapper which calls LD variable in the end
and expects it to be traditional GNU linker. Lets provide it
what it needs.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
When ld-is-lld is in DISTRO_FEATURE, user wants to use lld as system
linker, therefore honor the setting for bare linker as well, for compiler
its being taken care by clang itself using -fuse-ld=lld
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
This creates a problem when swapping linkers, it
does not work without cleaning the recipe first,
in anycase if we want to use lld as default in clang
then it should be done during clang compile
Add packageconfig to let clang defualt
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
This reverts commit d1793483a76914baa11a44eb767acaeef675d310.
|
|
|
|
|
|
| |
Trivial fix for a typo in the LIBCPLUSPLUS examples.
Signed-off-by: Pablo Saavedra <psaavedra@igalia.com>
|