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

Pass /RELEASE to MSVC linker #2383

Merged
merged 1 commit into from
Jul 5, 2019
Merged

Conversation

mcfi
Copy link
Contributor

@mcfi mcfi commented Jul 4, 2019

Without /RELEASE passed to MSVC linker, the checksum field in exe/dll is not calculated. When you load the exe/dll in windbg (e.g., windbg -z libz3.dll), a warning "Unable to verify checksum", see below, will show. With /RELEASE passed to linker, the warning will be gone.

Capture

Without /RELEASE passed to MSVC linker, the checksum field in exe/dll is not calculated. When you load the exe/dll in windbg (e.g., windbg -z libz3.dll), a warning "Unable to verify checksum" will show. With /RELEASE passed to linker, the warning will be gone.
@NikolajBjorner
Copy link
Contributor

I thought this was already addressed in 8e2ad4e

@mcfi
Copy link
Contributor Author

mcfi commented Jul 5, 2019 via email

@NikolajBjorner NikolajBjorner merged commit 164039a into Z3Prover:master Jul 5, 2019
@NikolajBjorner
Copy link
Contributor

maybe, I don't know. I take this pull request and revert my change as logical place seems to be in CMakeLists.txt contrary to what I previously thought.

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