Re: Cross Compiling for riscv64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2023-02-14 at 12:37 +0100, Sagar Acharya via Gcc-help wrote:
> g++: fatal error: Killed signal terminated program cc1plus
> compilation terminated
> make[2]: *** [Makefile:1143: gimple-match.o] Error 1

It looks like your system is out of memory then the kernel selects a
process heavily using the memory and kill it.  gimple-match.o is
automatically generated, so it can be very large and compiling it will
consume a large amount of memory.

Try to add more RAM into your system, or build with a smaller -j value.
The last resort is to add more swap space, but swapping can slow down
the building process significantly.

-- 
Xi Ruoyao <xry111@xxxxxxxxxxx>
School of Aerospace Science and Technology, Xidian University




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux