abdes / cryptopp-cmake

A modern CMake build project for Crypto++ (https://github.com/weidai11/cryptopp).
BSD 3-Clause "New" or "Revised" License
118 stars 43 forks source link

CRYPTOPP_DISABLE_ASM build broken on Windows and MSys with 8.9.0 #101

Open abdes opened 1 year ago

abdes commented 1 year ago

New implementation of checks for intel intrinsics with XGETBV64 and CPUID64 broke the builds on windows and msys.

https://github.com/abdes/cryptopp-cmake/actions/runs/6377366481/job/17305897732#step:11:850

abdes commented 1 year ago

Issue is linked to the use of CRYPTOPP_DISABLE_ASM when the compiler is MSVC or clang. It seems that GNU compilers have their internal implementation of the undefined symbols with the other two compilers.

abdes commented 1 year ago

see https://github.com/weidai11/cryptopp/issues/1240

abdes commented 1 year ago

Fixed in #103

This issue will be closed one crypto is released with an updated version (@noloader).