-
Notifications
You must be signed in to change notification settings - Fork 6
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
Make MA work on Pharo 9/10 and on GT #24
Comments
As of today and commit 591a83c , MachineArithmetic kinda works on Pharo 9:
All tests but one ( I believe this is because they disabled Pharo's home-grown implementation of threaded FFI in Pharo 9. |
@guillep: in #47 you mentioned you made MA working in Pharo 11? How? When I tried to build an image in Pharo 10 in a fresh clone using following incantation:
the VM just crashed during loading of packages:
Full log attached/ |
Sorry for coming late, this week will be a mess for me. I can confirm that I did: Metacello new
baseline: 'MachineArithmetic';
repository: 'github://shingarov/MachineArithmetic:pure-z3';
load: 'Z3only' Tested in Pharo 11.0.0
Maybe it's the fact that I used |
Okay, so I dug just a little deeper and I believe the core of the problem is that primitive numbers have changed between Pharo 8.0 and Pharo 11.0:
So. currying support in PreSmalltalks-Pharo breaks Pharo 11 to the point VM crashes. Perhaps some missing checks like in OSVM. If I remove these methods, MA loads without crashing. This is quite unfortunate since to fix this (if we want) we'd need to separate currying in yet another set of packages and load them conditionally depending on pharo version... |
I have opened draft PR #52 for fixing MA on P9 and later. I managed to fix primitives but it turned out that on P10 (at least), |
FYI: @melkyades |
The text was updated successfully, but these errors were encountered: