URGENT: Ruby 1.8 in IBM PowerPC

Hello everybody,

any help is really appreciated!

We tried to compile the latest 1.8 pre-release in a IBM PowerPC (on
which 1.6.8 had already been successfuly compiled and used for a large
project). Unfortunately we bumped into a problem that apparently (as
browsing old messages in the ruby list) keeps coming up every now and
then with new releases:

…/mkconfig.rb:42: stack level too deep (SystemStackError)
from ./mkconfig.rb:30:in `foreach’
from ./mkconfig.rb:30

The error is reported after issueing ./configure and ./make and while
at the last part of making.

Here are some useful info:
~/> gcc -v
Reading specs from /usr/lib/gcc-lib/powerpc-suse-linux/2.95.3/specs
gcc version 2.95.3 20010319 (2.95.4 CVS + prerelease/franzo/20010912)

XXX2:/n/src/ruby-1.8.0 # head -30 config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.57. Invocation command line was

$ ./configure

---------

Platform.

---------

hostname = XXX2
uname -m = ppc
uname -r = 2.4.12
uname -s = Linux
uname -v = #2 Thu Oct 18 14:41:03 GMT 2001

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = ppc
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

Please help! Thank you in advance,
Tasos Koutoumanos,
Navel – www.navel.gr

../mkconfig.rb:42: stack level too deep (SystemStackError)

Verify the value of stacksize with the command `ulimit', or `limit' and
change it if it's too low

Guy Decoux

The problem remains with ruby-1.8.0.preview4 (same os/architecture):

here is the error again:

ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o
enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o
numeric.o object.o pack.o parse.o process.o prec.o random.o range.o
re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o
util.o variable.o version.o dmyext.o
gcc -g -O2 -I. -I. -c main.c
gcc -g -O2 -rdynamic main.o dmyext.o libruby-static.a -ldl -lcrypt
-lm -o miniruby
…/mkconfig.rb:44:in []': stack level too deep (SystemStackError) from ./mkconfig.rb:44 from ./mkconfig.rb:30:inforeach’
from ./mkconfig.rb:30
make: *** [rbconfig.rb] Error 1

btw congrats for releasing an updated preview! keep up the good work!

George Moschovitis

ts decoux@moulon.inra.fr wrote in message news:200307231530.h6NFU4P15891@moulon.inra.fr

…/mkconfig.rb:42: stack level too deep (SystemStackError)

Verify the value of stacksize with the command ulimit', or limit’ and
change it if it’s too low

Guy Decoux

Thanx Guy, but this is not the issue here:

ulimit -a

core file size (blocks) 0
data seg size (kbytes) unlimited
file size (blocks) unlimited
max locked memory (kbytes) unlimited
max memory size (kbytes) unlimited
open files 1024
pipe size (512 bytes) 8
stack size (kbytes) unlimited
cpu time (seconds) unlimited
max user processes 8192
virtual memory (kbytes) unlimited

Any other ideas???

Tasos Koutoumanos
Navel - www.navel.gr