Issue #14192 has been updated by drkaes (Stefan Kaes).


See https://github.com/ruby/ruby/commit/857827e3eed915543ac9d4d2541179ea4ded8eee

----------------------------------------
Bug #14192: rb_frame_method_id_and_class not exported, breaks ruby-prof and other gems
https://bugs.ruby-lang.org/issues/14192#change-68459

* Author: drkaes (Stefan Kaes)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
* ruby -v: ruby 2.5.0dev (2017-12-16 trunk 61295) [x86_64-darwin16]
* Backport: 2.3: UNKNOWN, 2.4: UNKNOWN
----------------------------------------
rb_frame_method_id_and_class is currently available in the header files as deprecated, but the corresponding symbol is not exported from the library.

Witness the following compile and execution log excerpts:

~~~
../../../../ext/ruby_prof/ruby_prof.c:209:9: warning: 'rb_frame_method_id_and_class' is deprecated [-Wdeprecated-declarations]
        rb_frame_method_id_and_class(&mid, &klass);
        ^
/Users/stefan.kaes/.rvm/rubies/ruby-head/include/ruby-2.5.0/ruby/backward.h:53:1: note: 'rb_frame_method_id_and_class' has been explicitly marked deprecated here
DEPRECATED(int rb_frame_method_id_and_class(ID *idp, VALUE *klassp));
^
/Users/stefan.kaes/.rvm/rubies/ruby-head/include/ruby-2.5.0/x86_64-darwin16/ruby/config.h:126:39: note: expanded from macro 'DEPRECATED'


....................


dyld: lazy symbol binding failed: Symbol not found: _rb_frame_method_id_and_class
  Referenced from: /Users/stefan.kaes/src/ruby-prof/lib/2.5.0/ruby_prof.bundle
  Expected in: flat namespace

dyld: Symbol not found: _rb_frame_method_id_and_class
  Referenced from: /Users/stefan.kaes/src/ruby-prof/lib/2.5.0/ruby_prof.bundle
  Expected in: flat namespace



~~~


 



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>