-
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
Error building with recent ARM GCC 14.2.Rel1 #9875
Comments
Thanks for the report. It seems the compilation error occurs when compiling bignum_core.c. Could you provide the compilation command for that file with all the compilation flags? |
No problem! |
Thanks, I can see the compilation command for bignum_core.c and the compilation flags. We should be able to reproduce. |
I can reproduce locally with:
OTOH, the following succeed:
So, the problem is indeed new to ARM GCC 14, and only happens with |
Oh well, the following also succeeds:
or any non-zero optimisation level really (tried 1, 2, 3, s, g). Would it make sense to just disable asm at Oh it looks very similar to the place I just linked to, as the following also works:
Which might explain the influence of |
Summary
I was in the process of updating the GCC version in the build tools of .NET nanoFramework to the recent v14.2.Rel1, when I got this on the build:
System information
Mbed TLS version (number or commit id): mbedtls-3.6.0
Operating system and version:
Configuration (if not default, please attach
mbedtls_config.h
):Compiler and options (if you used a pre-built binary, please indicate how you obtained it):
Additional environment information:
Expected behavior
Actual behavior
Steps to reproduce
Additional information
This happened only by changing the GCC to the new version. Before that we were using v13.3.rel1. No other changes in code or build configuration.
The text was updated successfully, but these errors were encountered: