On Friday, April 21, 2017 at 2:44:47 PM UTC-4, Anton Gorev wrote: > > I guess we should probably incorporate the changes. If I open a bug >> report, would you make a pull request? >> > > Sure. But I am stuck with the last error: > > DH validation suite running... > > > signal BUS (invalid address alignment) in CryptoPP::BufferedTransformation > ::GetMaxWaitObjectCount at line 399 in file "cryptlib.cpp" > 399 return t ? t->GetMaxWaitObjectCount() : 0;^M > > https://github.com/weidai11/cryptopp/blob/master/cryptlib.cpp#L399 >
Can you try to make this change in config.h around line 200 (https://github.com/weidai11/cryptopp/blob/master/config.h#L205): #if defined(_MSC_VER) || defined(__BORLANDC__) typedef unsigned __int64 word64; #define W64LIT(x) x##ui64 #elif (_LP64 || __LP64__) && !defined(SUNPRO_CC) typedef unsigned long word64; #define W64LIT(x) x##UL #else typedef unsigned long long word64; #define W64LIT(x) x##ULL #endif That change occurred back in Crypto++ 5.6.4 or 5.6.5 to bring us in line with some Unix recommendations and best practices. It tested OK under Solaris 11 on i86 hardware; but I was unable to test on Solaris 9 or 10, and on SPARC or SPARC64 cpu's. 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.