Re: [yocto] Handling sysroots

Khem Raj <[email protected]> Thu, 23 Apr 2026 12:51:25 -0700
Newsgroups org.yoctoproject.lists.yocto
Message-ID <CAMKF1spc7HA4AUcwk9v=kVZ4mKEbbv537snQNGf_YfF_q_dV3A@mail.gmail.com>
On Thu, Apr 23, 2026 at 11:04 AM Xaver Gruber via lists.yoctoproject.org
<[email protected]> wrote:

> Hey guys,
>
>
> Clang-native builds clang, however I have another native, let us call it
> native X, building clang as well. I get an error that it is duplicated in
> global sysroot. I only need clang-native to build native X. How do I make
> sure clang-native does not reach global sysroot, however still being
> available for native X?
>

Well, it will not be easy, you might need to carve out directories to put
the conflicting files in or rename files. why would you not be able to use
clang-native ?
we just started to use same llvm across clang, mesa and rust e.g. so we are
moving in towards consolidation, which makes your ask even harder


> Best regards,
> Xaver Gruber
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> You automatically follow any topics you start or reply to.
> View/Reply Online (#66436):
> https://lists.yoctoproject.org/g/yocto/message/66436
> Mute This Topic: https://lists.yoctoproject.org/mt/118976274/1997914
> Group Owner: [email protected]
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [
> [email protected]]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>