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

Khem Raj
2026-03-28T02:39:54Z

[-- Attachment #1: Type: text/plain, Size: 3309 bytes --]

Hi Mathieu

I have pushed another change to address install-but-unpackaged QA warning
since the last fix. Please pick up the branch again if you have done it
after my last message.

qemux86-world is green with this change see

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

On Fri, Mar 27, 2026 at 11:00 AM Khem Raj <raj.khem@gmail.com> wrote:

>
>
> On Fri, Mar 27, 2026 at 3:42 AM Mathieu Dubois-Briand <
> mathieu.dubois-briand@bootlin.com> wrote:
>
>> 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
>>
>>
> This is caught with x86_64 because libdir is lib64 in multilib mode. The
> issue was in the clangscan patch where it was
> changing rules to look for sourcefiles also in mulilib libdir. I have
> fixed it and updated the patchset here in a branch on top of master
>
> https://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/clang-22
>
> my local builds are seeming ok. I have also started an AB build here, its
> still running
>
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/59/builds/3492
>
>
>
>
>> Thanks,
>> Mathieu
>>
>> --
>> Mathieu Dubois-Briand, Bootlin
>> Embedded Linux and Kernel engineering
>> https://bootlin.com
>>
>>

[-- Attachment #2: Type: text/html, Size: 5102 bytes --]