From 4282f94712ee7b86c36fc656f377d2ce78532f0c Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sat, 18 Aug 2018 04:44:53 -0400 Subject: Disable X32 inline assembly (GH #686, PR #704) Also use CRYPTOPP_DISABLE_XXX_ASM consistently. The pattern is needed for Clang which still can't compile Intel assembly language. Also see http://llvm.org/bugs/show_bug.cgi?id=24232. --- sha.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sha.cpp') diff --git a/sha.cpp b/sha.cpp index 846afd91..b3ec31a7 100644 --- a/sha.cpp +++ b/sha.cpp @@ -42,13 +42,6 @@ #include "misc.h" #include "cpu.h" -// Clang 3.3 integrated assembler crash on Linux -// http://github.com/weidai11/cryptopp/issues/264 -// Clang 3.4.1 (x86) crash on FreeBSD 10.3. Clang 3.4.1 (x64) works fine. -#if (defined(CRYPTOPP_LLVM_CLANG_VERSION) && (CRYPTOPP_LLVM_CLANG_VERSION < 30500)) || CRYPTOPP_BOOL_X32 -# define CRYPTOPP_DISABLE_SHA_ASM -#endif - #if defined(CRYPTOPP_DISABLE_SHA_ASM) # undef CRYPTOPP_X86_ASM_AVAILABLE # undef CRYPTOPP_X32_ASM_AVAILABLE -- cgit v1.2.1