-
Notifications
You must be signed in to change notification settings - Fork 237
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
FStar does not compile on arm64, arm32 and ppc64 #2332
Comments
For the arm32 case, I'd suspect Z3 behaving differently across platforms. For the arm64/ppc64 case, I have no clue. |
Z3 4.8.5 segfaults on arm64. It returns "Killed" as its only output, but then F* cannot deal with that, raises a fatal exception. Then, F* synthesizes an incorrect backtrace and gives an unrelated error. You need to disable two try/with handlers in the OCaml output, to figure out what's happening. (At least that's what I had on arm64.) |
If it requires a newer version of Z3, could you have a look at ocaml/opam-repository#20065 If it wouldn’t be compatible with the way F* expects things to be, could you leave a comment there? (either way it would be appreciated) |
I have a different issue on ppc64le, unsure if related.
Here's the relevant snippet of failing build:
Sadly, I'm not knowledgeable enough about ocaml to know how this might be fixed. At a guess, this is a ppxlib issue, but I don't know what ppxlib is, I just wanted to try out fstar. Luckily I have x86 hardware as well. The same issue occurs whether or not I |
It's not related, i was able to reproduce on arm64. However I had to use a different set of steps to manage that: I used So with:
as you've pasted here works fine for me, but:
fails with the same error that you've shown. So this should be fixed for you if you do:
as
|
Ok, this got me a lot further. Somehow I did indeed have the newer dependencies, so --deps-only downgraded them. I then end up with z3 crashing - I haven't confirmed but I think this is largely the same error you have. Upgrading only z3 (
Of course I'm receiving a lot of warnings like this:
but building z3 myself at 4.8.5 and prepending it to the path so it is used irrespective of ocaml dependencies reproduces your error. I don't know if these experimental builds can be disabled, I'll have a grep through the source to see if I can find some flags. |
arm64 and ppc64:
arm32:
The text was updated successfully, but these errors were encountered: