delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/27/10:31:32

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Tue, 27 Aug 2002 10:31:02 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com, "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
cc: Franck Leray <franck DOT leray AT cheops DOT fr>
Subject: Re: Xerces Compilation Problem
In-Reply-To: <62-309990262.20020827153628@familiehaase.de>
Message-ID: <Pine.GSO.4.44.0208270940160.2079-100000@slinky.cs.nyu.edu>
MIME-Version: 1.0

On Tue, 27 Aug 2002, Gerrit P. Haase wrote:

> Franck schrieb:
>
> > Compilation phase is now ok.
>
> [...]
>
> > collect2: ld terminated with signal 11 [Segmentation fault]
> > Creating library file: /usr/src/xml-xerces/c/lib/libxerces-c2_1_0.dll.a
> > make[1]: *** [/usr/src/xml-xerces/c/lib/libxerces-c2_1_0.dll] Error 1
> > make[1]: Target `ALL' not remade because of errors.
> > make[1]: Leaving directory `/usr/src/xml-xerces/c/obj'
> > make: *** [/usr/src/xml-xerces/c/lib/libxerces-c.21.0] Error 2
>
> > Ouch...
>
> > Thanks.
>
> Yes, Abe figured out that increasing heap_chunk_in_mb helps.
> Default is 128MB.
> Try to set it to 512MB or 1GB.
> I have 512MB RAM at home and linking succeeds with a 1GB setting.
> That is a DWORD value 400.
>
> REGEDIT4
>
> [HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin]
> "heap_chunk_in_mb"=dword:00000400
>
> Paste this into a file with suffix .reg, a doubleclick on the file
> will write it in the registry.  May need a reboot too.
>
> Gerrit

This has come up a few times in the past.  Setting this via 'ulimit -m'
would really help, IMO.  Is the reboot really needed for this (i.e., does
the cygwin dll read this value only once on load, and if so, is there a
way of making it read the value over)?  If the reboot can be avoided, I'll
look into the ulimit solution.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95.  Something is wrong here. -- SC sig file



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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