From kde-cygwin Tue Aug 27 06:36:35 2002 From: "Gerrit P. Haase" Date: Tue, 27 Aug 2002 06:36:35 +0000 To: kde-cygwin Subject: Re: ld seg fault while creating import library X-MARC-Message: https://marc.info/?l=kde-cygwin&m=103043016701985 Hallo Ralf, Am Montag, 26. August 2002 um 12:23 schriebst du: >> -----Original Message----- >> From: kde-cygwin-admin@mail.kde.org >> [mailto:kde-cygwin-admin@mail.kde.org]On Behalf Of Gerrit P. Haase >> Sent: Sunday, August 25, 2002 3:04 PM >> To: Gerrit P. Haase >> Subject: Re: ld seg fault while creating import library >> >> >> Hallo Gerrit, >> >> >>> My question is, what is the problem with 350MB memory? >> >>> Why is there a limit? I have enough RAM and as long >> >>> as I don't need 2GB it should be no problem on a 32-bit >> >>> machine? >> >> There is a limit on the amount of memory Cygwin allocated to a process. I >> >> can't remember what it is - it's in the source code somewhere. >> >> > Then the main problem is with Cygwin and not with ld or gcc. >> >> BTW, I'm seeing this problem when trying to build Xerces right now. >> Abraham reported that it succeeds when he uses gcc2 but not with gcc3, >> how does this come, if the problem is memory allocation of ld? >> > it may be that gcc 3 defines more symbols as gcc2. Abe reports that he succeeds with building Xercex after increasing the heap_chunk_in_mb in his registry to 1GB: REGEDIT4 [HKEY_CURRENT_USER\SOFTWARE\Cygnus Solutions\Cygwin] "heap_chunk_in_mb"=dword:00000400 Maybe that helps for QT too? I could build Xerces too with this setting. Strange about this is that it works if defined in HKCU but not if defined in HKLM as I did at first. Nicholas, try to increase the heap_chunk_dings, and the again it is a (again) a Cygwin problem, the default heap_chunk_in_mb is 128MB which is really too small. Gerrit -- =^..^= _______________________________________________ kde-cygwin mailing list kde-cygwin@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-cygwin