On Sun, Jan 26, 2020 at 3:44 PM Jean <[email protected]> wrote: > > I try to compile this library: Crypto++® Library 8.2 > > I'm new with MingW. Downloaded the latest from (Date: 2017-09-06, Size: 91.00 > KB) > https://osdn.net/projects/mingw/downloads/68260/mingw-get-setup.exe/ > > The same kind of error appears many time when compiling: aria_simd.cpp > > emmintrin.h:615:1: error: inlining failed in call to always_inline '__m128i > _mm_set_epi8 > emmintrin.h:718:1: error: inlining failed in call to always_inline 'void > _mm_storeu_si128 > emmintrin.h:1290:1: error: inlining failed in call to always_inline '__m128i > _mm_xor_si128 > emmintrin.h:700:1: error: inlining failed in call to always_inline '__m128i > _mm_loadu_si128 > tmmintrin.h:136:1: error: inlining failed in call to always_inline '__m128i > _mm_shuffle_epi8 > emmintrin.h:694:1: error: inlining failed in call to always_inline '__m128i > _mm_load_si128 > > ___________________________________________________________________________________ > > $ make -B > ... > g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c aria_simd.cpp > aria_simd.cpp: In function 'void > CryptoPP::ARIA_ProcessAndXorBlock_SSSE3(const byte*, CryptoPP::byte*, const > byte*, CryptoPP::word32*)': > aria_simd.cpp:156:76: warning: SSE vector return without SSE enabled changes > the ABI [-Wpsabi] > const __m128i MASK = _mm_set_epi8(12,13,14,15, 8,9,10,11, 4,5,6,7, 0,1,2,3);
The aria_simd.cpp recipe should use -mssse3. Other *_simd.cpp files have similar requirements; see https://www.cryptopp.com/wiki/BASE+SIMD#Arch_Options. What operating system are you using? Jeff -- You received this message because you are subscribed to "Crypto++ Users". More information about Crypto++ and this group is available at http://www.cryptopp.com and http://groups.google.com/forum/#!forum/cryptopp-users. --- You received this message because you are subscribed to the Google Groups "Crypto++ Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/CAH8yC8m1FBz9%3DNWdnW3b-dBbNGWwLFG0AjmRLSB_%3DKJdk8rm9g%40mail.gmail.com.
