Unable to compile with 32 bits using Mingw on mbedTLS v 3.5.0 #8334
Labels
bug
component-crypto
Crypto primitives and low-level interfaces
size-s
Estimated task size: small (~2d)
Summary
Since version 3.5.0 we are unable to compile mbedTLS version 3.5.0.
Works pretty well on previous 3.* versions (and 2.28.5). It stops with error message:
Seems to be linked to commit d6e312d applied on
Where line
defined(__GNUC__) && defined(MBEDTLS_HAVE_X86_64)
changed to :defined(__GNUC__) && defined(MBEDTLS_ARCH_IS_X64)
System information
Mbed TLS version (number or commit id): 3.5.0
Operating system and version: Windows 7 x64 SP1, MingW32
Configuration (if not default, please attach
mbedtls_config.h
): DefaultCompiler and options (if you used a pre-built binary, please indicate how you obtained it):
cmake . -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTING=OFF -DCMAKE_C_FLAGS=-m32 -DCMAKE_CXX_FLAGS=-m32
cmake --build .
Additional environment information:
Bin path for Mingw:
C:\Program Files (x86)\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin
Expected behavior
Compile version should pass
Actual behavior
Compile version fails
Steps to reproduce
Compile mbedTLS using 32 bits capabilities
Additional information
The text was updated successfully, but these errors were encountered: