-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XZ lib compatiblity #3128
Comments
Thanks for the report.
What do you mean by Fiddle should work, but there is probably a missing type or so in our fiddle backend. |
I was thinking about #1572 I'm looking at this missing type right now, still learning how this is working as a whole for now. If you have any lead I probably can propose a patch I guess it's somewhere around https://github.com/oracle/truffleruby/blob/master/lib/truffle/truffle/ffi_backend/type.rb#L257 |
With truffleruby-dev I get (xz is https://github.com/win93/ruby-xz):
|
Also if for some reason the
We should change fiddle gem upstream so it does nothing on TruffleRuby, and add TruffleRuby in CI if possible, ref #2644. |
Just for information (I don't understand yet what all of this imply), with the standalone I got
|
I have a fix in #3129, it's quite trivial, we just didn't handle those types yet in the |
I don't remember everything about long long but I think it's something nobody on x86_64 ever use since "long" is sufficient Edit: gnu libc says long long is the way to define 64 bit numbers |
Right, it's because Fiddle parses truffleruby/lib/mri/fiddle/cparser.rb Line 163 in 38b5987
|
I should not have closed this quickly, the original problem was on uint32_t not 64. I'll keep investigating a bit on that. |
Note 22.3.1 is a bit old by now, please always use the latest release (23.0.0 currently). |
Hello,
I'm trying to make xz work but there is a problem I'm trying to debug.
Any idea already about how to fix it?
regards!
Edit: saw the fiddle incompatibility, I suppose it will be hard to replace or patch
The text was updated successfully, but these errors were encountered: