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

Mathieu Dubois-Briand
2026-03-27T10:42:38Z

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,

This looks better, but we still have one issue:

ERROR: clang-22.1.2-r0 do_compile: Execution of '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/clang/22.1.2/temp/run.do_compile.573061' failed with exit code 1
...
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: VERBOSE=1 cmake --build /srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/clang/22.1.2/build --target all --
| Change Dir: '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work/x86-64-v3-poky-linux/clang/22.1.2/build'
|
| Run Build Command(s): ninja -v -j 16 all
| ninja: error: '/srv/pokybuild/yocto-worker/qemux86-world/build/build/tmp/work-shared/llvm-project-source-22.1.2-r0/sources/llvm-project-22.1.2.src/clang/tools/scan-build-py/lib64/libscanbuild/__init__.py', needed by 'lib64/libscanbuild/__init__.py', missing and no known rule to make it
|
| WARNING: exit code 1 from a shell command.
NOTE: recipe clang-22.1.2-r0: task do_compile: Failed

https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/3485

Thanks,
Mathieu

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