Issue #1964 has been updated by Hiro Asari.


'-xarch=v9' (or its modern replacement '-m64') appears to be problematic. Without CFLAGS as specified above, Sun's C compiler can create the ruby binary just fine.

If I had more time to investigate, I might, but for now, that's the answer to this problem.
----------------------------------------
http://redmine.ruby-lang.org/issues/show/1964

----------------------------------------
http://redmine.ruby-lang.org