This is the mail archive of the cygwin mailing list for the Cygwin 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]

heap trouble in cygwin 1.7.0(0.185/5/3)


I am trying to recompile gcc-4.3.1 in cygwin 1.7 and fail because sh can't
allocate enough heap.
I was able to compile gmp-4.2 and mpfr-2.3.0 for that purpose though.
I set the max heap already to 2MB:

$~ uname -a
CYGWIN_NT-5.1 xxx 1.7.0(0.185/5/3) 2008-07-25 17:56 i686 Cygwin

$~ gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$~ regtool -v list /HKLM/Software/Cygnus\ Solutions/Cygwin
mounts v2\ (Cygwin)
Program Options\ (cygnus)
heap_chunk_in_mb (REG_DWORD) = 0x00000800 (2048)

$~/tmp/gcc-4.3.1 ./configure
checking build system type... i686-pc-cygwin
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... gcc
checking for C compiler default output file name... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
      5 [main] ? (18104) D:\bin\cygwin\bin\sh.exe: *** fatal error -
couldn't al
locate heap, Win32 error 487, base 0x6D0000, top 0x7A0000, reserve_size
847872,
allocsize 851968, page_const 4096

Thanks for any suggestions,
-- Bernd


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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