Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 28 Oct 2013 19:27:00 +0100
From: magnum <>
Subject: Re: Compile john in Windows 64 bits

On 2013-10-27 22:50, magnum wrote:
> I added ALIGN_FIX support in x86-64.S for Dhiru to try out (he has added
> a mingw64 target now and NT crashes).

For the record, ALIGN_FIX did not solve the assembler crashes at all 
(and it would be weird for mingw to have such a silly bug nowadays).

Until we figure this out, a workaround for NT is to use the NT2 format, 
which use the intrinsics instead of assembler. And here's a workaround 
for DES (just forces it to use C code).


diff --git a/src/x86-64.h b/src/x86-64.h
index 485dacb..e9cc3a3 100644
--- a/src/x86-64.h
+++ b/src/x86-64.h
@@ -153,7 +153,7 @@
 #define DES_BS_ALGORITHM_NAME		"DES 128/128 AVX-16"
-#elif defined(__ILP32__) || (defined(__SSE2__) && defined(_OPENMP))
+#elif defined(__ILP32__) || defined(__MINGW64__) || (defined(__SSE2__) && defined(_OPENMP))
 #define DES_BS_ASM			0
 #if 1
 #define DES_BS_VECTOR			2

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