Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 26 Oct 2011 10:32:07 -0400
From: Nigel Sollars <nsollars@...il.com>
To: john-users@...ts.openwall.com
Subject: Re: Linux MIPS

Hi,

On Wed, Oct 26, 2011 at 3:39 AM, Solar Designer <solar@...nwall.com> wrote:

> On Sun, Oct 23, 2011 at 09:50:07AM -0400, Nigel Sollars wrote:
> > Here it is,
> >
> > /*
> >  * Architecture specific parameters. This is a generated file, do not
> edit.
> ...
>
> I see nothing wrong here, which is not surprising as you say that you
> were able to successfully build non-jumbo.  Thus, the issue with jumbo
> is for JimF to investigate (md5_gen stuff).
>
> > #define ARCH_BITS                       32
>
> You could try adding -m64 to gcc flags.  I think your MIPS CPUs are
> already 64-bit capable,


You are indeed correct they are big endian and it is mips ( 64bit linux ) vs
mipsel ( 32bit ).

I added -mtune=mips64 and -mips64 to the CFLAGS,  and also just -mips64, it
breaks here

mpicc -DHAVE_MPI -DJOHN_MPI_BARRIER -DJOHN_MPI_ABORT john-mpi.o DES_fmt.o
DES_std.o DES_bsg.o DES_bs_b.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o
bench-t.o best.o common.o config_g.o formats.o math.o memory.o miscnl.o
params.o path.o signals.o tty.o -s -L/usr/local/lib -L/usr/local/ssl/lib
-lcrypto -lssl -lm -lz  -o bench
make[1]: Leaving directory `/usr/src/john-1.7.8/src'
Benchmarking: Traditional DES [24/32 4K]... Illegal instruction
make: *** [generic.h] Error 1


here is the out put from uname ( not given previously )

root@...y:/usr/src/john-1.7.8/src# uname -a
Linux indy 2.6.32-5-r4k-ip22 #1 Mon Oct 3 13:56:54 UTC 2011 mips64 GNU/Linux


Nige




> and I hope that your Linux install is as well.
> If this works (after you add -m64 to CFLAGS), then "make generic" should
> autodetect and make use of the 64-bitness for some speedup.
>
> > pasted in full since its not so big,
>
> Thank you for this!
>
> Alexander
>



-- 
“Science is a differential equation. Religion is a boundary condition.”

Alan Turing

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.