bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cygwin failure with large number of sources


From: Christopher Hulbert
Subject: Cygwin failure with large number of sources
Date: Wed, 14 Jun 2006 09:49:06 -0400

I don't think this is a libtool bug, but I thought I would not this.

I was compiling a library with 1635 object files into a static
archive.  The cygwin command shell fails with:

     5 [main] sh 3668 C:\cygwin\bin\sh.exe: *** fatal error - fork:
can't reserve memory for stack 0x23E660 - 0x240000, Win32 error 487
     6 [main] sh 2896 child_copy: stack write copy failed,
0x23E660..0x240000, done 0, windows pid 2352532, Win32 error 5
../libtool: fork: No error
make: *** [libvsip.la] Error 129


This seems to be correlated with so many object files. I remember
seeing libtool at one point somewhere else trying to do partial
linking.  Would there be a way to do something similar when there are
so many object files?  Currently After it fails I just manually go
into the directory and run ar cru .libs/libvsip.a *.o and it seems to
work fine.

libtool --version
ltmain.sh (GNU libtool 1.2309 2006/06/12 17:54:15) 2.1a
Written by Gordon Matzigkeit <address@hidden>, 1996

Copyright (C) 2006
Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]