Re: After update, vim reports undefined symbols in libruby32.so

2023-06-18 Thread Why 42? The lists account.


On Tue, Jun 13, 2023 at 09:37:32AM +0200, Theo Buehler wrote:
> ...
> That's because libruby32 did not link explicitly against libc++abi, which
> is now needed on aarch64 and amd64 for the Rust-based YJIT compiler.
> 
> Fixed in this commit: 
> https://marc.info/?l=openbsd-ports-cvs=168663240314909=2
> 
> Once you get ruby-3.2.2p0 on your machine either by updating after it
> made it into snapshot packages or by building the latest lang/ruby/3.2
> yourself, this noise should go away.

That updated package has fixed it, thanks!

Cheers,
Robb.



Re: After update, vim reports undefined symbols in libruby32.so

2023-06-13 Thread Theo Buehler
On Sun, Jun 11, 2023 at 07:22:28PM +0200, Why 42? The lists account. wrote:
> vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_Backtrace'
> vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetIP'
> vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetCFA'
...

That's because libruby32 did not link explicitly against libc++abi, which
is now needed on aarch64 and amd64 for the Rust-based YJIT compiler.

Fixed in this commit: 
https://marc.info/?l=openbsd-ports-cvs=168663240314909=2

Once you get ruby-3.2.2p0 on your machine either by updating after it
made it into snapshot packages or by building the latest lang/ruby/3.2
yourself, this noise should go away.



After update, vim reports undefined symbols in libruby32.so

2023-06-11 Thread Why 42? The lists account.


Hi All,

FYI, After running "sysupgrade -s" + "pkg_add -u" earlier today, I now
see these messages when I exit vim:

mjoelnir:awk 11.06 18:42:45 % vi substrtest.awk
...
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_Backtrace'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetIP'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetCFA'
vim:/usr/local/lib/libruby32.so: undefined symbol 
'_Unwind_FindEnclosingFunction'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetDataRelBase'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetTextRelBase'
vim:/usr/local/lib/libruby32.so: undefined symbol 
'_Unwind_GetLanguageSpecificData'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetIPInfo'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_GetRegionStart'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_SetGR'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_SetIP'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_DeleteException'
vim:/usr/local/lib/libruby32.so: undefined symbol '_Unwind_RaiseException'

% uname -a
OpenBSD mjoelnir.fritz.box 7.3 GENERIC.MP#1230 amd64

% pkg_info | grep vim
vim-9.0.1536p0-no_x11-perl-python3-ruby vi clone, many additional features
vim-spell-de-9.0German spell-check files for Vim

It looks as if I received new versions of both ruby and vim:
# grep ruby /var/log/messages
Jun 11 13:47:01 mjoelnir pkg_add: Added ruby-3.2.2
Jun 11 13:52:56 mjoelnir pkg_add: Added ruby-3.1.4->3.1.4
Jun 11 13:53:22 mjoelnir pkg_add: Added 
vim-9.0.1536-no_x11-perl-python3-ruby->9.0.1536p0-no_x11-perl-python3-ruby
Jun 11 14:06:06 mjoelnir pkg_delete: Removed ruby-3.1.4