Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 27 Mar 2012 09:49:24 -0700
From: Alain Espinosa <alainesp@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Compile john in Windows 64 bits

On 3/16/12, Solar Designer <solar@...nwall.com> wrote:
> Unaligned accesses were a common problem on Windows - with Cygwin as
> well - although it's been a while since I last heard of them (maybe
> something was fixed in Cygwin lately).

Part of the problem was that "long" is 4 bytes long and x86-64.h need
8 bytes long. I change it to "long long" and solve the alignment issue
but appear others. In some build "john --test" crashs and in other
"get_hash[0]" failed for all DES based formats but other formats
works.

> We have ALIGN_FIX in some .S files for that, which may have to be
> defined on some Windows builds.  Apparently, a similar thing occurs with
> Mingw-x64.  x86-64.S lacks the ALIGN_FIX thing, so this needs to be
> added and enabled (set to 8) when needed (that is, when a given build
> crashes on self-test).

This do not fix the issue. I will continue to try to fix it.

saludos,
alain

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.