On Mon, Jan 12, 2026 at 8:18 AM Ross Burton <[email protected]> wrote:

>
>
> > On 30 Dec 2025, at 06:48, Khem Raj via lists.openembedded.org <raj.khem=
> [email protected]> wrote:
> >
> > This was not an issue before lld split from clang, but now its an
> independent
> > recipe and needs to be brought into dependency chain, otherwise clang
> fails to
> > build with -flto as it does not find gold or lld plugins.
>
> Conditional python in a very core variable like this isn’t ideal, and the
> clang-cross recipe already has this dependency. Is that not sufficient, or
> is there some edge case where that dependency isn’t enough?


Yeah I am also troubled by this. It shows up when enabling LTO since gold
linker is gone clang would work with LLD but it does not find it in rootfs
I will dig recipe that shows it but generally I think clang expects lld
when lto is enabled. Cross clang would pull it into its own build but not
into systoots its building packages in somehow


>
> Ross
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#229216): 
https://lists.openembedded.org/g/openembedded-core/message/229216
Mute This Topic: https://lists.openembedded.org/mt/116995141/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to