Re: Update: JRuby 10.1.1.0
Ian Darwin <[email protected]> Sun, 26 Jul 2026 17:50:05 -0400
| Newsgroups | gmane.os.openbsd.ports |
|---|---|
| Message-ID | <[email protected]> |
On 7/24/26 8:18 PM, Jeremy Evans wrote: > This updates to the latest release of JRuby. Release notes at: > https://www.jruby.org/2026/07/22/jruby-10-1-1-0.html > > Tested on amd64, the only supported arch. Will commit in a couple days > unless I hear objections. > > The release notes mention aarch64 support on OpenBSD, so if someone > with arm64 access could update ONLY_FOR_ARCHS and test whether JRuby > works, that would be appreciated. > It works on aarch64 (only tested with hello world), with one serious warning, on my slow (LinkStar h68K): $ uname -a OpenBSD gw2.darwinsys.com 8.0 GENERIC.MP#36 arm64 $ jruby /tmp/Hello.rb Error opening script file: /tmp/Hello.rb (No such file or directory) $ jruby /tmp/Hello.ruby Jul 26, 2026 5:39:47 PM jnr.ffi.provider.jffi.NativeRuntime buildNativeTypeAliases SEVERE: failed to load type aliases: java.lang.ClassNotFoundException: jnr.ffi.provider.jffi.platform.aarch64.openbsd.TypeAliases Hello $ time jruby /tmp/Hello.ruby Jul 26, 2026 5:40:33 PM jnr.ffi.provider.jffi.NativeRuntime buildNativeTypeAliases SEVERE: failed to load type aliases: java.lang.ClassNotFoundException: jnr.ffi.provider.jffi.platform.aarch64.openbsd.TypeAliases Hello 0m23.29s real 0m47.98s user 0m01.82s system $ time java /tmp/Hello.java Hello 0m05.60s real 0m10.22s user 0m00.59s system $ Not sure why it doesn't find the jnr.ffi thing; the build did install libffi-3.7.1. Why so slow? It's the machine: $ openssl speed # on amd64 laptop Doing md4 for 3s on 16 size blocks: 8741456 md4 in 3.03s Doing md4 for 3s on 64 size blocks: 7087363 md4 in 2.98s Doing md4 for 3s on 256 size blocks: 4230103 md4 in 2.97s Doing md4 for 3s on 1024 size blocks: ^C $ openssl speed # on my aarch64 Doing md4 for 3s on 16 size blocks: 2318112 md4 in 3.02s Doing md4 for 3s on 64 size blocks: 2097921 md4 in 2.99s Doing md4 for 3s on 256 size blocks: 1614980 md4 in 3.03s Doing md4 for 3s on 1024 size blocks: ^C If the warning isn't too serious, then OK ian@