summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* clang-legacy: Add unwindlib to LDFLAGS as well, rtlib and unwindlibKhem Raj2025-07-161-1/+1
| | | | | | | | options should be in sync or else clang will not link the binaries | x86_64-yoesdk-linux-clang: error: --rtlib=libgcc requires --unwindlib=libgcc Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc,bpftrace,castxml,include-what-you-use: DeleteKhem Raj2025-07-1612-595/+0
| | | | | | | | These recipes are moved into meta-oe layer for wider use. They depend on clang and clang is now moved to oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: include libbcc.so in ptest packageHarish Sadineni2025-07-151-0/+1
| | | | | | | | | Added ${libdir}/libbcc.so to FILES:${PN}-ptest to ensure it is included during ptest execution. This is necessary for the test "resolve symbol addresses for a given PID", which requires libbcc.so to be available in the runtime environment. Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
* bcc: Upgrade to 0.35.0 releaseKhem Raj2025-07-144-160/+4
| | | | | | | Fixes build with cmake 4+ Drop upstreamed patches Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: Fix for test tools_memleak.pyHarish Sadineni2025-07-102-1/+24
| | | | | | | | | | | | | Fixes tools_memleak.py which is getting failed due to "c_src_full = os.path.dirname(sys.argv[0]) + os.path.sep + c_src" is giving "/'test_tools_memleak_leaker_app.c". memleak.py and other test cases requires bcc tools so copying the tools to image. Upstream-Status: Submitted [https://github.com/iovisor/bcc/pull/5355] Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
* python3-pyside6: Remove due to being missing from meta-qt6 devRyan Eatmon2025-07-091-1/+0
| | | | | | | | | | | | | | | | The recipe being bbappended is not supported in meta-qt6 until later in a stable versions life cycle. This has the effect that in the most recent version branches (6.10 as of this commit) does not have the required recipe to bbappend, and dev will never have the recipe. This causes a parsing error when using these more up to date branches: ERROR: No recipes in default available for: .../meta-clang/dynamic-layers/qt6-layer/recipes-qt/qt6/python3-pyside6_%.bbappend Given this, we should drop this bbappend and try to address the build failure in world another way. Signed-off-by: Ryan Eatmon <reatmon@ti.com>
* dynamic-layers/qt6-layer: fix typo in recipes directory nameMartin Jansa2025-07-072-0/+0
| | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* qtbase: Remove bbappendKhem Raj2025-07-061-1/+0
| | | | | | | This was setting lld as linker when using clang, but this is now taken care by main qtbase recipe in meta-qt6. Its not needed anymore Signed-off-by: Khem Raj <raj.khem@gmail.com>
* common.inc: DeleteKhem Raj2025-07-061-72/+0
| | | | | | This file is not needed, it was migrated to oe-core with clang Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Use TOOLCHAIN_NATIVE instead of TOOLCHAIN:class-nativeKhem Raj2025-07-064-4/+5
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Do not use --unwindlib or -rtlib for native toolchainKhem Raj2025-07-061-2/+0
| | | | | | | It will add these options to gcc as well when building native recipes as it is implemented in oe-core, this logic is different so adjust Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Do not set TOOLCHAIN hereKhem Raj2025-07-061-2/+0
| | | | | | TOOLCHAIN is possible to set for target/native/nativesdk separately Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Adjust for oe-core changesKhem Raj2025-07-061-27/+14
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtwebengine,rust-llvm,rust: Use clang for native toolchain as wellKhem Raj2025-07-063-4/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* busybox: Remove clang fixKhem Raj2025-07-062-4/+0
| | | | | | It is now applied in core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Rename inherit for clang-native to toolchain/clang-nativeKhem Raj2025-07-064-4/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Do not use toolchain-clang override for native/nativesdkKhem Raj2025-07-061-2/+2
| | | | | | | | clang.bbclass in oe-core will define toolchain-gcc for nativesdk and thats perhaps better, ideally we should depend on llvm runtime unconditionally, so a package can use either llvm or gcc runtimes Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-native.bbclass: DeleteKhem Raj2025-07-061-23/+0
| | | | | | This is now available in oe-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang.bbclass: Rename to clang-legacyKhem Raj2025-07-062-1/+1
| | | | | | A similar bbclass is added to oe-core, so rename it as legacy class Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Delete code adding llvm-project-source to NON_MULTILIB_RECIPESKhem Raj2025-07-061-2/+0
| | | | | | Its done in core now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pyside6: Do not build as part of world buildsKhem Raj2025-07-061-0/+1
| | | | | | it does not compile for arm64/riscv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* castxml/include-what-you-use: remove incorrect S settingsChen Qi2025-07-032-4/+0
| | | | | | | | Due to recent UNPACKDIR/S change in oe-core, the S settings in these two recipes are no longer valid and are causing errors. Remove them. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
* bcc: export BCC_KERNEL_SOURCE in run-ptestHarish Sadineni2025-07-021-0/+23
| | | | | | | when running ptest for bcc we need to export BCC_KERNEL_SOURCE to resolve test errors. Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
* bpftrace: drop S assignmentHarish Sadineni2025-07-021-2/+0
| | | | | | | Drop S assignment which is now being rejected by OE / bitbake. Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
* bcc: drop S assignmentHarish Sadineni2025-07-021-2/+0
| | | | | | | Drop S assignment which is now being rejected by OE / bitbake. Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
* bcc: Backport fix tests to support finish_task_switch.isra.* suffixHarish Sadineni2025-07-022-0/+50
| | | | | | | | | | When running on kernels compiled with GCC 11.4, the py_test_clang and py_test_histogram tests fail because the finish_task_switch function changed to finish_task_switch.isra.0. Upstream-Status: Backport [https://github.com/iovisor/bcc/pull/5302/commits/b24519e1ba7b87c9676ae3a7f70772215cd5819d] Signed-off-by: Harish Sadineni <Harish.Sadineni@windriver.com>
* layer.conf: Update to whinlatter release seriesKhem Raj2025-06-201-1/+1
| | | | | | | | Since there are currently multiple breaking changes, update to a new release series for the next release so layers can show compatibility correctly. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Do not add lld linker for ppc32 when ld-is-lld is in distro featuresKhem Raj2025-05-061-1/+2
| | | | | | Causes binaries to segfault in qemu user mode Signed-off-by: Khem Raj <raj.khem@gmail.com>
* vulkan-samples: Use gcc to compile for now.Khem Raj2025-05-061-3/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bcc: install opt dir to image to fix py_test_trace3_cHarish Sadineni2025-05-061-0/+2
| | | | | | | | | | | | | | This patch Fixes the following error: ERROR: test_blk1 (__main__.TestBlkRequest.test_blk1) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/bcc/ptest/tests/python/./test_trace3.py", line 38, in test_blk1 os.unlink("/opt/trace3.txt") ~~~~~~~~~^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/opt/trace3.txt' Signed-off-by: Harish Sadineni <HarishSadineni@windriver.com>
* bcc: Fix for test bpf stack_id tableHarish Sadineni2025-05-062-0/+14
| | | | | | | | | | | | | | The test for bpf_stack_id was failing due to the system being unable to locate libc.so.6. Upon investigation using strace, the following error was observed: newfstatat(AT_FDCWD, "/lib/x86_64-linux-gnu/libc.so.6", 0x7ffdcd475420, 0) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/lib64/libc.so.6", 0x7ffdcd475420, 0) = -1 ENOENT (No such file or directory) This issue occurs because libc.so.6 was not found in the expected locations. To resolve this, the location of libc.so.6 in image has been added . It is now accessible at: /lib/libc.so.6 Upstream-Status: Submitted [https://github.com/iovisor/bcc/pull/5292] Signed-off-by: Harish Sadineni <HarishSadineni@windriver.com>
* bcc: copy shared libs & archive files to imageHarish Sadineni2025-05-061-0/+9
| | | | | | | | Avoid stripping debuginfo.so to fix some tests. ptest searches for shared libs and archive files in the build folder. Hence, these files are copied to the image to fix some tests. Signed-off-by: Harish Sadineni <HarishSadineni@windriver.com>
* fluentbit: Enable vectorizer on riscv64Khem Raj2025-05-051-0/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* castxml: Do not inherit cmake-nativeKhem Raj2025-05-052-1/+73
| | | | | | This has been merged into cmake bbclass in core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* cmake-native: RemoveKhem Raj2025-05-051-56/+0
| | | | | | Moved to OE-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Remove choice for llvm providersKhem Raj2025-05-051-6/+0
| | | | | | Core has merged recipes now. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* spirv-llvm-translator: Delete recipeKhem Raj2025-05-051-35/+0
| | | | | | Moved to core. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Delete recipesKhem Raj2025-05-0552-3792/+0
| | | | | | They are in core layer now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bindgen-cli: Remove recipeKhem Raj2025-05-052-207/+0
| | | | | | Its in OE-core now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: Use llvm-config wrapper for nativesdk recipesKhem Raj2025-05-051-0/+1
| | | | | | helps with nativesdk-mesa compilation since it gets all flags wrong otherwise Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bpftrace: fix an intermitent compile failureChangqing Li2025-04-222-0/+55
| | | | | | | | | | A missing dependency causes intermitent compile failure: git/src/functions.h:9:10: fatal error: location.hh: No such file or directory 9 | #include "location.hh" This location.hh is generated by target parser Signed-off-by: Changqing Li <changqing.li@windriver.com>
* mesa: Fall back to use gcc on riscv32/riscv64Khem Raj2025-04-121-1/+5
| | | | | | | | | | | | | | | LLD fails to link mesa 25.x sadly | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libGLESv2.so.2: unsupported relocation type 12 | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libGL.so.1: unsupported relocation type 12 | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libGL.so.1: unsupported relocation type 12 | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libEGL.so.1: unsupported relocation type 12 | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libEGL.so.1: unsupported relocation type 12 | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libgallium-25.0.2.so: unsupported relocation type 12 | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libgallium-25.0.2.so: unsupported relocation type 12 | Error relocating riscv32-yoe-linux-musl/gstreamer1.0-plugins-base/1.26.0/recipe-sysroot//usr/lib/libgallium-25.0.2.so: unsupported relocation type 12 Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: enable targets being used by libclcDmitry Baryshkov2025-04-111-1/+1
| | | | | | Enable NVPTX and SPIRV, targets being used by libclc. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
* clang: remove LLVM files from sysroot if clang is not providing itDmitry Baryshkov2025-04-112-1/+15
| | | | | | | | | | | | Upcoming Mesa patches for OE-Core pull both LLVM and Clang into the sysroot if meta-clang is being used. Now as libLLVM.so in OE-Core is compatible with the one being built by Clang, remove LLVM artifacts from the native sysroot if clang recipe is not selected as LLVM provider. The spirv-llvm-translator recipe is changed to also DEPEND on llvm in order to pull the library into the chroot. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
* clang: handle libdir in llvm-configDmitry Baryshkov2025-04-111-1/+4
| | | | | | | | The llvm-config wrapper also needs to override a --libdir switch, otherwise software (like mesa) end up using TMPDIR-based directory for Clang resource lookup (and also encoding TMPDIR into the target binary). Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
* bpftrace: update SRCREV to tag 0.23.0Changqing Li2025-04-111-1/+1
| | | | | | | | Update SRCREV to tag 0.23.0, refer [1] [1] https://github.com/bpftrace/bpftrace/releases/tag/v0.23.0 Signed-off-by: Changqing Li <changqing.li@windriver.com>
* bpftrace: add systemd PACKAGECONFIG optionErik Schilling2025-04-101-2/+6
| | | | | | | | | | | | | This option mostly enables sd_notify support and is useful when running bpftrace as part of a systemd service [1]. Defaulting to the systemd DISTRO_FEATURES seems like a reasonable choice. The official builds also now enable this by default [2]. [1] https://bpftrace.org/docs/latest#_systemd_support [2] https://github.com/bpftrace/bpftrace/pull/3969 Signed-off-by: Erik Schilling <erik@riscstar.com>
* clang: Upgrade to 20.1.2 releaseKhem Raj2025-04-073-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 58df0ef89dd6 Define LLVM_ABI and CLANG_ABI for __EMSCRIPTEN__ builds (#131578) * e256eda15377 [LoongArch][MC] Add relocation support for fld fst [x]vld [x]vst * ba00d9f641e9 [LoongArch] Pre-commit test for #133225 * f07f96873aa8 Backport/20.x: [LoongArch] Fix the type of tls-le symbols * e7406753caf3 [PATCH] [clang][modules] Fix serialization and de-serialization of PCH module file refs (#105994) (#132802) * 2f6c5807ca7e [workflows] Add missing -y option to apt-get for abi tests (#133337) * bc65196c0919 update test due to https://github.com/llvm/llvm-project/pull/126880 not being backported * d6d1dbf22181 [ARM] Speedups for CombineBaseUpdate. (#129725) * 5ba194972878 [MC,COFF] .safeseh: avoid changeSection (#132624) * 943b43250b55 release/20.x: [clang][docs] Move -Wnontrivial-memcall to added flags. (#132367) * 44a6f6abbdb6 [libcxx] [test] Fix restoring LLVM_DIR and Clang_DIR (#132838) * c1c4d7191d70 [clang-format] Allow `Language: Cpp` for C files (#133033) * 2406e0d4467a Revert "[MC] Explicitly mark MCSymbol for MO_ExternalSymbol" (#133291) * 3d5f5ef6b784 workflows: Add missing apt-get update to abi tests (#133264) * d1f5a9f66ee2 [hexagon] Bump the default version to v68 (#132304) * 90cc9ca8bcb2 [Hexagon] Set the default compilation target to V68 (#125239) * 3e2801eb634e [PowerPC] Support conversion between f16 and f128 (#130158) * d60baf3d4786 [HEXAGON] Fix semantics of ordered FP compares (#131089) * 1a76c29a9ba8 [hexagon] Enable --eh-frame-hdr (#130225) * ecde8c235e5e [clang] fix matching of nested template template parameters * c86df914dee1 release/20.x: [Clang] Fix various bugs in alias CTAD transform * f7b6f23c6bb7 [llvm-dlltool] Add a missing dependency * a311bc81d957 [llvm-dlltool] Implement the --identify option (#127465) * 6034661369c4 [LoongArch] Pre-commit test for fixing tls-le symbol type * 95763651e25c [HEXAGON] Add support to lower "FREEZE a half(f16)" instruction on Hexagon and fix the isel-buildvector-v2f16.ll assertion (#130977) * e0e8071815c7 [hexagon] Prevent alignment search beyond a label (#130631) * 2198410a8a8a [compiler-rt][Darwin][x86] Fix instrprof-darwin-exports test (#131425) * 0383020b6c1a [llvm] Fix crash when complex deinterleaving operates on an unrolled loop (#129735) * dc7b743515d3 [AArch64] Fix SVE scalar fcopysign lowering without neon. (#129787) * fcd0ad23f668 [AArch64] Add test for scalar copysign. NFC * 66825a89b8e0 [LLD] [COFF] Add a few more mingw libs to skip autoexports for (#132289) * 9710e9963455 [X86][AVX10.2] Include changes for COMX and VGETEXP from rev. 2 (#132824) * 3f957cc67cff Bump version to 20.1.2 (#132293) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang: add whitespace around assignmentsMartin Jansa2025-04-023-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | With: https://lists.openembedded.org/g/bitbake-devel/message/17508 there are many WARNINGs from this layer Most of them are caused by this LLVM_LIBDIR_SUFFIX=" which is included everywhere. WARNING: meta-clang/recipes-devtools/clang/clang-cross-canadian_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/clang-crosssdk_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/clang_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/compiler-rt-sanitizers_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/compiler-rt-sanitizers_git.bb: meta-clang/recipes-devtools/clang/compiler-rt-sanitizers_git.bb:31 has a lack of whitespace around the assignment: 'PACKAGECONFIG[ctx-profile] ="-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"' WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:47 has a lack of whitespace around the assignment: 'PACKAGECONFIG[profile] ="-DCOMPILER_RT_BUILD_PROFILE=ON,-DCOMPILER_RT_BUILD_PROFILE=OFF"' WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:49 has a lack of whitespace around the assignment: 'PACKAGECONFIG[ctx-profile] ="-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"' WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:47 has a lack of whitespace around the assignment: 'PACKAGECONFIG[profile] ="-DCOMPILER_RT_BUILD_PROFILE=ON,-DCOMPILER_RT_BUILD_PROFILE=OFF"' WARNING: meta-clang/recipes-devtools/clang/compiler-rt_git.bb:49 has a lack of whitespace around the assignment: 'PACKAGECONFIG[ctx-profile] ="-DCOMPILER_RT_BUILD_CTX_PROFILE=ON,-DCOMPILER_RT_BUILD_CTX_PROFILE=OFF"' WARNING: meta-clang/recipes-devtools/clang/libclc_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/libcxx_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/llvm-project-source.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' WARNING: meta-clang/recipes-devtools/clang/openmp_git.bb: meta-clang/recipes-devtools/clang/clang.inc:19 has a lack of whitespace around the assignment: 'LLVM_LIBDIR_SUFFIX="${@d.getVar('baselib').replace('lib', '')}"' Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* compiler-rt-sanitizers: remove the LLVM_LIBDIR_SUFFIX conditionalMartin Jansa2025-04-011-8/+2
| | | | | | | | | | | | | | As in previous commit for compiler-rt. Since the upgrade to 20 it's installed in nonarch_libdir even when multilib is used and LLVM_LIBDIR_SUFFIX is set to '32'. Fixes: http://errors.yoctoproject.org/Errors/Details/850269/ mv: cannot stat 'TOPDIR/tmp/work/i586-oemllib32-linux/lib32-compiler-rt-sanitizers/20.1.1/image/usr/lib32/linux': No such file or directory Signed-off-by: Martin Jansa <martin.jansa@gmail.com>