Hi
Trying to link very simple aes risc-v code and falling on the linker phase :
error: undefined symbol __SEGGER_RTL_X_get_time_of_day referenced by symbol gettimeofday (section .text.libc.gettimeofday in file timeops.o (mbops_timeops_rv32i_balanced.a))
error: undefined symbol test_rdinstret referenced by symbol $x.0 (section .text.test_aes_128 in file test_block_aes_128.o)
undefined symbol __SEGGER_RTL_X_get_time_of_day referenced by symbol gettimeofday (section .text.libc.gettimeofday in file timeops.o (mbops_timeops_rv32i_balanced.a))
anyone encounter such issue ?
to restore it very easy, code taking from public repo :
github.com/riscv/riscv-crypto/releases/tag/v1.0.0-rc2-scalar
Trying to link very simple aes risc-v code and falling on the linker phase :
error: undefined symbol __SEGGER_RTL_X_get_time_of_day referenced by symbol gettimeofday (section .text.libc.gettimeofday in file timeops.o (mbops_timeops_rv32i_balanced.a))
error: undefined symbol test_rdinstret referenced by symbol $x.0 (section .text.test_aes_128 in file test_block_aes_128.o)
undefined symbol __SEGGER_RTL_X_get_time_of_day referenced by symbol gettimeofday (section .text.libc.gettimeofday in file timeops.o (mbops_timeops_rv32i_balanced.a))
anyone encounter such issue ?
to restore it very easy, code taking from public repo :
github.com/riscv/riscv-crypto/releases/tag/v1.0.0-rc2-scalar