Hi !
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 cryptlib.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c cpu.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c integer.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c 3way.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c adler32.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c algebra.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c algparam.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c arc4.cpp
g++ -DNDEBUG -g2 -O3 -D_WIN32_WINNT=0x0501 -pipe -c aria.cpp
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);
^
In file included from c:\mingw\lib\gcc\mingw32\8.2.0\include\pmmintrin.h:31,
from c:\mingw\lib\gcc\mingw32\8.2.0\include\tmmintrin.h:31,
from aria_simd.cpp:14:
c:\mingw\lib\gcc\mingw32\8.2.0\include\emmintrin.h:615:1: error: inlining
failed in call to always_inline '__m128i _mm_set_epi8(char, char, char,
char, char, char, char, char, char, char, char, char, char, char, char,
char)': target specific option mismatch
_mm_set_epi8 (char __q15, char __q14, char __q13, char __q12,
^~~~~~~~~~~~
aria_simd.cpp:156:35: note: called from here
const __m128i MASK = _mm_set_epi8(12,13,14,15, 8,9,10,11, 4,5,6,7,
0,1,2,3);
~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from c:\mingw\lib\gcc\mingw32\8.2.0\include\pmmintrin.h:31,
from c:\mingw\lib\gcc\mingw32\8.2.0\include\tmmintrin.h:31,
from aria_simd.cpp:14:
c:\mingw\lib\gcc\mingw32\8.2.0\include\emmintrin.h:718:1: error: inlining
failed in call to always_inline 'void _mm_storeu_si128(__m128i_u*,
__m128i)': target specific option mismatch
_mm_storeu_si128 (__m128i_u *__P, __m128i __B)
^~~~~~~~~~~~~~~~
aria_simd.cpp:178:19: note: called from here
_mm_storeu_si128(M128_CAST(outBlock),
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
_mm_xor_si128(
~~~~~~~~~~~~~~
_mm_loadu_si128(CONST_M128_CAST(xorBlock)),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_mm_xor_si128(
~~~~~~~~~~~~~~
_mm_loadu_si128(CONST_M128_CAST(outBlock)),
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_mm_shuffle_epi8(_mm_load_si128(CONST_M128_CAST(rk)), MASK)))
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
);
...
___________________________________________________________________________________
Any suggestion is appreciated.
Good day.
--
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/5060ab9e-55f2-4924-b46e-542359794fea%40googlegroups.com.