Hi Alex, Frank,

On 12/30/24 12:32 PM, Alexander Kanavin via lists.yoctoproject.org wrote:
On Sat, 28 Dec 2024 at 19:38, franco ariel via lists.yoctoproject.org
<fran.millocs=live.com...@lists.yoctoproject.org> wrote:
I am currently working on a custom project using the meta-meson layer for the 
scarthgap platform. The project requires building a custom Linux kernel that 
explicitly depends on GCC 12.x. However, the meta-meson layer (and the 
associated Yocto environment) defaults to GCC 13.x for both the toolchain and 
the kernel build.
I would like to configure the build system to use GCC 12.x exclusively for 
building the kernel, while keeping GCC 13.x for all other components in the 
environment. Is there any way to do this?

The quick answer is no.

I'm curious to know what specifically requires gcc 12.x, and not any
other version?


I assume an outdated vendor kernel.

Just backport patches from upstream that fixed build issues with GCC 13, it'll probably be much easier (and maybe consider upgrading to a newer kernel (or at least newer stable kernel)) than trying to figure out how to build the kernel with one GCC and the rest of the system with another one.

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#64537): https://lists.yoctoproject.org/g/yocto/message/64537
Mute This Topic: https://lists.yoctoproject.org/mt/110320404/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to