Stack size on 64-bit Cygwin

Ken Brown kbrown@cornell.edu
Fri Aug 16 20:49:00 GMT 2013


The problem that has been discussed at length in the thread "64-bit 
emacs crashes a lot" appears to have been solved on the emacs-devel 
list.  (I say "appears to" because I'm waiting for Ryan to confirm 
this.)  The problem went away for me when I built emacs with 
'LDFLAGS=-Wl,--stack,4194304'.  I'm wondering if it's just that emacs 
needs an unusually big stack or if the default stack size on 64-bit 
Cygwin should be increased for all applications.

I noticed that ulimit -s gives 2025 on both 32-bit Cygwin and 64-bit 
Cygwin.  Shouldn't 64-bit applications need a larger stack than 32-bit 
applications in general?

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list