-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Clang 12 bignum issue also affects aarch64 #4962
Labels
Comments
Thanks for letting us know! We were unaware of this specific bug. |
davidhorstmann-arm
added a commit
to davidhorstmann-arm/mbedtls
that referenced
this issue
Sep 22, 2021
Add memory constraints to the aarch64 inline assembly in MULADDC_STOP. This fixes an issue where Clang 12 and 13 were generating non-functional code on aarch64 platforms. See Mbed-TLS#4962, Mbed-TLS#4943 for further details. Signed-off-by: David Horstmann <david.horstmann@arm.com>
davidhorstmann-arm
added a commit
to davidhorstmann-arm/mbedtls
that referenced
this issue
Sep 22, 2021
Add memory constraints to the aarch64 inline assembly in MULADDC_STOP. This fixes an issue where Clang 12 and 13 were generating non-functional code on aarch64 platforms. See Mbed-TLS#4962, Mbed-TLS#4943 for further details. Signed-off-by: David Horstmann <david.horstmann@arm.com>
davidhorstmann-arm
added a commit
to davidhorstmann-arm/mbedtls
that referenced
this issue
Sep 24, 2021
Add memory constraints to the aarch64 inline assembly in MULADDC_STOP. This fixes an issue where Clang 12 and 13 were generating non-functional code on aarch64 platforms. See Mbed-TLS#4962, Mbed-TLS#4943 for further details. Signed-off-by: David Horstmann <david.horstmann@arm.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue #4943 exists as a reminder but it doesn't look like you're aware of concrete bugs, so I'm opening this issue.
If you are aware of this bug already feel free to close this one.
This is functionally identical to #4917.
Just like the other issue it goes away with gcc or
-O1
or by downgrading to mbedTLS 2.26.0.Steps to reproduce
Expected behavior
Running on Linux 5.14.1-0-ARCH aarch64
compiler: gcc (GCC) 10.2.0
commit: 304689e
Actual behavior
Running on Linux 5.14.1-0-ARCH aarch64
compiler: clang version 12.0.1
commit: 304689e
The text was updated successfully, but these errors were encountered: