From: "igor.alexandrov (Igor Alexandrov)" Date: 2012-11-04T19:41:00+09:00 Subject: [ruby-core:48845] [ruby-trunk - Bug #7264] Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4 Issue #7264 has been updated by igor.alexandrov (Igor Alexandrov). =begin I've got this issue on OS X 10.8.2 with gcc-4.2 (({ i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. })) =end Exporting CC helped me: saturn:~$ export CC=clang ---------------------------------------- Bug #7264: Error running miniruby: "vm_base_ptr: unreachable" on Mac OS X 10.7.4 https://bugs.ruby-lang.org/issues/7264#change-32336 Author: lambda (Brian Campbell) Status: Assigned Priority: Normal Assignee: ko1 (Koichi Sasada) Category: core Target version: 2.0.0 ruby -v: 2.0.0-preview1 =begin I tried installing ruby-2.0.0-preview1 using rbenv install on Mac OS X 10.7.4. It crashed in miniruby while generating encdb.h CC = gcc-4.2 LD = ld LDSHARED = gcc-4.2 -dynamic -bundle CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -pipe XCFLAGS = -include ruby/config.h -include ruby/missing.h -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -fPIE CPPFLAGS = -I'/Users/lambda/.rbenv/versions/2.0.0-preview1/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I. -I.ext/include/x86_64-darwin11.4.0 -I./include -I. DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-u,_objc_msgSend SOLIBS = ...snip... linking miniruby generating encdb.h bp_check: 8, bp: 6 :26: [BUG] vm_base_ptr: unreachable ruby 2.0.0dev (2012-11-01 trunk 37411) [x86_64-darwin11.4.0] -- Control frame information ----------------------------------------------- c:0003 p:0031 s:0008 e:000007 CLASS :26 c:0002 p:0012 s:0004 e:000003 TOP :17 [FINISH] c:0001 p:0000 s:0002 e:000438 TOP [FINISH] :17:in `' :26:in `' bp_check: 8, bp: 6 e information ------------------------------------------- :26: file under ~/Library/Logs/CrashReporter, /Library/Logs/CrashR[BUG] r, or /Library/Logs/DiagnosticReports, for the more detail of. m_base_ptr: unreachable-- Other runtime information ------------------------------------ Control frame information ----------------------------------------------- * Loaded script: ./miniruby :0003 p:0031 d features: s:0008 numerator.so e[NOTE] YoCLASS have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html :26 c:0002 p:0012 s:0004 e:000003 TOP :17 [FINISH] c:0001 p:0000 s:0002 e:002208 TOP [FINISH] :17:in `' :26:in `' -- C level backtrace information ------------------------------------------- See Crash Report log file under ~/Library/Logs/CrashReporter, /Library/Logs/CrashReporter, or /Library/Logs/DiagnosticReports, for the more detail of. -- Other runtime information ----------------------------------------------- * Loaded script: ./miniruby * Loaded features: 0 enumerator.so [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html =end -- http://bugs.ruby-lang.org/