Subject: Virtual memory Exhaust problem onWin98
From: "Arati Dikey" <[email-masked]>
To: <[email-masked]>, <[email-masked]>
Cc: <[email-masked]>
Date: Fri, 21 Dec 2001 14:46:08 +0530

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.

Regards,
Arati Dikey.

 

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