summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* layer.conf: Add wrynose (yocto 6.0) to compatible layersHEADmasterKhem Raj2026-03-181-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* conf/nonclangable: Remove conflicting definition with OE-Core for vulkan-samplesRichard Purdie2026-03-161-4/+0
| | | | | | | | This is different to the setting in OE-Core and is causing failures with yocto-check-layer. The referenced bug was closed a while ago so the issue is likely fixed, remove the conflicting definition. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/nonclangable: Remove conflicting definition with OE-Core for valgrindRichard Purdie2026-03-161-2/+0
| | | | | | | | This is different to the setting in OE-Core and is causing failures with yocto-check-layer. The referenced bug was closed a while ago so the issue is likely fixed, remove the conflicting definition. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* README.md: Fix typo in dependencies sectionwhinlatterMartin Jansa2025-12-121-1/+1
| | | | Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* README.md: drop section about compiler-rtMartin Jansa2025-12-121-34/+0
| | | | | | | compiler-rt recipe is now in oe-core and the described issue doesn't happen anymore. Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* devtool-clang.sh: drop unused scriptMartin Jansa2025-12-122-71/+0
| | | | | | | It probably wasn't actively used for a while, it was last user of LLVMVERSION variable which wasn't set correctly and was removed in previous commit Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* layer.conf: drop LLVMVERSIONMartin Jansa2025-12-121-2/+0
| | | | | | | | | | | | | | | The recipes were removed from this layer and this version doesn't match with the clang version in oe-core (currently 21.1.7). Better to drop this variable now as it's just confusing and if someone needs to find a path to clang lib files like: recipe-sysroot/usr/lib/clang/18.1.6/lib/linux we need to use some other variable to do that. scripts/devtool-clang.sh still references this variable, but I guess the script isn't used anymore. Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
* clang-legacy.bbclass: Remove -fuse-ld=lld from SELECTED_OPTIMIZATION when ↵mark.yang2025-12-061-0/+1
| | | | | | | | | | | | | | | | using LTO. Referring to lto.inc in openembedded-core, when using lto, the LTO variable is added to SELECTED_OPTIMIZATION. In this case, with the clang toolchain, -fuse-ld=lld is added when using -flto, but the -fuse-ld=lld option is sufficient as a linker flag. If -fuse-ld=lld is present in CFLAGS, an unused-command-line-argument warning occurs. In recipes that treat this warning as an error, the build fails. aarch64-yoe-linux-clang: error: argument unused during compilation: '-fuse-ld=lld' [-Werror,-Wunused-command-line-argument] See more details https://errors.yoctoproject.org/Errors/Details/886599 Signed-off-by: mark.yang <mark.yang@lge.com>
* nonclangable.conf: Disable LTO for bluez5,systemd-boot, zlibmark.yang2025-12-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | bluez5 is forced to use the bfd linker. https://github.com/kraj/meta-clang/commit/ee218b7bc9c4b43d66e56c9cde5405318d8d5deb systemd-boot is forced to use the bfd linker. https://github.com/openembedded/openembedded-core/commit/a157b2f9d93428ca21265cc860a3b58b3698b3aa#diff-02f955f0bb176d6a95cf74d4fa6b499d0318f7877cbe3c525936b09a4dc8f3ce For LTO, the lld linker is required, but if using the bfd linker, the LLVMgold.so plugin must be used. However, the gold linker is no longer used. ``` usr/bin/aarch64-yoe-linux/aarch64-yoe-linux-ld.bfd: recipe-sysroot-native/usr/bin/aarch64-yoe-linux/../lib/LLVMgold.so: error loading plugin: /home/markyang/workspace/yoe-distro/build/tmp/work/cortexa72-yoe-linux/systemd-boot/257.8/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/../lib/LLVMgold.so: cannot open shared object file: No such file or directory ```` openembedded-core(be5856616) forces the use of the bfd linker for zlib. zlib does not build with lld, keep it until https://github.com/madler/zlib/pull/936 is addressed When using LTO with clang, it is recommended to use the lld linker. If it use the bfd linker, it need to use the LLVMgold.so plugin, but the gold linker has been deprecated. See more details https://errors.yoctoproject.org/Errors/Details/886598 ``` error loading plugin: TOPDIR/build/tmp/work/cortexa72-yoe-linux/zlib/1.3.1/recipe-sysroot-native/usr/bin/aarch64-yoe-linux/../lib/LLVMgold.so: cannot open shared object file: No such file or directory ``` Signed-off-by: mark.yang <mark.yang@lge.com>
* clang-legacy: Add -ffat-lto-objects to LTO settingsmark.yang2025-12-061-2/+2
| | | | | | | | | | | | | | | | | | | When enabling LTO in the clang toolchain, .o files are generated in LLVM IR bitcode format instead of ELF format. In this case, dwarfsrcfiles fails in do_package. See more details at: https://errors.yoctoproject.org/Errors/Details/886597 ``` dwarfsrcfiles: TOPDIR/build/tmp/work/cortexa72-yoe-linux/libcxx/21.1.4/package/usr/lib/libc++experimental.a: not a valid ELF file ``` As already discussed on the mailing list https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg15501.html, setting `INHIBIT_PACKAGE_DEBUG_SPLIT = "1"` disables debug splitting. It is not desirable to disable debug splitting just to avoid the dwarfsrcfiles error. A simple solution, as Khem Raj suggested in the lto.inc file of openembedded-core, is to add the `-ffat-lto-objects` flag to the LTO settings. This keeps both IR bitcode and ELF format, preventing the error. Signed-off-by: mark.yang <mark.yang@lge.com>
* python3: Apply --print-multiarch omission to non-native builds with clang tooKhem Raj2025-11-031-2/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libpam: Unbolt the fix to build with lldKhem Raj2025-10-261-2/+0
| | | | | | Its in main recipe now Signed-off-by: Khem Raj <raj.khem@gmail.com>
* ci: Remove paths for sstate-cache-management.pyKhem Raj2025-10-061-1/+1
| | | | | | environment has the paths to it. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* opensbi: Do not enforce objcopy from binutils for clangKhem Raj2025-09-241-1/+0
| | | | | | | | This has adverse effect now with clang-21 on riscv64 qemu where opensbi ends up not being found during boot and qemu getting stuck in early boot. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Update with clang-21Khem Raj2025-09-221-44/+0
| | | | | | | | Clang-21 and OE-core move of clang has made several packages work either out of box or the needed patches have moved to recipes proper therefore remove them here. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Drop COMPILER_RT variableKhem Raj2025-09-221-43/+0
| | | | | | This variable is not used anymore after clang migration to OE-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nonclangable: Remove use of LIBCPLUSPLUSKhem Raj2025-09-222-36/+9
| | | | | | This variable is dead-code after clang moved to OE-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* README: Fix status badgeKhem Raj2025-08-271-1/+1
| | | | | | It was not displaying the status correctly and wad disabled Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libnss-nis: Pass -Wl,--undefined-version to nativesdk variant tooKhem Raj2025-08-271-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libtirpc: Do not use --undefined-version with lldKhem Raj2025-08-271-1/+0
| | | | | | It can now build with default lld options Signed-off-by: Khem Raj <raj.khem@gmail.com>
* actions: Use new locations of sstate and downloads dirsKhem Raj2025-08-271-2/+2
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* libvorbis: Make bbappend ppc32 specificKhem Raj2025-08-061-2/+4
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Do not set YOCTO_ALTERNATE_EXE_PATH and OCTO_ALTERNATE_LIBDIRKhem Raj2025-08-061-6/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Remove COMPILER_RT/UNWINDLIB/LIBCPLUSPLUSKhem Raj2025-08-061-4/+0
| | | | | | clang runtime recipe set them rightly in core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Drop octeon kludgeKhem Raj2025-08-061-4/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Remove runtime-<RUNTIME> overrideKhem Raj2025-08-063-20/+0
| | | | | | | This is better fixed in recipes if needed now that clang is a core recipe. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Drop CCACHE_COMPILERCHECKKhem Raj2025-07-301-2/+0
| | | | | | This is gone from OE-core so good riddance Signed-off-by: Khem Raj <raj.khem@gmail.com>
* webkitgtk: Re-enable building with clang on rv64Khem Raj2025-07-281-4/+0
| | | | | | Its working again Signed-off-by: Khem Raj <raj.khem@gmail.com>
* classes/clang-legacy: Remove rewrite of big.LITTLE -mcpu argsKhem Raj2025-07-281-16/+1
| | | | | | | These are not supported by clang, but now they are handled in core tune files. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtbase: Always use lld when using clang compilerKhem Raj2025-07-281-0/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qtpdf,qtwebengine: Delete bbappendsKhem Raj2025-07-282-5/+0
| | | | | | Set TOOLCHAIN_NATIVE = "clang" in disrto conf files not here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* samba: Delete clang specific patchKhem Raj2025-07-282-17/+0
| | | | | | | This patch is not needed anymore with clang 20+ and samba 4.19+ it build fine with both linkers ( LLD and Gnu LD) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy.bbclass: Unbolt rpi3/rpi4 workaroundKhem Raj2025-07-281-4/+1
| | | | | | This should be part of default tune infra in core Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Remove klibc specific pinsKhem Raj2025-07-281-4/+0
| | | | | | Its moved into klibc.bbclass in meta-initramfs Signed-off-by: Khem Raj <raj.khem@gmail.com>
* clang-legacy: Adjust to clang merging to core for YP compatibilityKhem Raj2025-07-281-74/+7
| | | | | | | | Some of these settings are moved to OE-core and some are deferred to distros where it belongs. This makes meta-clang compatible with YP again. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* rust,rust-llvm: Delete bbappendsKhem Raj2025-07-282-6/+0
| | | | | | | They should be set by distros not by meta-clang since distros decide to use clang as system compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>