-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support manylinux wheel for WSL (Windows Subsystem for Linux) #3993
Comments
Why the fuck does anything ever get built with executable stack? Are we trying to make life easy for attackers? What upstream do I need to complain to to fix this, gcc? |
(Also yes, in the meantime we should fix this in our build process; and IMO we should issue a release with it ASAP) |
Filed openssl/openssl#4575 with OpenSSL, which appears to be the cause of the issue. In teh meantime we should pass the correct incanation like the linux distros do when we build OpenSSL |
2.1.2 is now released and resolves this. |
Done in our 2.1.2 release. |
Wow, that was quick - thanks so much! 😃 |
The cryptography manylinux wheel currently fail under the Windows Subsystem for Linux:
The reason for this seems to be that
_openssl.abi3.so
has the executable stack flag bit set, which WSL does not support.There are some good news: If I just clear that bit (
execstac -c _openssl.abi3.so
), I can successfully import OpenSSL. Skipping the manylinux wheel on WSL (pip3 install cryptography --no-binary cryptography
) also works fine, as the resulting .so file does not have the execstack bit set.Looking at what said bit enables, it looks like a good idea to have execstack disabled in any case. The nice side effect would be to fix WSL installations along the way. 😃
See also: microsoft/WSL#286, microsoft/WSL#916
The text was updated successfully, but these errors were encountered: