Can you try this in a plain poky checkout (to the same revision as in
your setup) with no other layers? Machine qemuarm, image
core-image-minimal. If it works, you have a reference point to compare
with and untangle where the breaking difference is. If it doesn't
work, then I or someone else have a way to reproduce the issue.

Alex

On Tue, 12 Sept 2023 at 23:42, Danny <dadl...@gmail.com> wrote:
>
> Hi Alex! Thanks for the quick response. I tried removing my 
> `TOOLCHAIN_HOST_TASK` assignment and adding the `SDK_TOOLCHAIN_LANGS` entry 
> but I'm still seeing the error.
>
> fwiw the output from `cargo build --verbose` shows me the `rustc` calls:
>
> ```
> rustc --crate-name omg --edition=2021 src/main.rs --error-format=json 
> --json=diagnostic-rendered-ansi,artifacts,future-incompat 
> --diagnostic-width=157 --crate-type bin --emit=dep-info,link -C 
> embed-bitcode=no -C debuginfo=2 -C metadata=62f339e5c64d61ff -C 
> extra-filename=-62f339e5c64d61ff --out-dir 
> <omitted>/target/armv7-unknown-linux-gnueabihf/debug/deps --target 
> armv7-unknown-linux-gnueabihf -C linker=target-rust-ccld -C 
> incremental=<omitted>/target/armv7-unknown-linux-gnueabihf/debug/incremental 
> -L dependency=<omitted>/target/armv7-unknown-linux-gnueabihf/debug/deps -L 
> dependency=<omitted>/target/debug/deps 
> --sysroot=<omitted>/sysroots/cortexa7t2hf-neon-vfpv4-linux-gnueabi/usr -C 
> link-arg=--sysroot=<omitted>/sysroots/cortexa7t2hf-neon-vfpv4-linux-gnueabi
> ```
> should I be double checking something is available to me in those sysroot 
> paths?
>
>
> On Tue, Sep 12, 2023 at 1:48 PM Alexander Kanavin <alex.kana...@gmail.com> 
> wrote:
>>
>> On Tue, 12 Sept 2023 at 19:26, Danny Hadley <dadl...@gmail.com> wrote:
>>
>> > I can provide as much additional information as needed!
>>
>> I think you need to set
>> SDK_TOOLCHAIN_LANGS = "rust"
>> and then things should just work.
>>
>> Alex
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#187589): 
https://lists.openembedded.org/g/openembedded-core/message/187589
Mute This Topic: https://lists.openembedded.org/mt/101320020/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to