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
CROSS_COMPILE=riscv64-elf- make -C build/opensbi PLATFORM=generic FW_TEXT_START=0x40000000 FW_OPTIONS=0
ELF platform/generic/firmware/payloads/test.elf
/usr/lib/gcc/riscv64-elf/12.2.0/../../../../riscv64-elf/bin/ld.bfd: unrecognized option '--exclude-libs'
/usr/lib/gcc/riscv64-elf/12.2.0/../../../../riscv64-elf/bin/ld.bfd: use the --help option for usage information
collect2: error: ld returned 1 exit status
Is this because the toolchain is for bare-metal?
Should the toolchain be checked before --exclude-libs is added to ELFFLAGS?
The text was updated successfully, but these errors were encountered:
Is this because the toolchain is for bare-metal?
Should the toolchain be checked before
--exclude-libs
is added toELFFLAGS
?The text was updated successfully, but these errors were encountered: