test.c: `void main(void) {}` compile command: `riscv-none-elf-gcc -g -march=rv64gc -mabi=lp64d -Wa,-a,-ad,-alms=test.lst test.c -o test.elf` linker seems crashed and print: `collect2.exe: error: ld returned 5 exit status`
test.c:
void main(void) {}compile command:
riscv-none-elf-gcc -g -march=rv64gc -mabi=lp64d -Wa,-a,-ad,-alms=test.lst test.c -o test.elflinker seems crashed and print:
collect2.exe: error: ld returned 5 exit status