Skip to content
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

crucible_llvm_verify using z3 results in "unknown parameter 'global_declarations'" #874

Closed
dylanmc opened this issue Oct 22, 2020 · 2 comments

Comments

@dylanmc
Copy link
Contributor

dylanmc commented Oct 22, 2020

I'm going through the compositional proof of salsa, and ran into this problem:

... good stuff
*** Data.SBV: Unexpected non-success response from Z3:
***
***    Sent      : (set-option :global-declarations true)
***    Expected  : success
***    Received  : (error "line 2 column 33: unknown parameter 'global_declarations'
***                Legal parameters are:
***                  auto_config (bool) (default: true)
... more stuff

Looking in the sawscript, I see it uses z3 instead of abc as in the earlier examples. I then went back to the swap example and got the same error by replacing abc with z3 in the sawscript. Also happens whether I'm using the Linux apt-get version of z3 (4.4.1) or the latest from the Microsoft website (4.8.9).

(This is saw version 0.6 on an Ubuntu 18.04.5 64-bit VM)

@robdockins
Copy link
Contributor

Z3 version 4.4.1 is too old, but 4.8.9 should work. Maybe you need to adjust the path settings to get SAW to pull in the newer Z3?

@dylanmc
Copy link
Contributor Author

dylanmc commented Nov 3, 2020

You're right - removing the apt-get version of z3 did the trick. Thanks!

@dylanmc dylanmc closed this as completed Nov 3, 2020
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

No branches or pull requests

2 participants