]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
6 days agoautoconf-archive: add backport patch to fix gl detection mathieu/master-next-test
Markus Volk [Wed, 30 Jul 2025 09:29:58 +0000 (11:29 +0200)] 
autoconf-archive: add backport patch to fix gl detection

Detecting opengl using autoconf-archive currently fails:
| aclocal: warning: couldn't open directory 'm4': No such file or directory
| configure.ac:306: error: _AX_CHECK_GL_MANUAL_LIBS_GENERIC: argument must not be empty
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/cava/0.10.4/recipe-sysroot-native/usr/share/aclocal/ax_check_gl.m4:187: _AX_CHECK_GL_MANUAL_LIBS_GENERIC is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:595: AS_CASE is expanded from...
| /home/flk/poky/build/tmp/work/corei7-64-poky-linux/cava/0.10.4/recipe-sysroot-native/usr/share/aclocal/ax_check_gl.m4:253: AX_CHECK_GL is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| ../sources/autoconf-2.72/lib/m4sugar/m4sh.m4:697: AS_IF is expanded from...
| configure.ac:306: the top level
| autom4te: error: m4 failed with exit status: 1

This issue has already been fixed upstream, but there has been no new release since then.

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agobinutils: Upgrade to 2.45 release
Khem Raj [Tue, 29 Jul 2025 16:36:55 +0000 (09:36 -0700)] 
binutils: Upgrade to 2.45 release

Added support for SFrame stack tracing with ELF binaries on x86 and AArch64 architectures.
Support for various new RISC-V extensions
Support for most Armv9.6 extensions.

