On Thursday, August 18, 2016 at 6:37:07 AM UTC-4, Manish Gautam wrote: > > I was trying to compile cryptopp562 using command "make CXXFLAGS=-m32" > I gave following errors: > > *sha.cpp:294:2: error: invalid instruction mnemonic 'movsl'* > > * ASL(2) // non-SSE2* > > * ^* > > *./cpu.h:224:17: note: expanded from macro 'ASL'* > > * #define ASL(x) GNU_ASL(x)* > > * ^* > > *./cpu.h:218:26: note: expanded from macro 'GNU_ASL'* > > * #define GNU_ASL(x) "\n" #x ":"* > > * ^* > > *<scratch space>:172:2: note: expanded from here* > > *"2"* > > * ^* > > *<inline asm>:2:92: note: instantiated into assembly here* > > *2:mov esi, ecx;lea edi, > [esp+4+((1024+7-(0+7))-((1024+7-(0+7))/(8))*(8))*4];mov ecx, 8;rep > movsd;mov esi...* > > * > ^~~~~~* > > *1 error generated.* > > *make: *** [sha.o] Error 1* > > > > Can somebody help me? >
This looks like a Clang-ish error message from inline assembly. What is the platform, and what is the compiler? Also note that we improved Clang support at Crypto++ 5.6.3. It started at 5.6.3 and continued after as encountered more issues with the integrated assembler. Prior to 5.6.3, I believe -DCRYPTOPP_DISABLE_ASM was added to CXXFLAGS to avoid all the problems with the integrated assembler. You might want to consider using Crypto++ 5.6.3 or Master. Jeff -- -- You received this message because you are subscribed to the "Crypto++ Users" Google Group. To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com. More information about Crypto++ and this group is available at http://www.cryptopp.com. --- 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 cryptopp-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.