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

i#5767: Disable zlib on windows package builds #5769

Merged
merged 2 commits into from
Dec 1, 2022

Conversation

derekbruening
Copy link
Contributor

Works around issues with strawberry perl zlib on GA CI package builders by disabling zlib by setting AUTOMATED_TESTING for package builds, just like we're doing for testing on GA CI.

Issue: #5767

Works around issues with strawberry perl zlib on GA CI package
builders by disabling zlib by setting AUTOMATED_TESTING for package
builds, just like we're doing for testing on GA CI.

Issue: #5767
@derekbruening
Copy link
Contributor Author

Hmm, I did a package build on this branch but it still enabled zlib: https://github.com/DynamoRIO/dynamorio/actions/runs/3586987740/jobs/6036819582

@derekbruening
Copy link
Contributor Author

@derekbruening derekbruening requested a review from bete0 December 1, 2022 15:36
@derekbruening
Copy link
Contributor Author

@derekbruening derekbruening requested review from abhinav92003 and removed request for bete0 December 1, 2022 18:56
@derekbruening derekbruening merged commit 8f6f478 into master Dec 1, 2022
@derekbruening derekbruening deleted the i5767-package-zlib branch December 1, 2022 21:31
derekbruening added a commit that referenced this pull request Oct 8, 2024
Replaces the AUTOMATED_TESTING set in package builds by PR #5769 with
a new DISABLE_ZLIB CMake option to accomplish the goal of disabling
the zlib found on these VMs while avoiding turning off msgbox_mask.
The disabling by default of msgbox_mask in packages has caused many
users to fail to obtain error information and has led to confusion
with silent errors.

Fixes #7025
derekbruening added a commit that referenced this pull request Oct 9, 2024
Replaces the AUTOMATED_TESTING set in package builds by PR #5769 with a
new DISABLE_ZLIB CMake option to accomplish the goal of disabling the
zlib found on these VMs while avoiding turning off msgbox_mask. The
disabling by default of msgbox_mask in packages has caused many users to
fail to obtain error information and has led to confusion with silent
errors.

Tested: built a cronbuild based on this branch and downloaded it to the
Windows VM used for #7024.
I ran this:
```
C:\Users\bruening\DynamoRIO-Windows-10.93.20004>bin64\drrun -- msg
<Application C:\Windows\system32\msg.exe (3892).  Out of memory.  Program aborted.  Source I, type 0x0000000000000001, code 0x00000000c000001c.>
```

And confirmed a messagebox popped up: thus showing that `-msgbox_mask`
is *not* set to 0 anymore.

Issue: #7025
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