delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/07/29/11:13:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Tue, 29 Jul 2008 09:13:08 -0600
From: <bernd AT prager DOT ws>
To: cygwin AT cygwin DOT com
Subject: heap trouble in cygwin 1.7.0(0.185/5/3)
Message-ID: <d4ba05d796c3fcf00c688a672d8e3f53@prager.ws>
X-Sender: bernd AT prager DOT ws
User-Agent: RoundCube Webmail/0.1
X-Identified-User: {1020:box307.bluehost.com:pragerws:prager.ws} {sentby:smtp auth 69.89.31.107 authed with bernd+prager.ws}
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Note-from-DJ: This may be spam

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019