[WXP]: Any plan to use Ant instead of cygwin/make???

Andrew Haley aph at redhat.com
Mon Mar 10 15:30:10 UTC 2008


Francis ANDRE wrote:
> Hi OpenJDK Team
> 
> 
> While trying to build OpenJDK on WXP SP2, I am facing to a recurrent
> problem with cygwin that crashes because it could not allocate heap
> space...
> 
> $ make
>       7 [main] ? (232756) C:\Progra~1\cygwin\bin\sh.exe: *** fatal error
> - could
> n't allocate heap, Win32 error 487, base 0x6D0000, top 0x6E0000,
> reserve_size 61
> 440, allocsize 65536, page_const 4096
> 
> 
> This intermittent heap memory allocation problem is a recurent one
> explained many times on the cygwin archives mailing list.
> 
> Even with the suggested command explained in
> http://www.cygwin.com/ml/cygwin/2005-11/msg00413.html
> 
> regtool -i set /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb
> 2048
> 
> make fails on a regular basis... even after the execution of a rebaseall
> as stated in the cygwin mails.
> 
> 
> 
> 
> So, that's why I am wondering if you plan to use cpptasks and ant script
> since using cpptask and the ant-contrib library could be a viable
> alternative to avoid the cygwin unstability.

It'd be a hell of a lot easier to fix the Cygwin bug -- if indeed it is a
Cygwin bug -- than to move to using Ant.  Not to mention a huge burden on
the rest of us who aren't using Microsoft OS.

Andrew.



More information about the build-dev mailing list