Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWindows ARM64 build crashes inside openssl #23811
Comments
jdm
commented
Jul 19, 2019
|
I see two paths forward:
I'm leaning towards the second option. |
|
Current plan:
This requires making a change to the openssl build system to generate DLLs that have the expected filename that openssl-sys requires, so I'll probably make a fork with the change so it's easy to upgrade openssl and generate new binaries in the future. |
I'm not sure about how to make openssl-sys to link against it, but I will note that vcpkg will always create a debug build by default in addition to the release build; so extracting the sources should hopefully not be needed. Additionally, we would greatly appreciate an issue describing the root cause because we definitely want this fixed in upstream vcpkg :) |
|
Using a more recent openssl made the crash disappear. I will try to find time to investigate the crash in the vcpkg version at some point, but it's no longer a high priority for me given the other parts of this project competing for my attention. |
Use openssl dependency that works on arm64. This uses binaries that I generated with https://github.com/servo/openssl-src-rs/tree/servo and https://github.com/servo/openssl/tree/servo that don't crash on arm64. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23811 - [x] These changes do not require tests can't run automated tests for arm64 windows. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23835) <!-- Reviewable:end -->