On Wed, 18 Jun 2025 at 01:39, Mark Hatle via lists.openembedded.org
<[email protected]> wrote:
> -        tspec['llvm-abiname'] = "lp64d"
> +        tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI')
>      if "riscv32" in tspec['llvm-target']:
> -        tspec['llvm-abiname'] = "ilp32d"
> +        tspec['llvm-abiname'] = d.getVar('TUNE_RISCV_ABI')

Unfortunately this adds a dependency on TUNE_RISCV_ABI (which is set
only if the target is a risc-v machine) to rust-native's
rust_gen_targets task, breaking sstate reuse for it between risc-v and
any other target. I can imagine other native pieces written in rust
will have the same issue.

It's not immediately obvious to me how to address this, so I'd really
appreciate suggestions. The code is hairy.

Ticket: https://bugzilla.yoctoproject.org/show_bug.cgi?id=16132

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

Reply via email to