[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 9 Jan 2012 01:56:29 +0700
From: Alexey Dokuchaev <danfe@....ru>
To: Solar Designer <solar@...nwall.com>
Cc: john-users@...ts.openwall.com
Subject: Re: 1.7.9-jumbo5 fails to build with OMPFLAGS = -fopenmp -msse2
On Sun, Jan 08, 2012 at 09:25:16PM +0400, Solar Designer wrote:
> On Sun, Jan 08, 2012 at 05:21:50PM +0700, Alexey Dokuchaev wrote:
> > Sorry for belated reply: I am not subscribed to the list, and for some
> > strange reason your reply went to the list only...
>
> I normally reply to the list only, unless I am specifically aware that
> the person is not on the list.
Ah, makes sense; sorry I did not ask to include me in CC explicitly.
> Did you get the FreeBSD port fixed? The best fix would be to get it to
> stop patching the Makefile - I doubt that it actually needs to do that.
Yes, I've just committed update to 1.7.9-jumbo-5 (I currently maintain the
port). Also I indeed "patch" src/Makefile with sed(1) to uncomment relevant
OMPFLAGS; I will see if I can pass it via MAKE_ARGS instead. I know that
you're generally against patching makefiles and param.h and fully support
you here. Maybe you can take a look at what it currently looks like and
suggest what can/should be improved.
> > Yes, my ~2006 laptop is ia32 only.
>
> Multi-core, yet not 64-bit capable? Sounds very unusual.
No, of course not. It's a Dothan chip; I did not imply that building
OMP-enabled JtR would make sense on it, but I needed to test the build on
ia32 nonetheless.
> > Do I read you correctly that for both
> > x86/x64 builds I should prefer `i'-suffixed targets (x86-sse2i/x86-64i)?
>
> Yes, on a 32-bit system you may try the -sse2i targets, which are
> supposed to be faster than plain -sse2 for some hash types. I don't
> know if anyone has actually tested freebsd-x86-sse2i in 1.7.9-jumbo-5,
> though; you might be the first to test it. ;-) So please let us know if
> it worked for you or not.
OK, I will try to carry out some tests when my time permits and post them
here.
Thanks for the feedback, much appreciated!
./danfe
Powered by blists - more mailing lists
Powered by Openwall GNU/*/Linux -
Powered by OpenVZ