------- Comment #15 from hjl at lucon dot org  2007-06-19 20:10 -------
(In reply to comment #14)


> The linux problem is wierd.  In stage2, I get the following
> failure:
> 
> /bin/sh: line 1:  4487 Segmentation fault      (core dumped) ./xsinfo
> ../../sinf
> o.h
> make[3]: *** [ada/sinfo.h] Error 139
> 
> The above fault is a stack overflow.  The problem is wierd in the sense
> that the error doesn't occur when I run "./xsinfo ../../sinfo.h" from
> an interactive shell.  It only occurs when the command is run by make.
> Increasing the stack limit didn't help.  This suggests a problem with
> the environment passed to xsinfo.
> 

"make" may change stack limit. You can write a simple Makefile to check
the real stack limit of processes spawned by make.


-- 


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

Reply via email to