Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [day] [month] [year] [list]
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

Your e-mail address:

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