Re: Cross Compiling for riscv64

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

 



I'm compiling on RPI3.

The real question is, whether building a compiler should require 900MB memory?

And my answer to it is a clear undisputed no. 900MB is more than enough memory for building a compiler.

I thank you very much for your help, Xi!
Thanking you
Sagar Acharya
https://designman.org



14 Feb 2023, 17:18 by xry111@xxxxxxxxxxx:

> 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