When building either ruby-1.8.1-r2 or ruby-1.8.1-r3 on ia64, the following error occurs: ar rcu libruby18-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 -O2 -pipe -fPIC -rdynamic main.o dmyext.o libruby18-static.a -ldl -lcrypt -lm -o miniruby gcc -shared -Wl,-soname,libruby18.so.1.8 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 -ldl -lcrypt -lm -o libruby18.so.1.8.1 ./ext/extmk.rb:27:in `require': unexpected break (LocalJumpError) from ./ext/extmk.rb:27 make: *** [all] Error 1 !!! ERROR: dev-lang/ruby-1.8.1-r2 failed. !!! Function src_compile, Line 76, Exitcode 2 !!! emake failed ruby-1.8.0-r6 builds fine, though
This also occurs with -r4
the 1.8.1-r7 and 1.8.2_pre2 fail in the same way too
Works when built with -O0. Hopefully we'll find a better fix eventually, but this works for now.