-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Current master fails test 30/74 in SM2 on Apple Silicon #23368
Comments
What is the CPU architecture of the machine? Could you please dump the build configuration with |
@t8m forgot to mention, sorry. Apple Silicon M2 Max chip.
|
I can confirm this.
I repeatedly ran the test like so: #!/bin/bash
x=0
set -e
while [ true ]; do
let x=x+1
echo $x
make TESTS='test_evp_extra' test &> sm2-log.txt
done It usually fails quickly (after five or less iterations), but occasionally takes longer (e.g. 27 iterations). Unfortunately, the error is not the same each time. |
Here is a log showing different line numbers for the test failure:
|
I assume if you build with no-asm the issue disappears? |
Also do I assume correctly that this issue is not present on the 3.2 branch? |
Haven't tried.
I install OpenSSL-3.2 binaries-only (system-wide via Macports), so I don't run any tests on it. |
No, that is not correct. I am able to reproduce it against
|
@docularxu Could this be related to something in #20754? |
Yes, the failure appears to go away if you build with I have done over 60 iterations without hitting it. With |
@jamuir Could you please try to build instead of |
@xu-yi-zhou Any idea if #20754 could be causing this? |
It still fails:
|
Thanks for the report, I'm trying to reproduce this issue. |
Signed-off-by: Xu Yizhou <xuyizhou1@huawei.com>
This patch is to fix openssl#23368. Signed-off-by: Xu Yizhou <xuyizhou1@huawei.com>
This patch is to fix openssl#23368. Signed-off-by: Xu Yizhou <xuyizhou1@huawei.com> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from openssl#23472)
MacOS Sonoma 14.2.1, Xcode-15.2. Current master.
The text was updated successfully, but these errors were encountered: