Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 27 Aug 2002 15:36:28 +0200
From: "Gerrit P. Haase" <gerrit@familiehaase.de>
Reply-To: "Gerrit P. Haase" <gerrit@familiehaase.de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <62-309990262.20020827153628@familiehaase.de>
To: "Franck Leray" <franck.leray@cheops.fr>
CC: cygwin@cygwin.com
Subject: Re: Xerces Compilation Problem
In-Reply-To: <2DFB37B7D3EBFD4BB4FEDEC443C50B330C16D0@mailserver>
References: <2DFB37B7D3EBFD4BB4FEDEC443C50B330C16D0@mailserver>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

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
-- 
=^..^=


--
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/

