> And on a Dec Alpha system with gcc -v giving:
> Reading specs from
> /usr/local/gnu/lib/gcc-lib/alphaev6-dec-osf4.0f/2.95.2/specs
> gcc version 2.95.2 19991024 (release)
> 	[...]
> gcc -g -O2 -ansi  main.o dmyext.o libruby.a -lm   -o miniruby
> ./mkconfig.rb:44: stack level too deep (SystemStackError)
>         from ./mkconfig.rb:29:in `foreach'
>         from ./mkconfig.rb:29
> make: *** [rbconfig.rb] Error 1



Got the same on a NetWinder (StrongARM 233 MHz) yesterday. It looks like
it stays stack too deep even though it's at depth 2. Trying:

miniruby -e 'def foo;foo end; foo'

gives about 75 (?) stack levels (of which about 60 are elided from the
trace)

I have no clue why it stops at 2, though.



matju