-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Open
Labels
bugcomponent-cryptoCrypto primitives and low-level interfacesCrypto primitives and low-level interfaces
Description
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:
[build] In file included from E:/GitHub/nf-interpreter/build/_deps/mbedtls-src/library/bignum_core.c:8:
[build] E:/GitHub/nf-interpreter/build/_deps/mbedtls-src/library/bignum_core.c: In function 'mbedtls_mpi_core_mla':
[build] E:/GitHub/nf-interpreter/build/_deps/mbedtls-src/library/common.h:321:14: error: 'asm' operand has impossible constraints or there are not enough registers
[build] 321 | #define asm __asm__
[build] | ^~~~~~~
[build] E:/GitHub/nf-interpreter/build/_deps/mbedtls-src/library/bn_mul.h:785:9: note: in expansion of macro 'asm'
[build] 785 | asm volatile (
[build] | ^~~
[build] E:/GitHub/nf-interpreter/build/_deps/mbedtls-src/library/bn_mul.h:1082:25: note: in expansion of macro 'MULADDC_X2_INIT'
[build] 1082 | #define MULADDC_X4_INIT MULADDC_X2_INIT
[build] | ^~~~~~~~~~~~~~~
[build] E:/GitHub/nf-interpreter/build/_deps/mbedtls-src/library/bn_mul.h:1088:25: note: in expansion of macro 'MULADDC_X4_INIT'
[build] 1088 | #define MULADDC_X8_INIT MULADDC_X4_INIT
[build] | ^~~~~~~~~~~~~~~
[build] E:/GitHub/nf-interpreter/build/_deps/mbedtls-src/library/bignum_core.c:479:9: note: in expansion of macro 'MULADDC_X8_INIT'
[build] 479 | MULADDC_X8_INIT
[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.
Paulchen-Panther
Metadata
Metadata
Assignees
Labels
bugcomponent-cryptoCrypto primitives and low-level interfacesCrypto primitives and low-level interfaces