Skip to content

Z3: update from v4.15.4 to v4.16.0#609

Open
kfriedberger wants to merge 4 commits intomasterfrom
608-update-z3-to-newly-released-version-4160
Open

Z3: update from v4.15.4 to v4.16.0#609
kfriedberger wants to merge 4 commits intomasterfrom
608-update-z3-to-newly-released-version-4160

Conversation

@kfriedberger
Copy link
Member

@kfriedberger kfriedberger commented Mar 2, 2026

This PR updates Z3 stepwise:

I already added the library versions into the Ivy repository.

@kfriedberger kfriedberger linked an issue Mar 2, 2026 that may be closed by this pull request
@kfriedberger kfriedberger added the dependencies Pull requests that update a dependency file label Mar 2, 2026
@kfriedberger
Copy link
Member Author

kfriedberger commented Mar 2, 2026

Z3 has issues with fpaGetNumeralSign, which was changed incompatble in third parameter from IntPtr to BoolPtr. Investigation required. ❌
--> Regression in Z3: Z3Prover/z3#8831 😃

Additionally, MacOS for x64 (not arm64!) has issues with finding Z3 in v4.15.5, v4.15.6, v4.15.7. Strange... ❓
--> Invalid release packages for macOS on x64 (Z3 packaged the arm64-library in the x64-archive), which was fixed in Z3Prover/z3@c4acd2a.

Further updates are delayed until those issues are solved.

This release of Z3 seems to fix the bug in the Z3 bindings,
where BoolPtr and IntPtr are mismatched and reported an error as follows:

    java.lang.NoSuchFieldError: com.microsoft.z3.Native$BoolPtr.value I
    at com.microsoft.z3.Native.INTERNALfpaGetNumeralSign(Native Method)
    at com.microsoft.z3.Native.fpaGetNumeralSign(Native.java:7540)
    at org.sosy_lab.java_smt.solvers.z3.Z3FormulaCreator.getSign(Z3FormulaCreator.java:1043)
    ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file solver Z3

Development

Successfully merging this pull request may close these issues.

Update Z3 to newly released version 4.16.0

1 participant