From 0a22957481b7a9bd963bec94bb81cc6df6f0b413 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Fri, 23 Sep 2016 20:56:01 -0400 Subject: [PATCH] Disable X86 ASM for VMAC (Issue 304) Address Sanitizer reports problems from GCC 4.9 to 5.3 compilers. Valgrind 2.13-SVN does not report a problem. It needs to be investiagted more to determine what's going on --- vmac.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vmac.h b/vmac.h index 3c6bb858..b43af5bf 100644 --- a/vmac.h +++ b/vmac.h @@ -12,7 +12,7 @@ // Clang 3.3 integrated assembler crash on Linux // http://github.com/weidai11/cryptopp/issues/264 -#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || CRYPTOPP_BOOL_X32 +#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30400)) || CRYPTOPP_BOOL_X32 || CRYPTOPP_BOOL_X86 # define CRYPTOPP_DISABLE_VMAC_ASM #endif