Skip to content

Conversation

@msprotz
Copy link
Contributor

@msprotz msprotz commented Jan 7, 2022

This PR essentially aims to make the everest script suitable for building (and verifying) on a Linux/arm64 environment.

  • Since Z3 does not distribute aarch64 binaries, we offer to clone and build Z3 from source.
  • Unfortunately, Z3 4.8.5 segfaults. We fallback to a different revision of Z3, should that happen. (But it's not great for proofs... since proofs are only known to work with 4.8.5.)
  • This does not take into account Apple M1 chips, for which we are happy to rely on emulation of the x64 OSX binary build of Z3.

FYI, the segfault is as follows, seen from gdb:

Program received signal SIGSEGV, Segmentation fault.
smt::mam_impl::insert (this=this@entry=0xaaaaf0f93968, t=0x5, p=p@entry=0xaaaaf0fadd40, qa=qa@entry=0xaaaaf0fda1c8, mp=mp@entry=0xaaaaf0fe45c8) at /home/everest/everest/z3-source/src/smt/mam.cpp:3265
3265	                if (t->m_label == p->m_label) {

@msprotz msprotz requested a review from tahina-pro January 7, 2022 00:08
Z3 4.8.14 seems to have a different output because F* complains
(although rarely!):

```
Unexpected error; please file a bug report, ideally with a minimized version of the source program that triggered the error.
(Failure "Parse error: </result> not found"
```

I ran a `git bisect` to find the first commit after z3-4.8.5 that does
*not* segfault on the query that's part of this PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants