Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0 Subject: Re: Virtual memory Exhaust problem onWin98 Date: Fri, 21 Dec 2001 17:40:45 +0530 Message-ID: <97AA06615400F34AB695F23CE3D42E91406844@sohm.kpit.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: Virtual memory Exhaust problem onWin98 Thread-Index: AcGKGVRdD/vjHPXLEdWM4ACAX/50Xw== From: "Arati Dikey" To: Thanks a million Corinna ! It did solve my problem. How essential is it for me to *build* the tool chain with the latest Cygwin 1.3.6-6 ? Regards, Arati Dikey > On Fri, Dec 21, 2001 at 02:46:08PM +0530, Arati Dikey wrote: > > > Hi ! > > The sh-elf-gcc built from GCC 3.0.1 gives error "Virtual memory > exhausted : Invalid argument" while compiling any small C program on > Win 98 system. > > The toolchain has been built in cygwin 1.3.2 environment. > > This was tested on two systems with following configurations. > > System1 - Win98 running on Pentium MMX system with 128 MB RAM and 500 MB > free disk space. > System2 - Win98 running on Pentium IV system with 128 MB RAM and 19.5 GB > free disk space. > > The toolchain works fine on WinNT and Win2000. > > Is this problem related to Cygwin or GCC-3.0.1 ? > > Using Cygwin's gdb I found that the error is coming when init_ggc() > function calls > alloc_anon() function and #ifdef HAVE_MMAP_ANON condition is satisfied. > > Any help will be appreciated. > Please try the latest Cygwin 1.3.6-6 first. I remember various > fixes to the mmap() code. > Corinna ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Free download and free European support of GNU tool chain (GNUSH v0101) for Hitachi's SH Series Read more at http://www.kpit.com/products/support.htm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- 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/