|
From: Vasanth A. <vas...@xi...> - 2009-04-06 17:14:41
|
Hi, I am trying to cross-compile gcc-4.1.1 for arch powerpc-eabi for MingW. I am using the MSYS shell for the cross-compile. About 4 or 5 hours into the build during make all, make.exe dies with a weird cygwin heap error. C:\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 487 Here is the full command: /y/head/ppc/build/nt/bld_gcc/build/./gcc/xgcc -B/y/head/ppc/build/nt/bld_gcc/build/./gcc/ -nostdinc -B/y/head/ppc/build/nt/bld_gcc/build/powerpc-eabi/newlib/ -isystem /y/head\/ppc/build/nt/bld_gcc/build/powerpc-eabi/newlib/targ-include -isystem /y/head/ppc/build/nt/bld_gcc/gcc/newlib/libc/include -B/y/head/ppc/release/nt/powerpc-eabi/powerpc-eabi/\bin/ -B/y/head/ppc/release/nt/powerpc-eabi/powerpc-eabi/lib/ -isystem /y/head/ppc/release/nt/powerpc-eabi/powerpc-eabi/include -isystem /y/head/ppc/release/nt/powerpc-eabi/po\werpc-eabi/sys-include -O2 -O2 -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include \ -specs=ldblspecs -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I./../intl -I../../gcc/gcc/..\/libcpp/include -mfpu=sp_full -mcpu=440 -mno-eabi -mstrict-align -mno-relocatable-lib -fexceptions -c ../../gcc/gcc/gthr-gnat.c -o libgcc/single-full/440/gthr-gnat.o C:\msys\1.0\bin\make.exe: *** couldn't commit memory for cygwin heap, Win32 error 487 Re-running "make all" does not encounter the error and the full compile/install completes successfully. I see the same error on two different machines (WinXP SP2 and Windows 2000). Here is the list of packages I have installed: 1. MingW-5.4.1 2. MSYS-1.0.10 3. Extract MSYS-1.0.11 on top of MSYS-1.0.10 4. Add in MSYS-1.0.11-Packages (gawk, csmake, cpmake so on). 5. Add in msysDVLPR-1.0.0-alpha-1 (because I needed to build sed-4.0.9) 6. Replace make.exe with csmake.exe Any ideas? Why would an MSYS binary put out a cygwin error? I do have cygwin on the machine, but it is not on the path and definitely out of the way. I have read posts about a similar sounding issue with the error message "couldn't reserve cygwin heap space" and have followed the suggestions on those thread (rebase msys-1.0.dll to 0x30000000). That did not change the above behavior. thanks for any help, Vasanth -- View this message in context: http://www.nabble.com/make.exe-dies-with-cygwin-heap-error-when-cross-compiling-gcc-4.1.2-tp22913262p22913262.html Sent from the MinGW - User mailing list archive at Nabble.com. |