[ruby-core:113622] [Ruby master Bug#19689] ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1

Issue #19689 has been reported by hurricup (Alexandr Evstigneev). ---------------------------------------- Bug #19689: ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1 https://bugs.ruby-lang.org/issues/19689 * Author: hurricup (Alexandr Evstigneev) * Status: Open * Priority: Normal * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- As far as I understand headers, it still should be available. Still: ``` hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ nm -gD ruby-3.2.2/lib/libruby.so |grep ruby_vm_event_enabled_global_flags 00000000004497f4 B ruby_vm_event_enabled_global_flags hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ nm -gD ruby-3.3.0-preview1/lib/libruby.so |grep ruby_vm_event_enabled_global_flags hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ ``` Installed via `rvm` master with `--disable-binary` -- https://bugs.ruby-lang.org/

Issue #19689 has been updated by nobu (Nobuyoshi Nakada). Status changed from Open to Feedback That is one of symbols had been exported only for MJIT, and is declared in an internal header. For what do you want to use it? ---------------------------------------- Bug #19689: ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1 https://bugs.ruby-lang.org/issues/19689#change-103266 * Author: hurricup (Alexandr Evstigneev) * Status: Feedback * Priority: Normal * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- As far as I understand headers, it still should be available. Still: ``` hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ nm -gD ruby-3.2.2/lib/libruby.so |grep ruby_vm_event_enabled_global_flags 00000000004497f4 B ruby_vm_event_enabled_global_flags hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ nm -gD ruby-3.3.0-preview1/lib/libruby.so |grep ruby_vm_event_enabled_global_flags hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ ``` Installed via `rvm` master with `--disable-binary` -- https://bugs.ruby-lang.org/

Issue #19689 has been updated by hurricup (Alexandr Evstigneev). nobu (Nobuyoshi Nakada) wrote in #note-1:
That is one of symbols had been exported only for MJIT, and is declared in an internal header. For what do you want to use it?
It is used in the debugger implementation. Can't say right now for what perticular reason, pretty old code. But i could investigate. ---------------------------------------- Bug #19689: ruby_vm_event_enabled_global_flags is not exported by ruby 3.3.0-preview1 https://bugs.ruby-lang.org/issues/19689#change-103294 * Author: hurricup (Alexandr Evstigneev) * Status: Feedback * Priority: Normal * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- As far as I understand headers, it still should be available. Still: ``` hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ nm -gD ruby-3.2.2/lib/libruby.so |grep ruby_vm_event_enabled_global_flags 00000000004497f4 B ruby_vm_event_enabled_global_flags hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ nm -gD ruby-3.3.0-preview1/lib/libruby.so |grep ruby_vm_event_enabled_global_flags hurricup@AM-UNIT-0002:/usr/share/rvm/rubies$ ``` Installed via `rvm` master with `--disable-binary` -- https://bugs.ruby-lang.org/
participants (2)
-
hurricup (Alexandr Evstigneev)
-
nobu (Nobuyoshi Nakada)