Detailed release notes are here [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2025-07/msg00009.html

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agolibclc: Set LDFLAGS to BUILD_LDFLAGS in do_build_prepare_builtins
Khem Raj [Wed, 30 Jul 2025 06:18:07 +0000 (23:18 -0700)] 
libclc: Set LDFLAGS to BUILD_LDFLAGS in do_build_prepare_builtins

This function is compiling a native binary, however its operating
largely inside a target or nativesdk shell environment. It does
tricks by passing toolchain-native.cmake to provide native
overrides for cmake, which works for most of variables of interest
besides LDFLAGS. In the toolchain.cmake files on OE we do not
override LDFLAGS but append to it via CMAKE_CXX_LINK_FLAGS  or
CMAKE_C_LINK_FLAGS, which causes problems because LDFLAGS for
nativesdk will contain --dynamic-linker option pointing into
nativesdk string and when doing target build it will use the
LDFLAGS from target environment which might work if it does
not contain conflicting flags.

Currently prepare_builtins binary durin nativesdk build ends up with

 [Requesting program interpreter: /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-yoesdk-linux/lib/ld-linux-x86-64.so.2]

 This is because LDFLAGS for nativesdk contain the --dynamic-linker
flags pointing into this path.

Target builds for musl targets also end up with similar problems

So lets pass LDFLAGS=BUILD_LDFLAGS to fix this problem

Should toolchain.cmake class define CMAKE_EXE_LINKER_FLAGS,
CMAKE_SHARED_LINKER_FLAGS, CMAKE_MODULE_LINKER_FLAGS etc. as well
is a question that deserve a separate discussion

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agooeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version
Liu Yiding [Wed, 30 Jul 2025 05:09:17 +0000 (13:09 +0800)] 
oeqa/runtime/ltp: Drop ipc that is moved into syscalls in new version

ipc has been moved into syscalls
upstream commit: https://github.com/linux-test-project/ltp/commit/80fd2d673bc0fd8514190a061219c24933b6f03f

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agoltp: upgrade 20250130 -> 20250530
Liu Yiding [Wed, 30 Jul 2025 05:09:16 +0000 (13:09 +0800)] 
ltp: upgrade 20250130 -> 20250530

Changelog: https://github.com/linux-test-project/ltp/releases/tag/20250530

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agolibclc: Point to native prepare_builtins binary for target and nativesdk
Khem Raj [Wed, 30 Jul 2025 04:38:09 +0000 (21:38 -0700)] 
libclc: Point to native prepare_builtins binary for target and nativesdk

This is not needed for native version

This will be in utils/ directory starting with clang-22

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agolibclc: Fix absolute symlinks in sysroot
Khem Raj [Wed, 30 Jul 2025 04:38:08 +0000 (21:38 -0700)] 
libclc: Fix absolute symlinks in sysroot

This helps in creating relative symlinks

Fixes sstate errors e.g.
ERROR: sstate found an absolute path symlink /home/khem/yoe/build/tmp/work/aarch64-linux/libclc-native/21.1.0/sysroot-destdir/home/khem/yoe/build/tmp/work/aarch64-linux/libclc-native/21.1.0/recipe-sysroot-native/usr/share/clc/gfx90c-amdgcn-mesa-mesa3d.bc pointing at /home/khem/yoe/build/tmp/work/aarch64-linux/libclc-native/21.1.0/build/tahiti-amdgcn-mesa-mesa3d.bc. Please replace this with a relative link.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agobash: upgrade 5.2.37 -> 5.3
Hongxu Jia [Mon, 21 Jul 2025 08:21:01 +0000 (16:21 +0800)] 
bash: upgrade 5.2.37 -> 5.3

Refresh patch to 5.3
- mkbuiltins_have_stringize.patch

Drop backport patch
- 0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch
- fix-filesubst-errexit.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agoperf: improve fixing for buildpaths QA warning
Changqing Li [Wed, 30 Jul 2025 01:42:58 +0000 (09:42 +0800)] 
perf: improve fixing for buildpaths QA warning

if O=${B} is removed from EXTRA_OEMAKE, perf will compile failed with
error:
| make[2]: *** No rule to make target 'tools/arch/arm64/include/uapi/asm/unistd.h', needed by 'arch/arm64/include/generated/asm/syscalls.c'.  Stop.

Improve to add an extra rel_sysdef for fixing buildpaths QA warning,
and keep original sysdef

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agolibcxx,compiler-rt: Remove use of non-existing runtime-llvm override
Khem Raj [Wed, 30 Jul 2025 00:27:45 +0000 (17:27 -0700)] 
libcxx,compiler-rt: Remove use of non-existing runtime-llvm override

Provide libunwind based on TC_CXX_RUNTIME
When TC_CXX_RUNTIME is set to be 'llvm' distro wants
to use llvm provided runtime elements therefore provide
libunwind when TC_CXX_RUNTIME = "llvm"

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agomesa: Fix a build issue with clang-21
Khem Raj [Mon, 28 Jul 2025 03:20:43 +0000 (20:20 -0700)] 
mesa: Fix a build issue with clang-21

This is a backport, helps compiling with upcoming clang-21

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agocompiler-rt: Add missing VER_SUFFIX to installation directory name
Khem Raj [Mon, 28 Jul 2025 03:20:42 +0000 (20:20 -0700)] 
compiler-rt: Add missing VER_SUFFIX to installation directory name

This helps building, pre-release snapshots e.g. -rc1 etc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agospirv-headers,spirv-tools: Update to tip of trunk
Khem Raj [Mon, 28 Jul 2025 03:20:41 +0000 (20:20 -0700)] 
spirv-headers,spirv-tools: Update to tip of trunk

This is needed for compiling SPIRV llvm-translator from llvm 21.1.0 rc1

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agoclang: Drop dependency on spirv-tools-native
Khem Raj [Mon, 28 Jul 2025 03:20:40 +0000 (20:20 -0700)] 
clang: Drop dependency on spirv-tools-native

spirv is now a separate recipe.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agospirv-headers,spirv-tools: Upgrade to 1.4.321.0 release
Khem Raj [Mon, 28 Jul 2025 03:20:39 +0000 (20:20 -0700)] 
spirv-headers,spirv-tools: Upgrade to 1.4.321.0 release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agoutil-linux: correct test case kill/decode for bash 5.3
Hongxu Jia [Mon, 28 Jul 2025 13:42:38 +0000 (21:42 +0800)] 
util-linux: correct test case kill/decode for bash 5.3

After upgrading bash to 5.3 to contain commit [1], if SIGINT was trapped in
asynchronous subshell, bash called set_signal_async_ignored to make sure
processes that are created by this asynchronous subshell to ignore SIGINT.

And it caused test case `kill/decode' failed, the signal INT was existed in
both of Blocked and Ignored

root@qemux86-64:~# cd /usr/lib/util-linux/ptest/
root@qemux86-64:/usr/lib/util-linux/ptest# ./run-ptest
...
diff-{{{
|--- /usr/lib/util-linux/ptest/tests/expected/kill/decode        2011-04-05 23:00:00.000000000 +0000
|+++ /usr/lib/util-linux/ptest/tests/output/kill/decode  2025-07-28 12:09:46.279000000 +0000
@@ -16,5 +16,5 @@
 Pending (thread): INT ILL
 Pending (process): USR1
 Blocked: INT ILL ABRT FPE USR1 SEGV TERM
-Ignored: HUP QUIT TRAP PIPE ALRM
+Ignored: HUP INT QUIT TRAP PIPE ALRM
 Caught: ILL USR1
}}}-diff
...

Explicitly reset SIGINT to default action after trapping, then the
test case `kill/decode' works on both of old (<5.3) and new (>=5.3) bash

[1] https://cgit.git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=a5d2617c7a7e602ace1f4149987cdfd075c4e762

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agopython_setuptools_build_meta: clean the build directory in configure
Ross Burton [Tue, 29 Jul 2025 08:59:35 +0000 (09:59 +0100)] 
python_setuptools_build_meta: clean the build directory in configure

It's not currently possible to set the build tree to be somewhere we
control, but we know it will always be in the build directory alongside
the pyproject.toml so we can [cleandirs] that.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agosetuptools3: clean the build directory in configure
Ross Burton [Tue, 29 Jul 2025 08:59:34 +0000 (09:59 +0100)] 
setuptools3: clean the build directory in configure

It's not currently possible to set the build tree to be somewhere we
control, but we know it will always be in the build directory alongside
the setup.py so we can [cleandirs] that.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agosetuptools3: pass -j to build step
Ross Burton [Tue, 29 Jul 2025 08:59:33 +0000 (09:59 +0100)] 
setuptools3: pass -j to build step

Explicitly call the build command, as by doing this we get to pass -j.

In packages without any C extensions this is mostly a no-op as
bdist_wheel will call it anyway. However, this does make a big
difference to build time for packages with non-trivial C extensions:

  python3-cython:do_compile     204.8s -> 70.9s
  python3-lxml:do_compile       157.5s -> 92.4s

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agosetuptools3: tidy up do_compile
Ross Burton [Tue, 29 Jul 2025 08:59:32 +0000 (09:59 +0100)] 
setuptools3: tidy up do_compile

This function was untidy and has pointless logging, rewrite.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agosetuptools3_legacy: add pyproject.toml check
Ross Burton [Tue, 29 Jul 2025 08:59:31 +0000 (09:59 +0100)] 
setuptools3_legacy: add pyproject.toml check

Copy the pyproject.toml check from setuptools3.bbclass so that the legacy
class will also warn if there's a modern build framework available.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agosetuptools3_legacy: ensure ${B} is clean
Ross Burton [Tue, 29 Jul 2025 08:59:30 +0000 (09:59 +0100)] 
setuptools3_legacy: ensure ${B} is clean

We do builds in a separate directory in this class, so add it to cleandirs
to ensure that it is empty.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agopython_pep517: set CONFIGURE_FILES
Ross Burton [Tue, 29 Jul 2025 08:59:29 +0000 (09:59 +0100)] 
python_pep517: set CONFIGURE_FILES

Move the CONFIGURE_FILES assignment from python_mesonpy to the common
class, as it isn't specific to mesonpy.

Also extend, so that it doesn't clobber existing settings.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agobitbake.conf: Add xz to HOSTTOOLS
Robert Yang [Tue, 29 Jul 2025 08:03:30 +0000 (01:03 -0700)] 
bitbake.conf: Add xz to HOSTTOOLS

The uninative tarball requires xz to decompress:
WARNING: Disabling uninative as unable to install uninative tarball:
WARNING: tar (child): xz: Cannot exec: No such file or directory

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agoe2fsprogs: Fix native build errors on old kernel such as 5.10
Robert Yang [Tue, 29 Jul 2025 07:37:22 +0000 (00:37 -0700)] 
e2fsprogs: Fix native build errors on old kernel such as 5.10

* Fix e2fsprogs-native do_compile error with old kernel such as 5.10
  (Debian 11):
  ../../sources/e2fsprogs-1.47.2/debugfs/../misc/create_inode.c:600:20: error: FS_IOC_READ_VERITY_METADATA undeclared (first use in this function)

* And its version should be 1.47.3, not 1.47.2.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agogcc: Fix libsanitizers build with glibc 2.42
Khem Raj [Tue, 29 Jul 2025 05:47:15 +0000 (22:47 -0700)] 
gcc: Fix libsanitizers build with glibc 2.42

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agonfs-utils: Fix build with glibc 2.42
Khem Raj [Tue, 29 Jul 2025 05:37:13 +0000 (22:37 -0700)] 
nfs-utils: Fix build with glibc 2.42

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agotune-octeonx2: Do not use -mcpu=octeontx2 with clang
Khem Raj [Tue, 29 Jul 2025 01:49:11 +0000 (18:49 -0700)] 
tune-octeonx2: Do not use -mcpu=octeontx2 with clang

-mcpu=octeontx2 is not implemented in clang, therefore
replace it with -march option denoting underlying
armv8 architecture revision.

 Fixes:

    |   error: unsupported argument 'octeontx2+crypto' to option '-mcpu='
    |   error: unknown target CPU 'octeontx2'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agospirv-tools: no need for separate lesspipe package
Ross Burton [Mon, 28 Jul 2025 16:44:12 +0000 (17:44 +0100)] 
spirv-tools: no need for separate lesspipe package

The lesspipe script hasn't needed bash since 2018[1], so remove the bash
dependency and package the script in the main package as it's only a
few lines long.

[1] spirv-tools f70e9e "tools/lesspipe: Allow generic shell (#2255)"

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agospirv-llvm-translator: small recipe cleanup
Ross Burton [Mon, 28 Jul 2025 16:44:11 +0000 (17:44 +0100)] 
spirv-llvm-translator: small recipe cleanup

- There is no need for python3native, as this recipe doesn't depend on
  other python modules.

- Inherit lib_package so the llvm-spirv binary is in a separate package
  to the libLLVMSPIRVLib.so library.

- Remove obsolete CMake options that no longer appear to be required.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agomaintainers: Use my personal e-mail address
Fabio Estevam [Mon, 28 Jul 2025 16:18:41 +0000 (13:18 -0300)] 
maintainers: Use my personal e-mail address

Switch to my personal e-mail address for OE related work.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agommc-utils: properly set sparse option
Dario Binacchi [Fri, 25 Jul 2025 08:06:55 +0000 (10:06 +0200)] 
mmc-utils: properly set sparse option

Commit [1] fixes the conditional invocation of sparse properly handling
the corresponding 'C' option. Hence, the related change in the
EXTRA_OEMAKE (i.e. C=0).

[1] https://web.git.kernel.org/pub/scm/utils/mmc/mmc-utils.git/commit/?id=a89cba2a0f8c6a19aa6b804877241170f5b6bdd2

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agobarebox-tools: install rk-usb-loader
Michael Tretter [Thu, 24 Jul 2025 14:09:57 +0000 (16:09 +0200)] 
barebox-tools: install rk-usb-loader

The rk-usb-loader is already enabled in the hosttools_defconfig and
targettools_defconfig and compiled by the recipe.

Add it to the BAREBOX_TOOLS list to actually install it.

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agospdx30_tasks: Add support for exporting PACKAGECONFIG to SPDX
Kamel Bouhara [Mon, 28 Jul 2025 13:30:44 +0000 (15:30 +0200)] 
spdx30_tasks: Add support for exporting PACKAGECONFIG to SPDX

Introduce the SPDX_INCLUDE_PACKAGECONFIG variable, which when enabled causes
PACKAGECONFIG features to be recorded in the SPDX document as build parameters.

Each feature is recorded as a DictionaryEntry with key PACKAGECONFIG:<feature>
and value enabled or disabled, depending on whether the feature is active in
the current build.

This makes the build-time configuration more transparent in SPDX output and
improves reproducibility tracking.

This makes the build-time configuration more transparent in SPDX output and
improves reproducibility tracking. In particular, it allows consumers of the
SBOM to identify enabled/disabled features that may affect security posture
or feature set.

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agokernel.bbclass: Add task to export kernel configuration to SPDX
Kamel Bouhara [Mon, 28 Jul 2025 13:30:43 +0000 (15:30 +0200)] 
kernel.bbclass: Add task to export kernel configuration to SPDX

Introduce a new bitbake task do_create_kernel_config_spdx that extracts
the kernel configuration from ${B}/.config and exports it into the
recipe's SPDX document as a separate build_Build object.

The kernel config parameters are stored as SPDX DictionaryEntry objects
and linked to the main kernel build using an ancestorOf relationship.

This enables the kernel build's configuration to be explicitly captured
in the SPDX document for compliance, auditing, and reproducibility.

The task is gated by SPDX_INCLUDE_KERNEL_CONFIG (default = "0").

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agorust: Upgrade 1.87.0 -> 1.88.0
Jayasurya Maganuru [Mon, 28 Jul 2025 11:54:08 +0000 (04:54 -0700)] 
rust: Upgrade 1.87.0 -> 1.88.0

Rust stable version updated to 1.88.0.
https://blog.rust-lang.org/2025/06/26/Rust-1.88.0/

* Rebase existing patches with v1.88.0

* Exclude tidy and coverage-dump from OE self-tests due to test failures
  Although the build completes successfully, OE self-tests fail:
  tools/coverage-dump panics during test execution.
  tools/tidy fails due to a mismatched GCC submodule commit.
  These tests are excluded to allow successful OE self-test runs.

* Two tests from the`codegen` modules now fail only on riscv64.
  Enable them on arm32/64 and x86-32/64 targets, while restricting
  them on riscv64 via `only-<target_arch>` tags.

  Bugzilla link - https://bugzilla.yoctoproject.org/show_bug.cgi?id=15944

  Test Results Summary:
  +-----------+--------+---------+
  | Machine   | Passed | Ignored |
  +-----------+--------+---------+
  | arm-32    | 28,664 | 1,451   |
  | arm-64    | 28,748 | 1,396   |
  | x86-32    | 28,657 | 1,432   |
  | x86-64    | 28,904 | 1,213   |
  | riscv-64  | 28,722 | 1,421   |
  +-----------+--------+---------+

Signed-off-by: Jayasurya Maganuru <Maganuru.Jayasurya@windriver.com>
Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agolicense_image: Make use of exit_if_errors consistent
Philip Lorenz [Mon, 28 Jul 2025 09:59:32 +0000 (11:59 +0200)] 
license_image: Make use of exit_if_errors consistent

`exit_if_errors` is typically called at the end of the outermost call
site (e.g. the task or hook calling a function which raises QA issues).
Adapt license_image accordingly.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agoinsane: Explicitly fail parsing if QA errors were raised
Philip Lorenz [Mon, 28 Jul 2025 09:59:31 +0000 (11:59 +0200)] 
insane: Explicitly fail parsing if QA errors were raised

So far, failing the build when a QA error was raised happened implicitly
when another (unrelated) caller called `exit_if_errors` (e.g.
insane.bbclass's anonymous Python function). This is error prone and may
also lead to inconsistent abortion behaviour when parsing QA errors are
only raised later.

Fix this by introducing an explicit call to `exit_if_errors` once recipe
parsing has finished.

Currently code in the following .bbclasses relies on insane.bbclass to
call `exit_if_errors`:
* license.bbclass
* yocto-check-layer.bbclass

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agosetuptools3: Add missing call to exit_if_errors
Philip Lorenz [Mon, 28 Jul 2025 09:59:30 +0000 (11:59 +0200)] 
setuptools3: Add missing call to exit_if_errors

`exit_if_errors` must be called explicitly at the end of the task
execution to ensure that QA issues categorized as errors fail the task.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agopackage: Drop var-undefined QA check
Philip Lorenz [Mon, 28 Jul 2025 09:59:29 +0000 (11:59 +0200)] 
package: Drop var-undefined QA check

The variables checked for are mandatory in all cases so a QA check does
not seem to be the right choice for this. Additionally, the code never
called `exit_if_errors` so the reported QA issue didn't actually fail
the task.

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agooe-selftest: add wic.Wic.test_grub_install_pcbios
Vincent Davis Jr [Sat, 26 Jul 2025 01:46:58 +0000 (21:46 -0400)] 
oe-selftest: add wic.Wic.test_grub_install_pcbios

wic.Wic.test_grub_install_pcbios test

Test updates to the bootimg_pcbios plugin that
enables support for installing grub directly
to the resulting wic image.

The test checks to see if the wics plugin
generates a wic image. Then see's if normal.mod
and grub.cfg are located in the boot partition.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agowks: add loader-bios to bootimg_pcbios source_params
Vincent Davis Jr [Sat, 26 Jul 2025 01:46:56 +0000 (21:46 -0400)] 
wks: add loader-bios to bootimg_pcbios source_params

source_params['loader-bios'] is required
for newer updates to bootimg_pcbios wics
plugin.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agobootimg_pcbios: support grub legacy bios boot
Vincent Davis Jr [Sat, 26 Jul 2025 01:46:54 +0000 (21:46 -0400)] 
bootimg_pcbios: support grub legacy bios boot

Due to the bootimg_biosplusefi source_params['loader']
had to be named source_params['loader-bios'] so not
to create conflict in the wics plugin.

Signed-off-by: Vincent Davis Jr <vince@underview.tech>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
6 days agofeature-arm-crypto: Add +nocrypto to -mcpu when crypto not in features
Khem Raj [Thu, 24 Jul 2025 17:06:00 +0000 (10:06 -0700)] 
feature-arm-crypto: Add +nocrypto to -mcpu when crypto not in features

When crypto is not in tune features then add +nocryto to
-mcpu explicitly. This makes the behavior between clang
and gcc match. Currently -mcpu=cortex-a72 has different
behavior in clang and gcc in terms of what features are
considered default. Clang enables different set of common
features than gcc on other hand. For example clang
enables crypto with default set but gcc
does not, gcc recommends to disable unavailable extensions
in -mcpu [1] explicitly. crypto is optional on cortex-a53
and cortex-a72. This is not as common but Broadcom
SOCs in raspberrypi3/4 have dropped crypto for cost
reasons [2]. This results in illegal instruction
traps [3] [4] when building components e.g. chromium,
qtwebengine, weston etc. with clang using -mcpu=cortex-a72
for rpi4 target.

Adding +nocrypto makes clang behave like gcc does today. We
do have separate tune if crypto enabled cortex-a72 cores
are to be targeted (cortexa72-cryto) as DEFAULTTUNE

They are added to default feature file since crypto extension
is available in multiple arm architecture versions e.g. armv8,
armv9. It is optional extension as per spec [5]

Extensions can be enabled and disabled with -mcpu using the same
syntax as with -march, and have same effect thats why it is
intrumented via TUNE_CCARGS_MARCH_OPTS

[1] https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html#index-mcpu-2
[2] https://forums.raspberrypi.com/viewtopic.php?f=63&t=207888#p1332960
[3] https://github.com/llvm/llvm-project/issues/85699
[4] https://github.com/llvm/llvm-project/issues/90365
[5] https://developer.arm.com/documentation/109697/2025_06/Feature-descriptions/The-Armv9-0-architecture-extension

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Quentin Schulz <quentin.schulz@cherry.de>
Acked-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
7 days agooeqa: do not fail when sdk package is not available
Peter Marko [Wed, 23 Jul 2025 06:26:16 +0000 (08:26 +0200)] 
oeqa: do not fail when sdk package is not available

Prior to commits:
11277efd057685558a744e98082b5709e849dd2a
d0e8b83d05957b1f22d08582e364afa4b522801e
the tests were skipped if package was not available.
Now the code calls function ensure_host_package which says
"try to sdk-install missing dependencies", however in fact for sdkext it
causes a failure if the installation is not available.

Since maturin is not installed in any image, it cannot be installed
unless it's downloaded from sstate-cache mirror populated by a world
build. These builds are however now not done for powerpc and mips.
It also does not work in local builds without sstate-cache mirror.

Fix this by skipping the test if the package cannot be installed to
match the original behavior before those commits.

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Cc: Ross Burton <ross.burton@arm.com>
Cc: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
8 days agoqemu: Remove deprecated asyncio calls in qmp python module
Khem Raj [Sat, 26 Jul 2025 22:31:50 +0000 (15:31 -0700)] 
qemu: Remove deprecated asyncio calls in qmp python module

Fixes deprecation warning seen with python 3.13

DEBUG: QMP Initializing to /mnt/b/yoe/master/build/tmp/.sv4_k_q4

recipe-sysroot-native/usr/lib/qemu-python/qmp/legacy.py:89: DeprecationWarning: There is no current event loop
  self._aloop = asyncio.get_event_loop()

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agodocumentation.conf: drop reference to tar IMAGE_PKGTYPE
Robert P. J. Day [Fri, 25 Jul 2025 09:16:52 +0000 (05:16 -0400)] 
documentation.conf: drop reference to tar IMAGE_PKGTYPE

tar packaging was removed some time ago.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agoncurses: patch CVE-2025-6141
Peter Marko [Thu, 24 Jul 2025 22:12:29 +0000 (00:12 +0200)] 
ncurses: patch CVE-2025-6141

Pick relevant part of snapshot commit 20250329, see [1].

That has:
add a buffer-limit check in postprocess_termcap (report/testcase by
Yifan Zhang).

[1] https://invisible-island.net/ncurses/NEWS.html#index-t20250329

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agoscripts/install-buildtools: Update to 5.2.2
Aleksandar Nikolic [Thu, 24 Jul 2025 19:53:53 +0000 (21:53 +0200)] 
scripts/install-buildtools: Update to 5.2.2

Update to the 5.2.2 release of the 5.2 series for buildtools

Signed-off-by: Aleksandar Nikolic <aleksandar.nikolic@zeiss.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agospirv-llvm-translator: depend on llvm, not clang
Ross Burton [Thu, 24 Jul 2025 18:38:49 +0000 (19:38 +0100)] 
spirv-llvm-translator: depend on llvm, not clang

At the moment the clang recipe provides llvm, but they could be split
in the future and this makes it clear that the translator just needs
libllvm and not the clang tools.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agoclang: move get_clang_arch() functions to the common inc file
Ross Burton [Thu, 24 Jul 2025 18:38:48 +0000 (19:38 +0100)] 
clang: move get_clang_arch() functions to the common inc file

These functions are useful outside of just the clang recipe, so move
them to a common .inc file so they can be used by other clang-related
recipes.

Also make the function fail if it doesn't recognise the architecture,
instead of returning the empty string and causing mysterious fails later.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agoccache: drop CCACHE_COMPILERCHECK
Ross Burton [Thu, 24 Jul 2025 16:20:54 +0000 (17:20 +0100)] 
ccache: drop CCACHE_COMPILERCHECK

This variable controls how ccache determines if the cache is valid or not
for a given compiler.

By default, ccache looks at the mtime of the compiler binary. This should
be sufficient for our purposes as the mtime is preserved from sstate
and will only be changed on rebuilds if the binary is actually different.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agoccache: move environment variables to the configuration file
Ross Burton [Thu, 24 Jul 2025 16:20:53 +0000 (17:20 +0100)] 
ccache: move environment variables to the configuration file

Move some environment variables to the configuration file, so there's
less happening in the class.

Max_size was removed so that the per-recipe caches don't grown without
limit. The default cache is 5GB.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agobluez: Fix invalid-pp-token warning found with clang
Khem Raj [Thu, 24 Jul 2025 05:57:01 +0000 (22:57 -0700)] 
bluez: Fix invalid-pp-token warning found with clang

We add FIRMWARE_DIR via CFLAGS using escapes for string and clang
option parser flags it

<command line>:4:23: warning: missing terminating '"' character [-Winvalid-pp-token]
    4 | #define FIRMWARE_DIR \"/usr/lib/firmware\"
      |                       ^

emitting this warning during configure means some tests fail wrongly. e.g.
test for enable -fPIC -DPIC, which results in textrels in libbbluetooth.so

Pass the string definition using single quotes to avoid the shell
"eating" the quotes and other characters

This works well across gcc and clang

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agobusybox: Skip a non-posix awk ptest on musl systems
Khem Raj [Thu, 24 Jul 2025 07:24:13 +0000 (00:24 -0700)] 
busybox: Skip a non-posix awk ptest on musl systems

The test depends on BSD extension REG_STARTEND which
is not in POSIX, glibc does implement this extention so it
works on glibc systems but musl does not and it needs to
be skipped and LIBC environment variable is used in this
test as well to run it conditionally.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
8 days agoe2fsprogs: 1.47.1 -> 1.47.3
Robert Yang [Mon, 21 Jul 2025 13:48:00 +0000 (06:48 -0700)] 
e2fsprogs: 1.47.1 -> 1.47.3

* Remove backported patch 0001-libext2fs-fix-std-c23-build-failure.patch
* Fixed QA Issue:
  ERROR: e2fsprogs-1.47.2-r0 do_package_qa: QA Issue: File /usr/lib/e2fsprogs/ptest/test/test_one in package e2fsprogs-ptest contains reference to TMPDIR [buildpaths]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agou-boot: upgrade 2025.04 -> 2025.07
Fabio Estevam [Mon, 21 Jul 2025 17:11:32 +0000 (14:11 -0300)] 
u-boot: upgrade 2025.04 -> 2025.07

Upgrade to U-Boot 2025.07.

Add patches for build race conditions.
Remove the QEMU KVM USB workaround since the issue is fixed upstream.

Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoxwayland: upgrade 24.1.6 -> 24.1.8
Liu Yiding [Wed, 23 Jul 2025 01:06:14 +0000 (09:06 +0800)] 
xwayland: upgrade 24.1.6 -> 24.1.8

- 24.1.8
  * CVE-2025-49176
  Changelog: https://lists.x.org/archives/xorg-announce/2025-June/003613.html

- 24.1.7
  * CVE-2025-49175
  * CVE-2025-49176
  * CVE-2025-49177
  * CVE-2025-49178
  * CVE-2025-49179
  * CVE-2025-49180
  Changelog: https://lists.x.org/archives/xorg-announce/2025-June/003610.html

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agowireless-regdb: upgrade 2025.02.20 -> 2025.07.10
Liu Yiding [Wed, 23 Jul 2025 01:06:13 +0000 (09:06 +0800)] 
wireless-regdb: upgrade 2025.02.20 -> 2025.07.10

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agopython3-typing-extensions: upgrade 4.14.0 -> 4.14.1
Liu Yiding [Wed, 23 Jul 2025 01:06:12 +0000 (09:06 +0800)] 
python3-typing-extensions: upgrade 4.14.0 -> 4.14.1

Changelog:
==========
- Fix usage of typing_extensions.TypedDict nested inside other types
(e.g., typing.Type[typing_extensions.TypedDict]). This is not allowed by the
type system but worked on older versions, so we maintain support.

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agopython3-rpds-py: upgrade 0.25.1 -> 0.26.0
Liu Yiding [Wed, 23 Jul 2025 01:06:11 +0000 (09:06 +0800)] 
python3-rpds-py: upgrade 0.25.1 -> 0.26.0

ptest ok:
============================================================================
 Testsuite summary
 # TOTAL: 116
 # PASS: 116
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0
 # ERROR: 0
 DURATION: 14
 END: /usr/lib/python3-rpds-py/ptest
 2025-07-22T09:57
 STOP: ptest-runner
 TOTAL: 1 FAIL: 0

Changelog:
===========
- Build CPython 3.14 wheels
- Require maturin>=1.9.0 to ensure support for PEP 639

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agopython3-maturin: upgrade 1.9.0 -> 1.9.1
Liu Yiding [Wed, 23 Jul 2025 01:06:10 +0000 (09:06 +0800)] 
python3-maturin: upgrade 1.9.0 -> 1.9.1

Changelog:
==========
- Fix absolute license file path from Cargo.toml

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoerofs-utils: upgrade 1.8.5 -> 1.8.10
Liu Yiding [Wed, 23 Jul 2025 01:06:08 +0000 (09:06 +0800)] 
erofs-utils: upgrade 1.8.5 -> 1.8.10

Changelog:
==========
- Fix extent-based deduplication which can cause data corruption if target images are larger than 4GiB
- Switch to on-heap temporary buffers for libzstd and libdeflate to replace on-stack VLAs
- Fix large compressed fragment handling, which could be generated by the `-Eall-fragments` option (though rare) and was rejected by mistake
- Fix corrupted small fragments introduced in erofs-utils 1.8.8
- Fix AUFS whiteout handling
- Properly handle negative GNU mtime
- Fix superblock checksum for small fs block size filesystems
- Fix temporary memory leak from small fragments
- Handle crafted Z_EROFS_COMPRESSION_INTERLACED extents
- Speed up multi-threaded `-Efragments` even further
- Fix DEFLATE due to incorrect maximum Huffman length
- Support `--fsalignblks` to align filesystem sizes
- Support `--vmdk-desc` to generate VMDK for flattened block devices
- Fix image reproducibility of `-E(all-)fragments`
- Support per-segment reaper for multi-threaded compression
- Support multi-threaded fragments
- Support extent-based deduplication for `-Efragments`
- Optimize space allocation performance

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoepiphany: upgrade 48.3 -> 48.5
Liu Yiding [Wed, 23 Jul 2025 01:06:07 +0000 (09:06 +0800)] 
epiphany: upgrade 48.3 -> 48.5

Changelog:
==========
- appstream: Fix app id
- window: rearrange disconnect_active_embed
- window: disconnect correct callback in unregister embed function
- window: also disconnect sync_tab_bookmarked_status
- Simplify decision to remember passwords
- web-view: don't use saved HTTP auth credentials in private modes
- web-view: relocate authenticate_succeeded_cb
- web-view: fix HTTP auth on authenticationtest.com
- web-extension-manager: fix web process extension init regression
- Show created instead of modified time in webapp overview
- Don't consider og:image for web app icon
- window-commands: unref window in case of error
- Update Chinese (Taiwan) translation
- Update Slovak translation
- Fix logic error breaking the password manager
- Update Japanese translation
- shell: Fix startup crash on Pantheon
- action-bar-end: Fix startup crash on Pantheon
- ephy-password-import: improve robustness
- ci: generate new image for style checker
- Fix PKCS #11 login for invalid cert/priv pairs
- Update Romanian translation
- Attempt to fix release CI

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoat-spi2-core: upgrade 2.56.2 -> 2.56.3
Liu Yiding [Wed, 23 Jul 2025 01:06:06 +0000 (09:06 +0800)] 
at-spi2-core: upgrade 2.56.2 -> 2.56.3

Changelog:
==========
- DeviceEventController: update mouse coordinates before sending button events
- Return localized role name for ATSPI_ROLE_EDITBAR
- Revert "Return localized role name for ATSPI_ROLE_EDITBAR"
- Return localized role name for ATSPI_ROLE_EDITBAR
- atspi-device-legacy: Don't crash when XkbGetMap fails

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoless: upgrade 678 -> 679
Liu Yiding [Wed, 23 Jul 2025 01:06:05 +0000 (09:06 +0800)] 
less: upgrade 678 -> 679

Changelog:
==========
- Fix bad parsing of lesskey file an env var is a prefix of another env var
- Fix unexpected exit using -K if a key press is received while reading the input file

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoell: upgrade 0.76 -> 0.78
Liu Yiding [Wed, 23 Jul 2025 01:06:04 +0000 (09:06 +0800)] 
ell: upgrade 0.76 -> 0.78

Changelog:
==========
- ecc: Check return value of l_getrandom()
- unit: test-ecdh: Add bytes to l_getrandom wrapper
- unit: Convert UUID test cases to use precheck feature
- unit: Convert PBKDF2 test cases to use precheck feature
- unit: Convert check for random support to use test precheck feature
- unit: Make the failed precheck test case a success
- test: Add flag for indication of inverted precheck results
- unit: Use the precheck handler for testing available key support
- unit: Use the precheck handler for testing available getrandom support
- unit: Use the precheck handler for testing available checksum support
- unit: Use the precheck handler for testing available cipher support
- test: Provide test data also to the precheck function
- unit: Add test cases for precheck of unit tests
- test: Add support for precheck handler for unsupported kernel features
- Add License variable to pkg-config file

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agobarebox-tools: upgrade 2025.06.0 -> 2025.07.0
Liu Yiding [Wed, 23 Jul 2025 01:06:03 +0000 (09:06 +0800)] 
barebox-tools: upgrade 2025.06.0 -> 2025.07.0

Changelog:  https://lore.barebox.org/barebox/aGUtKn1BbPXi4Y9m@pengutronix.de/T/#u
Migration Guide: https://barebox.org/doc/latest/migration-guides/migration-2025.07.0.html

Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agolibmicrohttpd: upgrade 1.0.1 -> 1.0.2
Gyorgy Sarvari [Tue, 22 Jul 2025 15:26:59 +0000 (17:26 +0200)] 
libmicrohttpd: upgrade 1.0.1 -> 1.0.2

Changelog: It primarily fixes a double-close() bug on bind() errors.

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agomesa: Upgrade 25.1.5 -> 25.1.6
Leon Anavi [Mon, 21 Jul 2025 07:54:16 +0000 (10:54 +0300)] 
mesa: Upgrade 25.1.5 -> 25.1.6

- v3dv: regression in vkAllocateMemory importing gbm bo
- Vulkan WSI (and zink) use threads on X11 even when the X
  connection isn't thread-safe
- sddm-greeter-qt segfault when using nvk+zink
- [regression][bisected] [FirePro W4100]: crashing/rebooting
- Descriptor set layout with binding flags fails due to indices
  not matching bindings
- piglit bindless texture tests crash
- [radeonsi] Artifacts in Team Fortress 2 (bisected)
- eglgears_wayland segfault on zink+nvk with PRIME
- vn_renderer_virtgpu.c:13:10: fatal error: 'xf86drm.h' file not
  found
- brw: mad instruction printing broken on Gfx11
- radv: RGB9E5 rendering does not ignore alpha write mask

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoglibc: stable 2.41 branch updates
Deepesh Varatharajan [Mon, 21 Jul 2025 07:42:16 +0000 (00:42 -0700)] 
glibc: stable 2.41 branch updates

$ git log --oneline 0c76c951620f9e12df2a89b2c684878b55bb6795..6e489c17f827317bcf8544efefa65f13b5a079dc
6e489c17f8 Fix error reporting (false negatives) in SGID tests
11e634ccf3 support: Pick group in support_capture_subprogram_self_sgid if UID == 0
61e461ed0c sparc: Fix sparc32 Fix argument passing to __libc_start_main (BZ 32981)

Testing Results:
           Before     After   Diff
PASS         5801      5809     +8
XPASS        4         4         0
FAIL         266       261      -5
XFAIL        16        16        0
UNSUPPORTED  164       161      -3

6e489c17f8 Fix error reporting (false negatives) in SGID tests
Improved SGID test handling by unifying error reporting and using secure temporary directories.
Replaced non-standard exit codes and fixed premature exits to avoid masking failures.
These changes reduced false negatives, increasing overall test pass rates.

UNSUPPORTED tests changes
-UNSUPPORTED: stdlib/tst-secure-getenv
-UNSUPPORTED: elf/tst-env-setuid-static
-UNSUPPORTED: elf/tst-env-setuid-tunables

FAILed tests changes
-FAIL: stdio-common/bug22
-FAIL: stdio-common/tst-printf-format-f-char
-FAIL: stdio-common/tst-printf-format-v-uchar
-FAIL: stdio-common/tst-printf-format-v-ullong
-FAIL: stdio-common/tst-printf-format-vas-double-F

PASSed tests changes
+PASS: stdlib/tst-secure-getenv
+PASS: elf/tst-env-setuid-static
+PASS: elf/tst-env-setuid-tunables
+PASS: stdio-common/bug22
+PASS: stdio-common/tst-printf-format-f-char
+PASS: stdio-common/tst-printf-format-v-uchar
+PASS: stdio-common/tst-printf-format-v-ullong
+PASS: stdio-common/tst-printf-format-vas-double-F

Signed-off-by: Deepesh Varatharajan <Deepesh.Varatharajan@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agognu-config: Update to 20250709
Robert Yang [Mon, 21 Jul 2025 04:51:51 +0000 (21:51 -0700)] 
gnu-config: Update to 20250709

The version 20250709 is the author date.

* The changes are:
a2287c3 Adjust 'time-stamp' variables to modern Emacs
973e3e6 config.sub: Add Tock OS support
3a71dc1 config.sub: recognize banan_os
f91a544 config.sub: fix a duplicated case pattern
484648c config.sub: Include support for arm64_32 and iOS/tvOS/watchOS simulators
84cc2cc Update copyright years
7f41495 config.sub: add intelgt as a basic machine
9f6e0fe ironclad: change ironclad to ironclad-mlibc

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agopbzip2: Do not depend on char_trait template from stdlib
Khem Raj [Fri, 18 Jul 2025 17:44:18 +0000 (10:44 -0700)] 
pbzip2: Do not depend on char_trait template from stdlib

This implementation is not part of standard and some implementations
e.g. libc++ have removed it starting with 19.x release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agovirglrenderer: upgrade 1.1.0 -> 1.1.1
Gyorgy Sarvari [Fri, 18 Jul 2025 16:41:58 +0000 (18:41 +0200)] 
virglrenderer: upgrade 1.1.0 -> 1.1.1

Dropped 0001-vrend-Fix-int-conversion-fatal-build-error-with-GCC-.patch
because it is indluded in this release.

Added python3-pyyaml as a build dependency - dependency was introduced in
https://gitlab.freedesktop.org/virgl/virglrenderer/-/commit/194c75946a30e11b90ea46b6a6ddc5e62a9e9612

Changelog: https://gitlab.freedesktop.org/virgl/virglrenderer/-/releases/1.1.1

Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoltp: Skip semctl08 when __USE_TIME64_REDIRECTS is defined
Jiaying Song [Wed, 23 Jul 2025 10:04:07 +0000 (18:04 +0800)] 
ltp: Skip semctl08 when __USE_TIME64_REDIRECTS is defined

When __USE_TIME64_REDIRECTS is defined, glibc redirects struct semid_ds
to a 64-bit time-safe version that omits the sem_otime_high and
sem_ctime_high fields. As a result, the case becomes invalid, leading to
incorrect behavior.

This patch adds a check to skip the test when __USE_TIME64_REDIRECTS is
defined, ensuring the test only runs when the semid_ds structurally
matches semid64_ds and the *_high fields are accessible.

Signed-off-by: Jiaying Song <jiaying.song.cn@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agopybootchartgui: account for network stats when calculating extents
Ross Burton [Wed, 23 Jul 2025 14:55:07 +0000 (15:55 +0100)] 
pybootchartgui: account for network stats when calculating extents

We could take into account the network device statistics when calculating
the size of the image, otherwise charts will be truncated.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agopybootchartgui: mark a regex as a raw string
Ross Burton [Wed, 23 Jul 2025 14:55:06 +0000 (15:55 +0100)] 
pybootchartgui: mark a regex as a raw string

Otherwise Python tries to unescape the \s and warns that it can't.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agolibxml2: upgrade 2.14.3 -> 2.14.5
Hongxu Jia [Wed, 23 Jul 2025 02:16:02 +0000 (10:16 +0800)] 
libxml2: upgrade 2.14.3 -> 2.14.5

Release notes:

    https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.14.5

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agokernel-devsrc: copy arch/powerpc/tools contents
Chen Qi [Wed, 23 Jul 2025 07:38:04 +0000 (00:38 -0700)] 
kernel-devsrc: copy arch/powerpc/tools contents

For now, using qemuppc64 as MACHINE and building things inside SDK,
we'll get the following error:

  ERROR: modpost: "_mcount" undefined

This is because after [1], MPROFILE_KERNEL is using arch/powerpc/tools/
contents to do the check. This in turn affects HAVE_OBJTOOL.
"""
arch/powerpc/Kconfig:   select HAVE_OBJTOOL                     if ARCH_USING_PATCHABLE_FUNCTION_ENTRY || MPROFILE_KERNEL || PPC32
"""

The current MPROFILE_KERNEL for powerpc:
"""
config MPROFILE_KERNEL
            depends on PPC64_ELF_ABI_V2 && FUNCTION_TRACER
            def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mlittle-endian) if CPU_LITTLE_ENDIAN
            def_bool $(success,$(srctree)/arch/powerpc/tools/gcc-check-mprofile-kernel.sh $(CC) -mbig-endian) if CPU_BIG_ENDIAN
"""

If MPROFILE_KERNEL is disabled, thus HAVE_OBJTOOL being disabled, then
FTRACE_MCOUNT_USE_RECORDMCOUNT will be enabled, causing this error.

The scripts are listed and copied one by one. Their names and the reasons why
they are copied are as below:
  gcc-check-mprofile-kernel.sh: needed by MPROFILE_KERNEL
  gcc-check-fpatchable-function-entry.sh: needed by ARCH_USING_PATCHABLE_FUNCTION_ENTRY
  head_check.sh/relocs_check.sh/unrel_branch_check.sh: needed by Makefile.postlink

[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=abba759796f9b73eb24df9b734dd063839fc62e0

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agogcc: Fix fma steering segfault due to on aarch64
Khem Raj [Tue, 22 Jul 2025 20:09:46 +0000 (13:09 -0700)] 
gcc: Fix fma steering segfault due to on aarch64

Seen with opengl-es-cts compilation for qemuarm64

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agocargo-c: Upgrade to 0.10.14+cargo-0.89.0
Khem Raj [Tue, 22 Jul 2025 18:33:06 +0000 (11:33 -0700)] 
cargo-c: Upgrade to 0.10.14+cargo-0.89.0

Fix build on riscv32 while here.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agorust: Update riscv32 patch with the backport
Khem Raj [Tue, 22 Jul 2025 18:33:05 +0000 (11:33 -0700)] 
rust: Update riscv32 patch with the backport

This is the patch that got merged into libc finally

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agotoolchain/clang: Add clang specific sysroot dependencies
Khem Raj [Mon, 21 Jul 2025 17:05:28 +0000 (10:05 -0700)] 
toolchain/clang: Add clang specific sysroot dependencies

Add clang-cross to sysroot via POPULATESYSROOTDEPS to get llvm tools
e.g. llvm-strip, llvm-nm etc when they are used at default STRIP/NM etc.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoreadline: 8.2.13 -> 8.3
hongxu [Mon, 21 Jul 2025 08:21:02 +0000 (16:21 +0800)] 
readline: 8.2.13 -> 8.3

Remove obsolete patch:
- 0001-Add-fix-for-packages-that-are-not-compatible-with-C2.patch

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agogpgme: upgrade 1.24.3 -> 2.0.0
hongxu [Mon, 21 Jul 2025 08:21:00 +0000 (16:21 +0800)] 
gpgme: upgrade 1.24.3 -> 2.0.0

Refresh 0001-pkgconfig.patch

Due to upstream [python: Remove Python bindings][1], remove
following patches
- 0002-gpgme-lang-python-gpg-error-config-should-not-be-use.patch
- 0003-Correctly-install-python-modules.patch
- 0006-fix-build-path-issue.patch

Due to upstream [cpp,qt: Remove C++ and Qt bindings][2],
remove cpp and qt bindings

License-Update: copyright years updated, remove blank line

[1] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=932caf37d36eca2caec59bf48bc505364a5765bb
[2] https://git.gnupg.org/cgi-bin/gitweb.cgi?p=gpgme.git;a=commit;h=763d5f5d6a88ec938b8678ab597e1404af724553

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoapt: Fix build with clang and libc++
Khem Raj [Mon, 21 Jul 2025 19:57:50 +0000 (12:57 -0700)] 
apt: Fix build with clang and libc++

Backport a fix to address random access iterator's expectation of
being const-qualified inside libc++ std::__insertion_sort_unguarded
implementation

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agodbus: add traditional-activation PACKAGECONFIG
Weisser, Pascal.ext [Tue, 22 Jul 2025 11:32:50 +0000 (13:32 +0200)] 
dbus: add traditional-activation PACKAGECONFIG

Add traditional-activation PACKAGECONFIG to DBus recipe in order to allow
users to enable or disable traditional DBus service activation.

DBus service activation refers to automatically starting an application
when a DBus message is sent to a service provided by that application.
Traditionally, this is done by the DBus-daemon, thus, the term traditional
here. On systems using systemd, systemd can do this, instead.

On some systems it might be of interest to disable the traditional service
activation in order to ensure that services are always started via systemd.

Per default, traditional service activation is enabled for DBus. Thus, the
traditional-activation PACKAGECONFIG is added to the default PACKAGECONFIG.
Otherwise, we might introduce a breaking change here.

The binary dbus-daemon-launch-helper isn't created in case DBus is built
with traditional service activation disabled, so we change its attributes
only when traditional service activation is turned on.

Signed-off-by: Weisser, Pascal <pascal.weisser.ext@karlstorz.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agobuild-appliance-image: Update to master head revision
Richard Purdie [Thu, 24 Jul 2025 09:47:16 +0000 (10:47 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoorc: set CVE_PRODUCT
Peter Marko [Sun, 20 Jul 2025 21:08:53 +0000 (23:08 +0200)] 
orc: set CVE_PRODUCT

There are new CVEs reported for this recipe which are not for this
componene, but for a component with same name from apache.

sqlite> select vendor, product, id, count(*) from products where product like 'orc' group by vendor, product, id;
apache|orc|CVE-2018-8015|1
apache|orc|CVE-2025-47436|4
gstreamer|orc|CVE-2024-40897|1

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agoRevert "systemd: add libblkid and libfdisk PACKAGECONFIG options"
Ross Burton [Tue, 22 Jul 2025 12:41:20 +0000 (13:41 +0100)] 
Revert "systemd: add libblkid and libfdisk PACKAGECONFIG options"

The fdisk option is not enabled by default when it should be as that was
the existing behaviour.

Neither of the RDEPENDS are needed, as systemd doesn't call the tools
directly and the library dependencies will be generated automatically.

This reverts commit 4ec67113e1e7e1ecea9cde33ef4d3962dad5f2ad.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 days agobuild-appliance: Fix url breakage from automated scripts
Richard Purdie [Thu, 24 Jul 2025 09:02:21 +0000 (10:02 +0100)] 
build-appliance: Fix url breakage from automated scripts

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 days agobuild-appliance-image: Update to master head revision
Richard Purdie [Wed, 23 Jul 2025 21:31:51 +0000 (22:31 +0100)] 
build-appliance-image: Update to master head revision

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 days agolldb: don't build rpaths into binaries
Ross Burton [Wed, 23 Jul 2025 12:24:48 +0000 (13:24 +0100)] 
lldb: don't build rpaths into binaries

LLDB defaults to adding rpaths into the binaries which are then stripped
by CMake on install.

However, this rpath removal is implemented by editing the binary instead
of relinking at install time, so the final binary will have an entry in
the dynstr section which is all nulls but is as long as the build path.

Obviously this breaks reproducibility, so disable the use of rpaths in
LLDB to remove this problem.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 days agolldb: remove incorrect comment about llvm vs clang
Ross Burton [Wed, 23 Jul 2025 12:24:47 +0000 (13:24 +0100)] 
lldb: remove incorrect comment about llvm vs clang

LLDB links to clang libraries, so it really does need clang and not just
LLVM.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 weeks agoxserver-xorg: upgrade 21.1.6 -> 21.1.18
Vijay Anusuri [Tue, 1 Jul 2025 10:32:52 +0000 (16:02 +0530)] 
xserver-xorg: upgrade 21.1.6 -> 21.1.18

xorg-server 21.1.17
This release contains the fixes for the issues reported in today's security
advisory: https://lists.x.org/archives/xorg/2025-June/062055.html

   * CVE-2025-49175
   * CVE-2025-49176
   * CVE-2025-49177
   * CVE-2025-49178
   * CVE-2025-49179
   * CVE-2025-49180

Additionally, this release includes a fix for CVE-2022-49737 which was
issued after the fix was merged back in 2022 and several other various fixes.

Ref: https://lists.x.org/archives/xorg-announce/2025-June/003609.html

xorg-server 21.1.18
This release contains an additional fix for CVE-2025-49176 from June 17
security advisory: https://lists.x.org/archives/xorg/2025-June/062055.html

Ref: https://lists.x.org/archives/xorg-announce/2025-June/003612.html

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 weeks agoclang: ensure the native-built tblgen binaries are used
Ross Burton [Mon, 21 Jul 2025 13:24:26 +0000 (14:24 +0100)] 
clang: ensure the native-built tblgen binaries are used

Set LLVM_HEADERS_TBLGEN so that we don't build another copy of tblgen.

Also remove LLVM_OPTIMIZED_TABLEGEN, this is redundant as we're not
building a tablegen binary in this recipe anymore.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 weeks agoclang: remove PYTHON_EXECUTABLE assignments
Ross Burton [Mon, 21 Jul 2025 13:24:25 +0000 (14:24 +0100)] 
clang: remove PYTHON_EXECUTABLE assignments

The cmake.bbclass already does this.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 weeks agoclang: improve LLVM target selection logic
Ross Burton [Mon, 21 Jul 2025 13:24:24 +0000 (14:24 +0100)] 
clang: improve LLVM target selection logic

The GPU targets are incredibly slow to build, so if the DISTRO_FEATURES
doesn't include opengl or vulkan assume that the user will not be using
a GPU and disable them.

Alternatively, a distribution could state that they'll only be using
one of the backends, and set LLVM_TARGETS_GPU explicitly.

On my build machine, disabling the GPU targets reduces the build time of
clang-native from 21m to 16m.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 weeks agolibclc: split out of clang
Ross Burton [Mon, 21 Jul 2025 13:24:23 +0000 (14:24 +0100)] 
libclc: split out of clang

Split the libclc subproject out of the clang recipe and into a dedicated
libclc recipe.

This is useful because libclc is the OpenCL runtime library and as such
isn't target-specific and needs a native clang to build, not a target
libllvm.

Verified that nothing is dropped by adding clang and libclc to an image
and verifying that the file list is the same before and after this
change.

We need to patch the libclc CMakeLists to allow it to use an out-of-tree
prepare_builtins binary, discussion is ongoing with upstream to resolve
this properly.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2 weeks agocmake: remove CMAKE_SYSTEM_* from the native toolchain
Ross Burton [Mon, 21 Jul 2025 13:24:22 +0000 (14:24 +0100)] 
cmake: remove CMAKE_SYSTEM_* from the native toolchain

If these variables are set explictly then CMake assumes that it is
cross-compiling[1]. We don't need to set them as the default values as
detected by CMake are correct for native.

[1] https://cmake.org/cmake/help/latest/variable/CMAKE_CROSSCOMPILING.html

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>