Open Zelzahn opened 6 months ago
I think maybe this blog post (PSA: Cortex-M Breakage (LLD as the default linker)) could be relevant.
If it is me, I will start to use /usr/bin/arm-none-eabi-gcc manually compile a file without interference of cmake and rust. If this step is fine, you will know the problem is about rust configuration. Or else, the problem is about compilation toolchain.
$ /usr/bin/arm-none-eabi-gcc -o hello ./hello_world.c
Honestly, I'm not really sure whether I should file this issue here or in the WAMR repo, but I would like to run WAMR on a RP2040 (thus the thumbv6m-none-eabi target).
When I try to build my project, I get the following error:
I don't know if the error could be inside the
build.rs
inwamr-sys
? I'm not sure how to debug this, thus any help is very much appreciated.