There is currently no support for external linking on riscv64 - this is a tracking bug for adding support.