<deividrodriguez[>
I guess it's some issue with this new M1 architecture?
<headius>
deivid.rodriguez: yeah there are two issues I know of with M1 right now: varargs and signing the jffi binary
<headius>
the latter might be an issue with all macos 11+
<headius>
I believe the ffi gem got updates at some point to use libffi functions for setting up varargs, while the jffi library does not and jnr-ffi (the Java-facing API) sets them up manually
<headius>
so there's a bit of work to get varargs using the proper libffi logic
<headius>
enebo: shall I merge that errno fix then?
<deividrodriguez[>
aha, thanks. So as of now, it's not yet possible to run jruby on M1, correct?
<headius>
you can run it with an x86 JDK, or do limited things with an M1 JDK
<headius>
I hope to get it fixed before RubyConf though, in 9.3.2
<deividrodriguez[>
Great, I'll look into installing an x86 JDK for now, thank you!
<headius>
my vbox suddenly stopped working so I'd have to reboot into Windows to test this
<headius>
ahah upgrading seems to have fixed it
<deividrodriguez[>
Yay! I reinstalled an x86 JDK and now jruby installed fine, thanks for the tip!
<headius>
Yay!
<enebo[m]>
headius: yeah errno I think so.
<enebo[m]>
headius: part of me wonders if natuve properly raises on a broken symlink
<headius>
I wonder that as well but I don
<enebo[m]>
I will try FILE on windows
<headius>
don't see any pre-checks on CRuby for unlink
<enebo[m]>
yeah I feel like this somehow was a hack around unlink not doing it right but if both are literally calling the same unlink then I would guess we should just work
<enebo[m]>
It logically follows but I still wonder why we ended up needing special logic in the first place
<headius>
gonna take a deeper look at how we handle the path throughout loading
<headius>
I have other reasons to look into that anyway: I want to start setting the JIT source path as relative paths from LOAD_PATH so we can hook up a JVM debugger and have it find sources
<headius>
huh I guess we haven't punted anything to 9.3.2 yet because the milestone isn't there
<headius>
enebo: should I punt these coverage and tracing items to 9.3.2 or 9.4
<headius>
I don't think they'll be any harder than previous trace/event fixes but it just needs doing
<enebo[m]>
9.4 or untarget
<headius>
at least one of them was reported by a user with a coverage library
<headius>
my only concern was making it all native with no Java fallback... I believe we need to at least keep the Java impl around in JRuby or in jnr-posix