On Thursday, July 16, 2015 at 1:20:15 AM UTC-4, Jeffrey Walton wrote:
>
>
> Here's an interim patch until you guys figure out how to handle it:
>>
>> $ git diff config.h
>> diff --git a/config.h b/config.h
>> index d3bd692..e359729 100644
>> --- a/config.h
>> +++ b/config.h
>> @@ -33,6 +33,11 @@
>>  // define this to retain (as much as possible) old deprecated function 
>> and clas
>>  // #define CRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY
>>  
>> +// Cygwin requires aligned data acess. It vectorizes word32's on i386, 
>> too.
>> +#if defined(__CYGWIN__) || defined(__CYGWIN32__)
>> +# define CRYPTOPP_NO_UNALIGNED_DATA_ACCESS
>> +#endif
>> +
>>  #define GZIP_OS_CODE 0
>>
>
> The patch was applied at:
>
>  * 
> https://github.com/weidai11/cryptopp/commit/06ea2d2952bd7439de53e7bf6d74da334e951162
>  * https://sourceforge.net/p/cryptopp/code/591/
>
> Eventually, we will need to address the undefined behavior that results 
> from the unaligned accesses.
>
> I'm going to modify config.h to do the same for the mobile and embedded 
> targets (Android, iOS, Windows Phone, and Embedded).
>
> I don't really consider the issue closed. Feel free to pick it up later.
>

This was cleared at https://github.com/weidai11/cryptopp/issues/682 .

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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to