| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
"master" branch in SPIRV-Headers has been renamed to "main"
See https://github.com/KhronosGroup/SPIRV-Headers/commits/main/
Signed-off-by: Preeti Sachan <preeti.sachan@intel.com>
|
|
|
|
|
|
|
|
| |
Downstream projects need time to switch to opaque
pointers in llvm16 which requires in some cases
significant effort.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
|
|
| |
"runtime:call" in ptest gets the following FAILED:
| python: No such file or directory
Replace python with python3 in this ptest item.
Signed-off-by: Wentao Zhang <wentao.zhang@windriver.com>
|
|
|
|
| |
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From multilib build:
| CMake Error at cmake/FindLLVM.cmake:79 (message):
| Failed running
| tmp-glibc/work/x86-64-v3-oe-linux/ispc/1.20.0-r0/recipe-sysroot/usr/bin/crossscripts/llvm-config;--libfiles;engine;ipo;bitreader;bitwriter;instrumentation;linker;option;frontendopenmp;windowsdriver;x86
| Call Stack (most recent call first):
| cmake/FindLLVM.cmake:116 (run_llvm_config)
| CMakeLists.txt:377 (get_llvm_libfiles)
Currently hardcoded to /lib, which causing multilib build failure.
An easy solution could be set and export YOCTO_ALTERNATE_LIBDIR to $baselib
in recipe, but it would require to add this in all affected recipes.
Other approach is to handle in llvm-config script itself.
Unfortunately $baselib is not available in env for the
llvm-config script, so extracting baselib value from $base_libdir
as its being exported and available in env and then set YOCTO_ALTERNATE_LIBDIR accordingly.
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
|
|
|
| |
the upstream changed the shebang of python scripts in tools folder[1],
this would cause do_install:append cannot conver all scripts.
[1] https://github.com/iovisor/bcc/commit/3f5e402bcadf44ce0250864db52673bf7317797b
Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
|
|
|
|
|
|
|
|
| |
This option is not available in clang yet
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4cf1e9e0baf30568851c6646510d18bad50c613b)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
|
|
|
|
|
| |
--libfiles Fully qualified library filenames for makefile depends.
This option is being used by ispc cmake.
https://github.com/ispc/ispc/blob/main/cmake/FindLLVM.cmake#L116
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
(cherry picked from commit c31fa8b367b4af4922120fe8e28d255ff4ebf256)
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
|
|
|
|
|
|
|
| |
* it's needed for compatibility with updated fetcher from:
https://patchwork.yoctoproject.org/project/bitbake/patch/20230405122125.3358972-1-enrico.scholz@sigma-chemnitz.de/
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>
|
|
|
|
|
|
|
|
| |
Fixes
ERROR: lib32-clang-15.0.7-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk- package lib32-liblldb contains symlink .so '/usr/lib/liblldbIntelFeatures.so'
non -dev/-dbg/nativesdk- package lib32-liblldb contains symlink .so '/usr/lib/liblldb.so' [dev-so] ERROR: lib32-clang-15.0.7-r0 do_package_qa: Fatal QA errors were found, failing task.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
Enable ompd gdb plugin build and add py3 to depndencies as it is
required by the plugin
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
| |
when building clang for multilib, bitbake complains about liblldb
containing a .so symlink
this patch fixes this
Signed-off-by: lumpyh <lumpy.hega@gmx.de>
|
|
|
|
|
|
|
| |
This helps in compling shared libraries which may use e.g. static
libc++.a during link
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use clang again for qemux86
- Drop upstreamed patch [1]
- Ignore texrels with clang
QA Issue: busybox: ELF binary /usr/bin/busybox.nosuid has relocations in .text [textrel]
[1] https://git.busybox.net/busybox/commit/?id=117a8c9b7a50053964159c342af1f3810cbbd5b8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
| |
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
libatomic is needed to link after -lomp when -fopenmp is used, it needs
clang driver level change
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
|
| |
This helps statically linking c++ runtime into binaries which use
exceptions functions e.g. std::out_of_range as used in rwmem package
and using -static-libstdc++ compiler flags
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|