summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bcc: Add missing dependency to get zip utility during buildKhem Raj2023-03-081-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Update to latest tipKhem Raj2023-03-081-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* android-tools: make it work with devtoolEtienne Cordonnier2023-03-0743-137/+1143
| | | | | | | | | | 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>
* android-tools: fix libcrypto_utils link errorEtienne Cordonnier2023-03-061-1/+2
| | | | | | | | | | | | | | 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>
* android-tools: make native version compileEtienne Cordonnier2023-03-062-2/+4
| | | | | | | | | | | 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>
* android-tools-conf: fix typoEtienne Cordonnier2023-03-061-1/+1
| | | | Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
* android-tools-conf: remove PACKAGE_ARCH = MACHINE_ARCHEtienne Cordonnier2023-03-061-2/+0
| | | | | | | | | | | | 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>
* android-tools: fix incremental builds by using ln -sfEtienne Cordonnier2023-03-0612-12/+12
| | | | | | | 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>
* android-tools: correctly pass DEB_HOST_ARCH to libbacktraceEtienne Cordonnier2023-03-062-5/+3
| | | | | | | | | | | - 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>
* bindgen-cli: New recipe for version 0.64.0Zoltán Böszörményi2023-03-061-0/+23
| | | | | | It is used by Mesa to build Rusticl. Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com>
* openmp: Fix build with 64bit file offset on 32bit archesKhem Raj2023-03-051-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* github/actions: Adapt to new envsetup.sh syntax in CI loop scriptKhem Raj2023-03-041-6/+8
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Add new exceptions for alternative Linux kernel recipesJon Mason2023-02-221-0/+2
| | | | | | | 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>
* clang: Pass LLVM_CONFIG_PATH to target and nativesdk buildsKhem Raj2023-02-221-0/+3
| | | | | | | | 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>
* clang: Remove clang-offload-wrapperKhem Raj2023-02-221-2/+1
| | | | | | This has been deleted in clang 16+ via https://reviews.llvm.org/D130020 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libcxx: Use LLVM_ENABLE_RUNTIMES to build C++ runtime libsKhem Raj2023-02-221-1/+2
| | | | | | This is new way of building it from 16.x onwards Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mesa: don't override PACKAGECONFIG[gallium-llvm] in non-clang caseDmitry Baryshkov2023-02-151-1/+3
| | | | | | | | | 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>
* linux-fslc-imx: Use gnu objcopy with clangKhem Raj2023-02-151-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Move .so symlinks to -dev package fixes multilib buildKhem Raj2023-02-151-2/+2
| | | | | | | | 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>
* openmp: Provide missing tools during cross compileKhem Raj2023-02-101-2/+9
| | | | | | | 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>
* clang: fix clang recipe for multilib buildlumpyh2023-02-061-1/+1
| | | | | | | | | 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>
* runtime: Enable PIC for static archives with clang runtime libsKhem Raj2023-02-065-0/+8
| | | | | | | 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>
* openmp: Correctly specify https in HOMEPAGEKhem Raj2023-02-061-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* busybox: Update the bbappend to 1.36Khem Raj2023-01-313-58/+3
| | | | | | | | | | | | - 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>
* openmp: Use libatomics on all mips32 machinesKhem Raj2023-01-291-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pixman: Use gcc on mipsKhem Raj2023-01-291-0/+2
| | | | | | | 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>
* libcxx: Build libc++abi into static libc++.aKhem Raj2023-01-291-0/+1
| | | | | | | | 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>
* android-tools: fix Upstream-Status formattingMartin Jansa2023-01-291-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* clang: fix Upstream-Status formattingMartin Jansa2023-01-291-1/+1
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* common-source: fix create-spdx handlingKonrad Weihmann2023-01-161-0/+6
| | | | | | | | | | | | | | | | | | - do_create_spdx does have to wait till the shared source tree is properly populated - override the spdx class code detection to determine if sources are under work-shared. the core code does only look at WORKDIR, which isn’t overridden in every case, more likely only S and B are touched, which make the spdx class code assume that these are per-workdir sources and starts to remove the shared sources via bitbake’s cleandirs settings. Avoid that by let the code always handle recipes including common-source as shared sources. Closes #721 Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
* llvm-project-source: fix create-spdx handlingKonrad Weihmann2023-01-161-0/+2
| | | | | | | | as the recipe populates the shared source tree as part of do_patch, but create-spdx does only wait for do_unpack. Add an explicit dependency to wait to avoid race conditions Signed-off-by: Konrad Weihmann <kweihmann@witekio.com>
* bcc: Upgrade to 0.26.0Khem Raj2023-01-161-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* yoe/ci: Use actions/checkout@v3Khem Raj2023-01-161-2/+2
| | | | | | | | | | actions/checkout@v2 uses node12 with EOL now. Replace ::set-output with $GITHUB_OUTPUT envvar ::set-output is deprecated [1] [1] https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Update to 15.0.7Khem Raj2023-01-162-3/+3
| | | | | | | | | | | | * 8dfdcc7b7bf6 [libc++] Fix memory leaks when throwing inside std::vector constructors * 939f5a337113 libc++: bring back the unsigned in the return type in wcstoull_l * 948cadd6d424 [RegAllocFast] Handle new debug values for spills * 1095870e8ced [wasm-ld] Define a `__heap_end` symbol marking the end of allocated memory. * 67fd0d2af4bf [TypePromotion] Add truncate in ConvertTruncs when the original truncate type is not extend type * 74d3ba1af5c0 [X86] Don't zero out %eax if both %al and %ah are used * a8af9f679231 Bump version to 15.0.7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: fix reproducible buildChee Yang Lee2023-01-151-0/+12
| | | | Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
* llvm-project-source: Ensure deploy_source_date_epoch sstate hash doesn't changeKhem Raj2023-01-111-1/+7
| | | | | | | if machines are switched, do_deploy_source_date_epoch would re-run as the stamps are tune specific Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot-coral: Use gcc toolchainKhem Raj2023-01-091-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux-fslc-lts: Use binutils objcopyKhem Raj2023-01-091-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* openmp: skip buildpaths QA check for openmp-staticdevRoss Burton2023-01-091-0/+2
| | | | | | | | | | | | The /usr/lib/libomptarget.devicertl.a static library ends up with build paths embedded. The CMake files don't respect our CXXFLAGS so don't use the -fdebug-path-map arguments, but even adding those didn't solve it: it looks like code via goes via LLVM bytecode files doesn't get remapped? Until that is solved, skip the buildpath check. Signed-off-by: Ross Burton <ross.burton@arm.com>
* mybw: Use gnu objcopy alwaysKhem Raj2023-01-081-6/+4
| | | | | | | Its failing on most of architectures only known working arch seems to be arm Signed-off-by: Khem Raj <raj.khem@gmail.com>
* sysbench: Add -no-integrated-as to cflags with clangKhem Raj2023-01-081-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Use binutils objcopy for BSP kernelsKhem Raj2023-01-041-0/+11
| | | | | | llvm objcopy does not yet work fully for all kernels Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: Use gcc for variants of u-boot from BSP layersKhem Raj2023-01-041-0/+21
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* pixman: Use gcc on aarch64Khem Raj2023-01-041-1/+3
| | | | | | | Some upgrades have regressed pixman with clang on aarch64, until this is sorted, lets use gcc for it as a workaround Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix sizeof stat detection on mips/o32 with 64bit time_tKhem Raj2023-01-043-33/+48
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* systemd: Add -Wl,--no-warn-rwx-segment with clangKhem Raj2023-01-032-7/+1
| | | | | | Remove the Os workaround, this is no longer needed with systemd 252+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ruby,cairo: Add -Wl,--no-warn-rwx-segment with clangKhem Raj2023-01-031-0/+3
| | | | | | | This helps with configure tests which treat this warning as error otherwise Signed-off-by: Khem Raj <raj.khem@gmail.com>
* mybw: Use gnu objcopy on rv32Khem Raj2023-01-031-0/+1
| | | | | | | | Fixes /usr/bin/mybw', 'TOPDIR/build/tmp/work/riscv32-yoe-linux/mybw/0.0+gitAUTOINC+f4bdeee126-r0/package/usr/bin/.debug/mybw']' returned non-zero exit status 1. Subprocess output:riscv32-yoe-linux-llvm-objcopy: error: Link field value 37 in section .rela.dyn is not a symbol table Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: update LAYERSERIES_COMPAT for mickledoreMartin Jansa2023-01-031-1/+1
| | | | | | | * oe-core switched to mickedore in: https://git.openembedded.org/openembedded-core/commit/?id=57239d66b933c4313cf331d35d13ec2d0661c38f Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* compiler-rt-sanitizers: Enable -D_LARGEFILE64_SOURCE on muslKhem Raj2023-01-021-0/+2
| | | | | | | Ideally, the LFS64 functions should be replaced in sanitizers sources but for now just enable the aliases in musl Signed-off-by: Khem Raj <raj.khem@gmail.com>