Building mpfs_icicle application examples fails with zephyr-sdk-0.15.0 #209
-
When trying to build the mpfs_icicle application example (synchronization, synchronization_blinky, smp/pi) the zephyr-sdk-0.15.0 does not complete the build but errors out with an incompatible ABI error. With zephyr-sdk-0.13.2 the application examples build without issues. For example when trying to build the pi example with zephyr-sdk-0.15.0: Build fails at 93% Progress with the following errors: |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hi @ChrRudel, |
Beta Was this translation helpful? Give feedback.
-
These type of errors strongly suggest that the code is being compiled for an rv32 architecture but at link time the libraries for that architecture are not available. In that case the linker will fall back to the toolchain default architecture libraries (usually rv64gc unless overridden at toolchain configure time) and the rv32/rv64 mismatch arises. This can happen if the toolchain was not configured with |
Beta Was this translation helpful? Give feedback.
-
Hi @ChrRudel, The Zephyr kernel code base in the polarfire-soc-zephyr-applications is at v2.7, (which is an LTS version), plus our preliminary SMP support. Caveats
We are currently in the process of preparing our SMP support to be upstreamed to the Zephyr project. In the interim, we will push a branch with working examples and the latest version of the Zephyr code base to the polarfire-soc-zephyr-applications repository. |
Beta Was this translation helpful? Give feedback.
Hi @ChrRudel,
The Zephyr kernel code base in the polarfire-soc-zephyr-applications is at v2.7, (which is an LTS version), plus our preliminary SMP support.
The latest version of Zephyr is v3.2.x.
from the Zephyr toolchain repo https://github.com/zephyrproject-rtos/sdk-ng/releases/tag/v0.15.0
Caveats