This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

failure building - cc1.exe requires an allocation of 3.5GB?


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


I am using 4.2.0 release with the following options

../gcc-4.2.0/configure --target=mipsel-linux-uclibc --with-build-sysroot=/c/cygwin/usr/src/mingw/uClibc-0.9.30.1 --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --with-float=hard --enable-threads --with-arch=mips32 --disable-libmudflap --disable-nls --with-gnu-plts --with-headers=/c/cygwin/usr/src/mingw/uClibc-0.9.30.1/include --enable-languages=c

Any idea's why a compiler would need 3.5GB?

Are there any bug fixes from 4.2.0 -> 4.4.X which would solve this problem?

Thanks again

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]