Mail Archives: cygwin/2002/08/27/10:31:32
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 -