summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* sanitizers: Fix build with 64bit time_tKhem Raj2023-01-022-0/+38
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Refresh off64_t musl patchKhem Raj2022-12-261-27/+74
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable.conf: Add new exceptionsAleksey Smirnov2022-12-121-1/+10
| | | | | | | | | Add "erlang" for all architectures (found on riscv64 and x86-64) Add "grub" for x86-64 architecture Use proper OBJCOPY for "linux-yocto" for all architectures Signed-off-by: Aleksey Smirnov <aleksey.smirnov@yadro.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Fix build with LFS64 on muslKhem Raj2022-12-112-0/+85
| | | | | | Ensures that correct cmake checks are used to enable LFS64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Inherit python3targetconfigKhem Raj2022-12-071-8/+4
| | | | | | | | | Ensure that lldb uses correct python-dev headers from target python and not native python during cross compile. Adjust *_PYTHON_* variables accordingly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* u-boot: Always use gcc compiler to buildKhem Raj2022-12-051-0/+3
| | | | | | Clang-15 fails to compile u-boot on mips right now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>