Description
I am unable to compile the examples/standalone target for the StarFive VisionFive 2 board. The build fails with a linker error stating invalid hex number.
Environment
- Board: StarFive VisionFive 2
- Build Target:
examples/standalone/
- Toolchain:
riscv64-linux-gnu- (GCC 13 via Ubuntu package)
- OS: Ubuntu Linux (x86_64 host)
Steps to Reproduce
-
Clean the build environment:
make distclean
-
Configure for the board:
make starfive_visionfive2_defconfig
-
Verify configuration (Ensured examples are enabled):
make menuconfig
-
Run the build command for standalone examples:
make CROSS_COMPILE=riscv64-linux-gnu- examples/standalone/
Description
I am unable to compile the
examples/standalonetarget for the StarFive VisionFive 2 board. The build fails with a linker error statinginvalid hex number.Environment
examples/standalone/riscv64-linux-gnu-(GCC 13 via Ubuntu package)Steps to Reproduce
Clean the build environment:
make distcleanConfigure for the board:
make starfive_visionfive2_defconfigVerify configuration (Ensured
examplesare enabled):make menuconfigRun the build command for standalone examples:
make CROSS_COMPILE=riscv64-linux-gnu- examples/standalone/