Rebuild ruby-19 with gcc 4.7.2
jtimberman opened this issue · comments
Joshua Timberman commented
Capturing an issue based on #omnios IRC discussion.
TL;DR: the ruby config hardcodes location to gcc, meaning gems with native extensions will attempt to use /opt/gcc-4.6.3/bin/gcc to compile.
23:09 <apeiron> so we upgraded our compiler for r151006 to 4.7
23:09 <apeiron> it seems that perhaps the ruby that you're installing wasn't rebuilt for that
23:09 <jtimberman> omniti/runtime/ruby-19 (ms.omniti.com) 1.9.3.194-0.151002 i--
23:10 <jtimberman> indeed.
23:10 <apeiron> looks like the latest is 1.9.3.194,5.11-0.151002:20120501T202116Z
23:11 <apeiron> So it could use a respin for the new compiler
Deleted user commented
As a side-comment, the pull req accepted into rubygems hasn't made it into a release yet, which is why I lifted the patch into our local build system. I'll be glad to take it out when that patch lands in a release.
Joshua Timberman commented
This relates to #20 - might as well build the newer version of Ruby 1.9.3, right? :)