Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <86d15ce5d253ccaa2168c43441e6cace@smtp.hushmail.com>
Date: Sun, 2 Sep 2012 16:48:55 +0200
From: magnum <john.magnum@...hmail.com>
To: "john-dev@...ts.openwall.com" <john-dev@...ts.openwall.com>
Subject: Makefile -msse2 (was: john-users: Questions about compiling for Optimal CPU Performance)

On 1 Sep, 2012, at 1:07 , Solar Designer <solar@...nwall.com> wrote:

> Normally, build on 32-bit x86 with -fopenmp, but
> without -msse2, "should" fail - I've just tried with john-1.7.9-jumbo-6,
> building it as linux-x86-sse2, and it failed with:
> 
> x86-sse.o: In function `DES_bs_crypt':
> (.text+0x40): multiple definition of `DES_bs_crypt'
> DES_bs_b.o:DES_bs_b.c:(.text+0x7e2c): first defined here
> 
> and so on, because in -jumbo we're adding -msse2 to CFLAGS, but not to
> ASFLAGS.  (magnum - BTW, I think that's a minor bug.

I'll commit a fix for this.

> Also, the addition
> of -msse2 even for john.c is a bug.  That's a john-dev topic, though.)

I'm not sure what you mean there. Why does this happen?

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.