File riscv-no-fpu-excp.patch of Package f2c
Index: f2c-20210928/libf2c/uninit.c =================================================================== --- f2c-20210928.orig/libf2c/uninit.c +++ f2c-20210928/libf2c/uninit.c @@ -231,7 +231,7 @@ ieee0(Void) } #endif /* mips */ -#ifdef __linux__ +#if defined __linux__ && !defined __riscv #define IEEE0_done #include "fpu_control.h"