Re: [OE-core] [PATCH v3 1/7] clang/llvm: Upgrade to 22.x major release

Mathieu Dubois-Briand
2026-03-26T19:47:09Z

On Thu Mar 26, 2026 at 4:16 PM CET, Khem Raj via lists.openembedded.org wrote:
> From: Khem Raj <raj.khem@gmail.com>
>
> Includes support for new Intel (Wildcat Lake, Nova Lake with APX and AVX10.2)
> Arm (C1 Nano, Pro, Premium, Ultra) processors. It also features performance
> optimizations for AMD Zen 4 and Zen 5 architectures.
>
> Integrated Distributed ThinLTO is more mature, with enhancements
> like cache support for incremental builds and robust handling of temporary artifacts.
>
> LLDB added first-class WebAssembly debugging support, including breakpoints and variable inspection.
>
> Support for Google Native Client (NaCl) is dropped in this release.
>
> Detailed ChangeLog [1]
>
> [1] https://releases.llvm.org/22.1.0/docs/ReleaseNotes.html
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---

Hi Khem,

Thanks for the new version.

I have to ask you: I'm having issues to apply this patch, and I already
had issues with the previous one. Are you aware of this?

Applying: clang/llvm: Upgrade to 22.x major release
error: patch failed: meta/recipes-devtools/clang/clang/0001-Install-lldb-tblgen.patch:1
error: meta/recipes-devtools/clang/clang/0001-Install-lldb-tblgen.patch: patch does not apply
error: patch failed: meta/recipes-devtools/clang/clang/0001-clang-Support-building-native-tools-when-cross-compi.patch:1
error: meta/recipes-devtools/clang/clang/0001-clang-Support-building-native-tools-when-cross-compi.patch: patch does not apply
error: patch failed: meta/recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch:18
error: meta/recipes-devtools/clang/clang/0001-libcxxabi-Find-libunwind-headers-when-LIBCXXABI_LIBU.patch: patch does not apply
error: patch failed: meta/recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch:21
error: meta/recipes-devtools/clang/clang/0003-compiler-rt-Simplify-cross-compilation.-Don-t-use-na.patch: patch does not apply
error: patch failed: meta/recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch:19
error: meta/recipes-devtools/clang/clang/0005-llvm-allow-env-override-of-exe-and-libdir-path.patch: patch does not apply
...

I had to hand apply part of the previous series. For this one I used:
git cherry-pick -s contrib/yoe/mut~7..contrib/yoe/mut
I believe this should be correct.

Thanks,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering