[Bug middle-end/81443] gcc-7.1.0/MIPS N32: build/genrecog.o: virtual memory exhausted: Cannot allocate memory

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 17 21:54:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81443

--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> FWIW, reversing PR59461 (some manual edits required) on gcc-7_1_0-release
> compiles cleanly, which is the first time that's happened on this machine
> under N32.  Successful builds on this machine take about 8 hours.  Fail
> builds....~3-4 hours.  It's during stage2-bubble when compiling genrecog.c
> will bail out, claiming no more virtual memory (2GB RAM + 3GB of swap).

Can you invoke the problematic command manually and add -save-temps to it? 
This will give you a .i file, then gzip it and attach it to the PR.


More information about the Gcc-bugs mailing list