<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Segment7: Update on "undefined method for Fixnum"</title>
    <link>http://blog.segment7.net/articles/2006/04/20/update-on-undefined-method-for-fixnum</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description>The Blog</description>
    <item>
      <title>Update on &amp;quot;undefined method for Fixnum&amp;quot;</title>
      <description>&lt;p&gt;A week or so ago I managed to chase down the &amp;#8220;undefined method for Fixnum&amp;#8221; bug to the compiler flags &lt;kbd&gt;-g -O1 -pipe -fno-common  -DRUBY_EXPORT -fschedule-insns2&lt;/kbd&gt;.  For now you can get rid of the bug by compiling -O1 instead of switching to gcc3.  I haven&amp;#8217;t had time to track it down further, mostly because I ran out of time and the man page doesn&amp;#8217;t specify what -O1 really contains.&lt;/p&gt;


	&lt;p&gt;Hopefully some smarter eyeballs than mine can jump on this and figure out if &lt;span class="caps"&gt;GCC&lt;/span&gt; is wrong or if Ruby is missing a volatile somewhere.&lt;/p&gt;
</description>
      <pubDate>Thu, 20 Apr 2006 11:37:44 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:97613b1a-5467-43d1-8c2d-988c961195d6</guid>
      <author>drbrain@segment7.net (Eric Hodel)</author>
      <link>http://blog.segment7.net/articles/2006/04/20/update-on-undefined-method-for-fixnum</link>
      <category>Ruby</category>
    </item>
    <item>
      <title>"Update on "undefined method for Fixnum"" by Daniel Berger</title>
      <description>&lt;p&gt;zenspider, sorry, I meant the problem with -fschedule-insns2 in particular.  I could have sworn this error has cropped up on other platforms in the past.  Maybe those were compiler bugs as well. :/&lt;/p&gt;</description>
      <pubDate>Fri, 21 Apr 2006 06:39:13 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:25dbacb6-051b-4b13-b27c-6da884a69a47</guid>
      <link>http://blog.segment7.net/articles/2006/04/20/update-on-undefined-method-for-fixnum#comment-209</link>
    </item>
    <item>
      <title>"Update on "undefined method for Fixnum"" by zenspider</title>
      <description>&lt;p&gt;Dan, yes to both gcc and architecture. We&amp;#8217;ve been chasing this for a while now.&lt;/p&gt;</description>
      <pubDate>Fri, 21 Apr 2006 01:01:04 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:601909f3-be3f-4fec-b3a8-1c87d80101fa</guid>
      <link>http://blog.segment7.net/articles/2006/04/20/update-on-undefined-method-for-fixnum#comment-208</link>
    </item>
    <item>
      <title>"Update on "undefined method for Fixnum"" by Daniel Berger</title>
      <description>&lt;p&gt;From what I can gather from Google, this appears to be a bug in gcc 4.x on OS X.  What version are you using? And what architecture is your machine?&lt;/p&gt;</description>
      <pubDate>Thu, 20 Apr 2006 13:43:12 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:293c1848-d569-4d5e-9c24-3ba07a2b51a2</guid>
      <link>http://blog.segment7.net/articles/2006/04/20/update-on-undefined-method-for-fixnum#comment-206</link>
    </item>
    <item>
      <title>"Update on "undefined method for Fixnum"" by Caleb</title>
      <description>&lt;p&gt;way over my head.&lt;/p&gt;


	&lt;p&gt;but thanks!&lt;/p&gt;</description>
      <pubDate>Thu, 20 Apr 2006 13:14:28 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:d1561fff-2a59-4b53-8cd7-106380acddf2</guid>
      <link>http://blog.segment7.net/articles/2006/04/20/update-on-undefined-method-for-fixnum#comment-205</link>
    </item>
    <item>
      <title>"Update on "undefined method for Fixnum"" by Daniel Berger</title>
      <description>According to my (slightly outdated) GCC book, -O1 means it compiles with the following flags:
&lt;pre&gt;
-fno_optimize_size
-fdefer_pop
-fthread_jumps
-jguess_branch_prob
-cprop-registers
-fdelayed_branch
-fomit_frame_pointer
&lt;/pre&gt;
The -fomit_frame_pointer flag is set only if the debugger is able to work without it on the current platform.

	&lt;p&gt;Hope that helps,&lt;/p&gt;


	&lt;p&gt;Dan&lt;/p&gt;</description>
      <pubDate>Thu, 20 Apr 2006 12:54:08 -0700</pubDate>
      <guid isPermaLink="false">urn:uuid:df17d1ac-52e6-4c3e-8d87-91f7e56250e8</guid>
      <link>http://blog.segment7.net/articles/2006/04/20/update-on-undefined-method-for-fixnum#comment-204</link>
    </item>
  </channel>
</rss>
