Forum: Ruby-core [ruby-trunk - Bug #7259][Open] ruby-debug-base19x does not compile on 2.0.0-head

Posted by denofevil (Dennis Ushakov) (Guest)
on 2012-11-01 18:07
(Received via mailing list)
Issue #7259 has been reported by denofevil (Dennis Ushakov).

----------------------------------------
Bug #7259: ruby-debug-base19x does not compile on 2.0.0-head
https://bugs.ruby-lang.org/issues/7259

Author: denofevil (Dennis Ushakov)
Status: Open
Priority: Normal
Assignee:
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-10-12) [x86_64-darwin12.2.0]


I'm trying to make ruby-debug-base19x used by IDE debugger work on 
2.0.0-head. I've managed to get it mostly compiling (latest sources are 
at https://github.com/ruby-debug/ruby-debug-base19) and found one major 
problem: rb_vm_get_sourceline is no longer exported which results in 
following:

(({dyld: lazy symbol binding failed: Symbol not found: 
_rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace

dyld: Symbol not found: _rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace}))

I remember that RUBY_FUNC_EXPORTED was added as a workaround for 1.9.3 
(http://bugs.ruby-lang.org/issues/5193), but it's no longer present on 
head.
Is there some new API we should be using?
Posted by mame (Yusuke Endoh) (Guest)
on 2012-11-05 15:05
(Received via mailing list)
Issue #7259 has been updated by mame (Yusuke Endoh).

Status changed from Open to Assigned
Assignee set to ko1 (Koichi Sasada)

Ko1, what do you think about?

--
Yusuke Endoh <mame@tsg.ne.jp>
----------------------------------------
Bug #7259: ruby-debug-base19x does not compile on 2.0.0-head
https://bugs.ruby-lang.org/issues/7259#change-32429

Author: denofevil (Dennis Ushakov)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-10-12) [x86_64-darwin12.2.0]


I'm trying to make ruby-debug-base19x used by IDE debugger work on 
2.0.0-head. I've managed to get it mostly compiling (latest sources are 
at https://github.com/ruby-debug/ruby-debug-base19) and found one major 
problem: rb_vm_get_sourceline is no longer exported which results in 
following:

(({dyld: lazy symbol binding failed: Symbol not found: 
_rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace

dyld: Symbol not found: _rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace}))

I remember that RUBY_FUNC_EXPORTED was added as a workaround for 1.9.3 
(http://bugs.ruby-lang.org/issues/5193), but it's no longer present on 
head.
Is there some new API we should be using?
Posted by ko1 (Koichi Sasada) (Guest)
on 2012-11-15 14:07
(Received via mailing list)
Issue #7259 has been updated by ko1 (Koichi Sasada).


"[ruby-core:49369] [ruby-trunk - Bug #7214] Ruby 2.0 breaks support for 
some debugging tools" is enough or not?

----------------------------------------
Bug #7259: ruby-debug-base19x does not compile on 2.0.0-head
https://bugs.ruby-lang.org/issues/7259#change-32926

Author: denofevil (Dennis Ushakov)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-10-12) [x86_64-darwin12.2.0]


I'm trying to make ruby-debug-base19x used by IDE debugger work on 
2.0.0-head. I've managed to get it mostly compiling (latest sources are 
at https://github.com/ruby-debug/ruby-debug-base19) and found one major 
problem: rb_vm_get_sourceline is no longer exported which results in 
following:

(({dyld: lazy symbol binding failed: Symbol not found: 
_rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace

dyld: Symbol not found: _rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace}))

I remember that RUBY_FUNC_EXPORTED was added as a workaround for 1.9.3 
(http://bugs.ruby-lang.org/issues/5193), but it's no longer present on 
head.
Is there some new API we should be using?
Posted by denofevil (Dennis Ushakov) (Guest)
on 2012-11-19 11:33
(Received via mailing list)
Issue #7259 has been updated by denofevil (Dennis Ushakov).


Looks like it, feel free to close this one as a duplicate
----------------------------------------
Bug #7259: ruby-debug-base19x does not compile on 2.0.0-head
https://bugs.ruby-lang.org/issues/7259#change-33092

Author: denofevil (Dennis Ushakov)
Status: Assigned
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-10-12) [x86_64-darwin12.2.0]


I'm trying to make ruby-debug-base19x used by IDE debugger work on 
2.0.0-head. I've managed to get it mostly compiling (latest sources are 
at https://github.com/ruby-debug/ruby-debug-base19) and found one major 
problem: rb_vm_get_sourceline is no longer exported which results in 
following:

(({dyld: lazy symbol binding failed: Symbol not found: 
_rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace

dyld: Symbol not found: _rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace}))

I remember that RUBY_FUNC_EXPORTED was added as a workaround for 1.9.3 
(http://bugs.ruby-lang.org/issues/5193), but it's no longer present on 
head.
Is there some new API we should be using?
Posted by ko1 (Koichi Sasada) (Guest)
on 2012-11-26 02:01
(Received via mailing list)
Issue #7259 has been updated by ko1 (Koichi Sasada).

Status changed from Assigned to Closed


----------------------------------------
Bug #7259: ruby-debug-base19x does not compile on 2.0.0-head
https://bugs.ruby-lang.org/issues/7259#change-33923

Author: denofevil (Dennis Ushakov)
Status: Closed
Priority: Normal
Assignee: ko1 (Koichi Sasada)
Category:
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-10-12) [x86_64-darwin12.2.0]


I'm trying to make ruby-debug-base19x used by IDE debugger work on 
2.0.0-head. I've managed to get it mostly compiling (latest sources are 
at https://github.com/ruby-debug/ruby-debug-base19) and found one major 
problem: rb_vm_get_sourceline is no longer exported which results in 
following:

(({dyld: lazy symbol binding failed: Symbol not found: 
_rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace

dyld: Symbol not found: _rb_vm_get_sourceline
Referenced from: 
/Users/denofevil/Code/ruby-debugger/ruby-debug-base19/ext/ruby_debug/ruby_debug.bundle
Expected in: flat namespace}))

I remember that RUBY_FUNC_EXPORTED was added as a workaround for 1.9.3 
(http://bugs.ruby-lang.org/issues/5193), but it's no longer present on 
head.
Is there some new API we should be using?
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.