-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Fix compiling AESNI in Mbed-TLS with clang on Windows #8374
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, I've tested the build succeeds with default configuration using clang + Visual Studio.
Please fix the code style issue reported by CI. |
f169c34
to
77f9f04
Compare
@lpy4105 Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Do we need a ChangeLog entry for this and the backport? (Testing definitely excluded, since we don't have |
Agreed. @sergio-nsk Could you please add a ChangLog entry for this and the backport? |
78d1076
77f9f04
to
78d1076
Compare
Is the update good enough? I seemed to add the first changelog entry after the release, and don't know how to start a new chapter. |
Don't update
|
…indows It can successfully compile w/ the clang options -maes -mpclmul. Signed-off-by: Sergey Markelov <sergey@solidstatenetworks.com>
78d1076
to
3898f10
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Merge queue failure seems to be spurious, need to resubmit. |
Description
Fixes #8372. Does not conflict with #8339.
It can successfully compile w/ the clang options
-maes -mpclmul
.The macro
__GNUC__
is not defined by Clang on Windows, thus use the macro__clang__
for-maes -mpclmul
.PR checklist
Please tick as appropriate and edit the reasons (e.g.: "backport: not needed because this is a new feature")