Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <b1de30a4960e0d51cbfd4f5864aa9c13@smtp.hushmail.com>
Date: Fri, 23 Oct 2015 22:54:00 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: "Illegal instruction" error on

On 2015-10-23 22:00, Solar Designer wrote:
> On Fri, Oct 23, 2015 at 09:49:48PM +0200, magnum wrote:
>> Just a guess: Your CPU doesn't have AVX support and whoever made that
>> Kali package should have produced an SSE2 binary, or provided fallback
>> binaries.
>
> I doubt it's AVX in particular, because the core JtR tree checks for AVX
> at runtime and fails gracefully if it's built for AVX but the system
> (the CPU and/or the kernel) lacks AVX support.  Ditto for XOP (and even
> for SSE2 in 32-bit builds).  Or have we broken that in jumbo, maybe
> along with autoconf'ing it?  This is worth checking.

Homebrew had the same problem (fixed now) and that led to "Illegal 
intruction" segfault. So I'm pretty sure it's broken in Jumbo but I 
don't know why: I just confirmed we do not supply any -mavx or anything 
like that for john.o.
Maybe something from some other object file is called too early. I'll 
dig into that right now (but we need at least an AVX2 check too - I'm 
not sure how to add one).

> What jumbo certainly doesn't get "right" is checking for in-between
> flavors (SSSE3, SSE4.1) and for AVX2 and AVX-512.  So maybe it's an
> SSSE3 or SSE4.1 or AVX2 build failing on a CPU lacking these.

It's indeed an AVX build, according to the posted version string.

magnum

Powered by blists - more mailing lists

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