When vim statically links against ruby, for instance if the selected ruby
interpreter doesn't provide shared libraries, stripping symbols during `make
install` will result in the vim binary segfault when calling any ruby
functions.
What steps will reproduce the problem?
1. Configure vim with --enable-rubyinterp
2. make
3. make install
4. In vim, enter: :ruby p RUBY_VERSION
What is the expected output? What do you see instead?
vim will instantly segfault. gdb reveals that vim is unable to find the
'_rb_encdb_declare' symbol.
What version of the product are you using? On what operating system?
vim 7.3.831 using Mac OS X 10.6.8.
Please provide any additional information below.
If `make install` is run with stripping disabled, the resulting binary will
work as expected.
Original issue reported on code.google.com by mistyde...@gmail.com on 21 Feb 2013 at 9:51
Original issue reported on code.google.com by
mistyde...@gmail.com
on 21 Feb 2013 at 9:51