hope my suggestion can help you: Assuming you have a workload source code file called "test.cc", you may compile it without "-static" option, that may cause your problem. Adding this could simply solve, that is:
riscv-unknown-linux-gnu-g++ test.cc -o test -static