Hello,
I have just encountered a problem rebuilding my rvm platform. The
version of gcc4.7 causes the ruby build to not work properly. Rebuilding
with gcc 4.6.3 and everything is ok.

This is on Arch Linux and the current gcc has been updated to 4.7.0.

$ gcc -v 2>&1 | grep "gcc version"
gcc version 4.6.3 (GCC)
$

$ rvm install ruby-1.8.6-p420
$ rvm use ruby-1.8.6-p420 / rails-2.0.2 --create
$ gem install rails --version=2.0.2

All ok.

$ gcc -v 2>&1 | grep "gcc version"
gcc version 4.7.0 20120407 (prerelease) (GCC)
$

$ rvm install ruby-1.8.6-p420
$ rvm use ruby-1.8.6-p420 / rails-2.0.2 --create
$ gem install rails --version=2.0.2
/usr/local/rvm/rubies/ruby-1.8.6-p420/lib/ruby/1.8/timeout.rb:59: [BUG]
Segmentation fault
ruby 1.8.6 (2010-09-02) [x86_64-linux]

Arch sometimes gets ahead of itself. I've reverted to gcc 4.6.3 for the
time being.

-- 
Posted via http://www.ruby-forum.com/.