This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: failure building - cc1.exe requires an allocation of 3.5GB?
- From: David Daney <ddaney at caviumnetworks dot com>
- To: Jim Hauxwell <james at dattrax dot co dot uk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 15 May 2009 16:19:17 -0700
- Subject: Re: failure building - cc1.exe requires an allocation of 3.5GB?
- References: <4A0DF48B.3050505@dattrax.co.uk>
Jim Hauxwell wrote:
Hi All,
I'm building (or at least trying to) build a cross compiler for a mips
platform
make[2]: Entering directory `/c/cygwin/usr/src/mingw/gcc-mips/gcc'
gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.2.0/gcc -I../../gcc-4.2.0/gcc/.
-I../../gcc-4.2.0/gcc/../include -I../../gcc-4.2.0/gcc/../libcpp/include
-I../../gcc-4.2.0/gcc/../libdecnumber -I../libdecnumber insn-modes.c -o
insn-modes.o
cc1.exe: out of memory allocating 3433019875 bytes
It isn't the gcc you are building that is out of memory, it is the build
host compiler. I would look into that instead.
That said, I build mips cross compilers often and have never had this
type of problem when compiling insn-modes.c (or anything else for that
matter).
David Daney