I guess we need to add a target RDEPENDS on gcc as its using that as the linker (possibly interesting upstream commentary https://github.com/rust-lang/rust/issues/71515). I'm just wondering what happens if you have TOOLCHAIN = "clang"?
On Mon, Jan 16, 2023 at 7:00 AM Kokkonda, Sundeep <sundeep.kokko...@windriver.com> wrote: > > Hello Alex, > > This patch fixed the https://bugzilla.yoctoproject.org/show_bug.cgi?id=14975 > ('bitbake core-image-full-cmdline' built without any issues.) > > But, I tried a 'hello world' program in booted image (bitbake > core-image-minimal by adding 'cargo' to IMAGE_INSTALL:append) and getting > below error. > > root@qemux86-64:~/# cargo new hello > root@qemux86-64:~/# cd hello > root@qemux86-64:~/hello# cargo run > Compiling hello v0.1.0 (/home/root/hello) > error: linker `x86_64-poky-linux-gcc` not found > | > = note: No such file or directory (os error 2) > > error: could not compile `hello` due to previous error > > > -- Alex Kiernan
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#175967): https://lists.openembedded.org/g/openembedded-core/message/175967 Mute This Topic: https://lists.openembedded.org/mt/96110740/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-