https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111393
--- Comment #8 from AK <hiraditya at msn dot com> --- > this does seem like a HW issue. Are you sure you have a decent RISCV machine > without any memory issues? > I suspect ninja is building with all of the cores which pushes the memory > usage high. possible. I have the https://sipeed.com/licheepi4a (licheepi 4a board) > Maybe lower the clock speed of the CPU you are using. will do. thanks