You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/opt/riscv-new/lib/gcc/riscv64-unknown-linux-gnu/13.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: /opt/riscv-new/sysroot/usr/lib/libc.a(dl-support.o): in function `_dl_aux_init':
dl-support.c:(.text+0x3c): undefined reference to `_start'
/opt/riscv-new/lib/gcc/riscv64-unknown-linux-gnu/13.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: dl-support.c:(.text+0xb8): undefined reference to `__ehdr_start'
/opt/riscv-new/lib/gcc/riscv64-unknown-linux-gnu/13.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: build/qemu/rvh_test.elf: hidden symbol `_start' isn't defined
/opt/riscv-new/lib/gcc/riscv64-unknown-linux-gnu/13.2.0/../../../../riscv64-unknown-linux-gnu/bin/ld: final link failed: bad value
While compile platform=spike succeeds.
The text was updated successfully, but these errors were encountered:
Hi, I've tried to compile this unit test bin with riscv gnu toolchain, configured as:
./configure --prefix=/opt/riscv-new --disable-multilib --with-cmodel=medany --with-arch=rv64imafdc_zicsr --with-abi=lp64d
meanwhile, modify this bin's Makefile as below, in order to avoid soft float issure reported in #14
But link error:
While compile platform=spike succeeds.
The text was updated successfully, but these errors were encountered: