Mar 19, 2015 - I'm getting Undefined reference to sysfact error when I try to compile the C code. The program in which I'm using this system call is as follows. References to malloc and other functions that use malloc (like sprintf) pull in sbrk, which isn't available. Need to tweak libc build so that it would use osmalloc and osfree instead.
Failed with Linking process.riscv64-linux-gnu-gcc -Wl,-build-id=none -nostartfiles -nostdlib -static -o pk pk.o -L.