-
Notifications
You must be signed in to change notification settings - Fork 269
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
3.8.0, 3.8.1 Windows x86_64 ASM builds crashing on startup #907
Comments
vszakats
changed the title
3.8.0, 3.8.1 Windows x64 ASM builds crashing on startup
3.8.0, 3.8.1 Windows x86_64 ASM builds crashing on startup
Aug 31, 2023
Closing due to no interest. |
We'll get to this before the stable release. |
Thanks @busterb for working on this. |
vszakats
added a commit
to curl/curl-for-win
that referenced
this issue
Oct 10, 2023
Thank you @busterb, I can confirm this fixed. |
This issue returned with 3.8.3. I'm building with CET enabled with mingw-w64. It worked fine with 3.8.2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ASM-enabled LibreSSL creates bad executables. They crash before even starting, as tested with
openssl.exe
.ASM-enabled 3.7.3 builds run fine. Disabling ASM with 3.8.0, 3.8.1 fixes it.
The obvious difference between 3.7.3 and 3.8.0 ASM sources is the addition of
endbr64
instructions in 3.8.0. [ "Added endbr64 instructions to amd64 assembly." in ChangeLog. ]OpenSSL added support for this in 2020, but it's not actually present in the x86_64 ASM sources generated for the MinGW target (haven't tested others), as seen in a recent 3.0.8 build.
This is the same issue as reported earlier as part of #893.
The text was updated successfully, but these errors were encountered: