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

tobias dot schlueter at web dot de gcc-bugzilla@gcc.gnu.org
Fri Aug 15 11:17: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 tobias dot schlueter at web dot de  2003-08-15 11:17 -------
Subject: Re:  Bootstrap fails when compiling insn-attrtab.c
 with stage1/xgcc



jv244 at cam dot ac dot uk wrote:
> 
> 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
> 

I tried this. Running
	CC="gcc -Wl,--stack=0x2000000" make bootstrap-lean
didn't change anything.

Configuring with
	CC="gcc -Wl,--stack=0x2000000" ../gcc/configure etc.
confuses configure, I get a lot of lines like below:

checking for sys/file.h... grep: conftest.out: No such file or directory
yes
checking for sys/param.h... grep: conftest.out: No such file or directory
yes

The build then bails out with an error relatively fast.

Is there any place where I can set linker options, so I don't confuse 
the compiler with the '-Wl'?

- Tobi



More information about the Gcc-bugs mailing list