| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Keep the packageconfig for gallium-llvm from core
export YOCTO_ALTERNATE_EXE_PATH only when toolchain-clang is in use
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Brings following bugfixes
* 42d1b276f779 Bump version to 16.0.1
* ebafcb86c35c [CMake] Respect variables for specifying host tools even without LLVM_USE_HOST_TOOLS set
* 8de1b29840b5 [llvm-objdump] Fix help message for --print-imm-hex
* 1ca4b5cfaa70 [sanitizer][win] Change cmdline check to allow double backslashs
* 973cea755440 [BOLT] Search section based on relocation symbol
* 140c68db4fe4 [libc++] Avoid ODR violations in __exception_guard
* a18482ac5089 [BOLT][AArch64] Replace NOP with adrp in AdrRelaxationPass to preserve relative offsets.
* c2ef3257df81 [BOLT][NFC] Remove C-style out of bounds array ref
* 1c1ab11d6e1e [RISCV][MC] Adjust conditions to emit R_RISCV_ADD*/R_RISCV_SUB* pairs
* 34194d85544f [test] Add some interesting cases to MC/RISCV/riscv64-64b-pcrel.s
* ee1493c713d6 [test] Improve MC/RISCV/riscv64-64b-pcrel.s to demonstrate regression due to D132262
* 4f243f137859 [test] Improve MC/RISCV/riscv64-64b-pcrel.s
* 1f9ea2d3f045 [X86] AMD Genoa (znver4) Scheduler model update
* 0b4106274631 [BOLT] Reject symbols pointing to section end
* 14ed120b2307 No longer issue static lambda pedantic warning for pre-c++2b compat
* 32b8cc7031f0 [BOLT] Fix data reoder for aarch64
* 867c59c2da17 [Coroutines] Pass size parameter for deallocation function when qualified
* 6dc69d034845 [libc++][ranges] Fix incorrect integer typedef in `elements_view` test.
* 99af55f91f5d [libc++][format] Fix a missing include in tests.
* 8a80823218a8 [libunwind][PowerPC] Fix saving/restoring VSX registers on LE systems
* c5b23ab2a31a JITLink: Add missing EHFrame NULL terminator on aarch64/ELF
* 2352a1b1e917 Reapply [lld][flang] Add exceptions for Flang runtime libraries on MinGW.
* 37ea87b88d07 No longer issue pedantic warning about pre-c++2b compat
* a70565f7de2e [libunwind][Modules] Add unwind_arm_ehabi.h and unwind_itanium.h to the unwind module)
* 56edf062bdb6 [dsymutil] dsymutil produces broken lines info (probably) with LTO on mac
* bec9a607690b [compiler-rt] Add missing #else clause to fix the build on NetBSD.
* 3c0850337bd8 [X86] Fix encoding for ATOMIC_LOGIC_OP
* ba22382d514b [X86] Add negative test for D145930
* 2861fa247395 [Driver][FreeBSD] Simplify ARM handling
* 1172ed57d823 [analyzer] Fix crashing getSValFromInitListExpr for nested initlists
* 830229ee918d [WebAssembly] Add auto-upgrade for renamed intrinsics
* b5f9ea64b207 [X86] Support load/store for bf16 in avx
* bb6a97c15aa2 [AArch64] fix bug #55005 handle DW_CFA_GNU_NegateRAState
* aef3508f89c4 [flang] Fixed uninitialized std::unique_ptr dereference.
* fbf716ffe163 [flang] Fixed restrictions checking for OpenACC loop-associated constructs.
* 2ecbe73ceeda [flang] Fix dereference of std::optional with no value
* 0e227de08e32 [LLDB][ObjectFileELF] Correct the return type of Reloc{Offset,Addend}32
* 7d28293f17fa [LLDB][ObjectFileELF] Correct the return type of RelocOffset64 and RelocAddend64
* 6d3b7679ef21 [LLDB][ObjectFileELF] Support LoongArch64 in ApplyReloctions
* a824efcd0158 [BPF] Improve pruning to avoid generate more types in BTF
* ab86d147e852 [libunwind][AArch64] Unbreak building with GNU assembler
* 526102b37e59 [InstCombine] Canonicalize icmp eq pow2 more thoroughly
* 7049d5895700 [InstCombine] Add additional test for icmp eq/ne with bool load (NFC)
* b3ea3484c063 [Pipelines] Restore old DAE position in LTO pipeline
* 72cb90bd7b62 [PhaseOrdering] Add test for DAE/GlobalDCE interaction (NFC)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
It fails to run task do_package of compiler-rt with
[installed-vs-shipped] issue when ${libdir} does not equal
${nonarch_libdir}. Update do_install script to fix the issue.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
|
|
|
|
|
| |
This ensures bundled gn is built propertly using gnu rumtime for build
host
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
This reverts commit 20a8cff8ba0ce02773946cd7ba398fc08969ce1e.
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It does not build them with 16.0.0+
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Try to compile with clang 16
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Clang-16 adds this new warnings which triggers on nodejs, disable it for
now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Clang-16 finds more warnings which are treated as errors, lets disable
them for now
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
This needs to get several recipes to work with clang-16, originally the
problem is in vala I think. Which should be fixed in due course
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
It fails to configure in lit tests during cross compile
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Install uses MAJOR_VERSION only but clang still searches in
${MAJOR_VER}.${MINOR_VER}.${PATCH_VER} for it, so this inconsistency
needs to be fixed until them we just move the install from
${MAJOR_VER} -> ${MAJOR_VER}.${MINOR_VER}.${PATCH_VER}
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
Changes are described here [1]
[1] https://discourse.llvm.org/t/llvm-16-0-0-release/69326
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
The recipe has been patched to remove the clang dependency and moved to meta-openembedded at
https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
|
| |
It pokes at target llvm.cmake and gets the path
LLVM_TOOLS_BINARY_DIR pointing to target sysroot
however during cross builds it should be looking
for tools for cross building in native sysroot
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
Use system provided bpf and bcc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
When the bbappend was moved to Meson in 2019[1] the EXTRA_OEMESON
variable was misspelt as EXTRA_OEMASON.
As this assignment hasn't been needed since 2019, we can remove it.
[1] 66f826b89d9e290f8a82c15dea251f41c2580fc3
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
|
| |
qemux86 and qemux86-64 builds are successful without these now, so
remove them.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
| |
This bbappend doesn't have any patches, so this is redundant.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
|
|
|
| |
This CVE appears to be specific to Intel's packaging of OpenMP in
oneAPI, so ignore it.
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
|
|
|
| |
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
| |
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
| |
The fastboot makefile is creating the directory $(OUT_DIR)/usr/bin, so removing
fastboot from TOOLS_TO_BUILD in a bbappend resulted in a build failure
because of the missing directory $(OUT_DIR)/usr/bin.
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
"inherit cargo-update-recipe-crates" was misunderstood, as in
that it doesn't add the build dependencies transparently
during the build. Instead, "bitbake -c update_crates recipe-name"
must be run and the resulting recipe-name-crates.inc file
must be included in the recipe.
Update the recipe with using the crate:// link for bindgen-cli.
Otherwise "bitbake -c update_crates recipe-name" got confused
and produced empty output when using the source in a subdirectory
from the rust-bindgen GIT repo.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
|
|
|
|
|
|
| |
To fix compile with clang16 its needed
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>
|
|
|
|
|
|
|
|
|
|
| |
devtool modify android-tools was failing with an error:
- regenerate patches in the git format working with devtool
- add debian patches to yocto instead of applying them manually with do_unpack_and_patch_debian,
to make it work with devtool
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When building android-tools, this chain of dependency pulls the openssl library libcrypto.so.3 in recipe-sysroot:
clang-native -> cmake-native -> curl-native -> openssl-native
The issue is that libcrypto_utils attempt to link against the libcrypto.so produced by boringssl (debian/out/usr/lib/android/libcrypto.so),
but the -L flags added by yocto to CPPFLAGS appear before the -L flag provided in the patch, and therefore the wrong library is used.
Link explicitly against libcrypto.so.0 in order to ignore the openssl library and use boringssl instead.
Note: to debug this add -Wl,--verbose to LDFLAGS
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Those 2 warnings (caused by the combination of -nostdlib and the options added by meta-clang) were treated as errors:
"""
clang-14: warning: argument unused during compilation: '-rtlib=libgcc' [-Wunused-command-line-argument]
clang-14: warning: argument unused during compilation: '--unwindlib=libgcc' [-Wunused-command-line-argument]
"""
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
| |
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
android-tools inherits the native class, and RDEPENDS on android-tools-conf.
This line causes an error when trying to build android-tools-native:
"""
ERROR: Required build target 'android-tools-native' has no buildable providers.
Missing or unbuildable dependency chain was: ['android-tools-native', 'clang-native-x86_64']
"""
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
| |
This avoids an error about the file already existing when debugging the recipe
and starting incremental builds.
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
|
|
|
|
|
| |
- The code was producing the error "tool: command not found" and the
else branch was always executed, even for libbacktrace.
- There is no variable "deb_host_arch" defined in rules.yocto, so it's not
clear what the first line of the patch with DEB_HOST_ARCH=${deb_host_arch}
was supposed to do. "${deb_host_arch}" is always undefined in this context.
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
|
|
|
|
|
|
| |
It is used by Mesa to build Rusticl.
Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Other Linux kernel recipes are seeing the same objcopy issue. Add
entries for them to work around the issue here as well.
Signed-off-by: Jon Mason <jdmason@kudzu.us>
|
|
|
|
|
|
|
|
| |
This ensures that it does not end up building NATIVE tools
and using them during build, which obviously wont work when
buildhost != targethost or iow cross-compiling
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This has been deleted in clang 16+ via https://reviews.llvm.org/D130020
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
| |
This is new way of building it from 16.x onwards
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
Change mesa bbappend to override PACKAGECONFIG[gallium-llvm] only if
clang toolchain is selected. Unfortunately this has to be implemented in
a nasty way because there is no standard way to apply override to the
variable flag setting.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|