https://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112012-11-02T19:13:33ZRuby Issue Tracking SystemRuby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=322222012-11-02T19:13:33Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Assigned</i></li><li><strong>Assignee</strong> set to <i>sorah (Sorah Fukumori)</i></li><li><strong>Target version</strong> set to <i>2.0.0</i></li></ul><p>Thank you for the report! Sorah will check it early next week.</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p> Ruby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=322402012-11-02T23:27:26Zmame (Yusuke Endoh)mame@ruby-lang.org
<ul></ul><p>Bad news. Nobu failed to reproduce this issue.</p>
<p>Could you try to build preview1 without ruby-build?</p>
<p>--<br>
Yusuke Endoh <a href="mailto:mame@tsg.ne.jp" class="email">mame@tsg.ne.jp</a></p> Ruby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=322482012-11-03T04:10:10Zlambda (Brian Campbell)lambda@continuation.org
<ul><li><strong>File</strong> <a href="/attachments/3201">miniruby_2012-11-02-150443_erlang.crash</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3201/miniruby_2012-11-02-150443_erlang.crash">miniruby_2012-11-02-150443_erlang.crash</a> added</li><li><strong>File</strong> <a href="/attachments/3202">ruby-log</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/3202/ruby-log">ruby-log</a> added</li></ul><p>=begin<br>
I can reproduce it doing the build manually with (({./configure; make})). Logs attached. gcc version:</p>
<p>erlang:ruby-2.0.0-preview1 lambda$ gcc-4.2 --version<br>
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.9.00)<br>
Copyright (C) 2007 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br>
=end</p> Ruby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=323162012-11-04T08:16:29Znobu (Nobuyoshi Nakada)nobu@ruby-lang.org
<ul><li><strong>Category</strong> set to <i>core</i></li><li><strong>Assignee</strong> changed from <i>sorah (Sorah Fukumori)</i> to <i>ko1 (Koichi Sasada)</i></li></ul> Ruby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=323362012-11-04T19:41:00Zigor.alexandrov (Igor Alexandrov)igor.alexandrov@gmail.com
<ul></ul><p>=begin<br>
I've got this issue on OS X 10.8.2 with gcc-4.2</p>
<p>i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)<br>
Copyright (C) 2007 Free Software Foundation, Inc.<br>
This is free software; see the source for copying conditions. There is NO<br>
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</p>
<p>Exporting CC helped me:</p>
<p>saturn:~$ export CC=clang<br>
saturn:~$ rvm install ruby-2.0.0-preview1<br>
No binary rubies available for: downloads/ruby-2.0.0-preview1.<br>
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies.<br>
Installing Ruby from source to: /Users/igor/.rvm/rubies/ruby-2.0.0-preview1, this may take a while depending on your cpu(s)...<br>
ruby-2.0.0-preview1 - #downloading ruby-2.0.0-preview1, this may take a while depending on your connection...<br>
ruby-2.0.0-preview1 - #extracting ruby-2.0.0-preview1 to /Users/igor/.rvm/src/ruby-2.0.0-preview1<br>
ruby-2.0.0-preview1 - #extracted to /Users/igor/.rvm/src/ruby-2.0.0-preview1<br>
ruby-2.0.0-preview1 - #configuring<br>
ruby-2.0.0-preview1 - #compiling<br>
ruby-2.0.0-preview1 - #installing<br>
Removing old Rubygems files...<br>
Installing rubygems-1.8.24 for ruby-2.0.0-preview1 ...<br>
Installation of rubygems completed successfully.<br>
Saving wrappers to '/Users/igor/.rvm/bin'.<br>
ruby-2.0.0-preview1 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).<br>
ruby-2.0.0-preview1 - #importing default gemsets (/Users/igor/.rvm/gemsets/), this may take time ...<br>
Install of ruby-2.0.0-preview1 - #complete</p> Ruby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=323532012-11-05T11:24:50Zsorah (Sorah Fukumori)her@sorah.jp
<ul></ul><p>Reproduced with Lion & default gcc: "i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)"<br>
(comes from Command Line Tools (OS X Lion) for Xcode - October 2012, xcode451cltools_10_76938201a.dmg)</p>
<p>But can't with gcc-4.2 "i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)"</p> Ruby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=323582012-11-05T11:53:40Znaruse (Yui NARUSE)naruse@airemix.jp
<ul><li><strong>Status</strong> changed from <i>Assigned</i> to <i>Third Party's Issue</i></li></ul><p>The gcc-4.2 is llvm-gcc, use clang.<br>
If rbenv forces to use llvm-gcc, this issue should be reported to rbenv.</p> Ruby master - Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4https://bugs.ruby-lang.org/issues/7264?journal_id=323702012-11-05T14:03:36Zsorah (Sorah Fukumori)her@sorah.jp
<ul></ul><p>naruse (Yui NARUSE) wrote:</p>
<blockquote>
<p>The gcc-4.2 is llvm-gcc, use clang.<br>
If rbenv forces to use llvm-gcc, this issue should be reported to rbenv.</p>
</blockquote>
<p>try this:<br>
CONFIGURE_OPTS="--use-gcc=clang" rbenv install …</p>