[Bug bootstrap/11745] Bootstrap fails when compiling insn-attrtab.c with stage1/xgcc

jv244 at cam dot ac dot uk gcc-bugzilla@gcc.gnu.org
Fri Aug 15 07:21:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11745



------- Additional Comments From jv244 at cam dot ac dot uk  2003-08-15 07:21 -------
sounds like the stack size could be the problem.
I get the following info in cygwin :
ulimit -s
2047
ulimit -s 8000
bash: ulimit: stack size: cannot modify limit: invalid argument

from the following mail on the cygwin list:
http://sources.redhat.com/ml/cygwin/2003-03/msg01394.html

This is the real answer. The system call to which the ulimit shell built-in 
delegates its work is not implemented in Cygwin.

I believe link-time is the only way to override the default stack allotment is 
during compilation (or linking, as the case may be): E.g. (from a message by 
Gerrit P. Haase, subject "Re: increase stacksize" sent Wed, 17 Jul 2002 
15:54:42 +0200):

gcc -Wl,--stack,8388608 -o your.exe your.source.c



More information about the Gcc-bugs mailing list