|
|
Message-Id: <97F290A8-1178-45B5-AB82-A2A285E6B4E3@erols.com>
Date: Tue, 8 Dec 2009 11:53:51 -0500
From: Erik Winkler <ewinkler@...ls.com>
To: john-users@...ts.openwall.com
Subject: Re: compiling john-1.7.3.1-all-2-mpi8 with macosx-x86-sse2
If you are using Snow Leopard, remember that the default build target is x86-64, so any assembly code(.S files) written for x86-32 will not compile without significant changes. You need to add -m32 to the build flags of your target to force the x86-32 build. See below as an example:
macosx-x86-sse2:
$(LN) x86-sse.h arch.h
$(MAKE) $(PROJ) \
JOHN_OBJS="$(JOHN_OBJS) x86.o x86-sse.o sha1-mmx.o md5-mmx.o" \
ASFLAGS="$(ASFLAGS) -m32 -DUNDERSCORES -DBSD -DALIGN_LOG" \
CFLAGS="$(CFLAGS) -m32" \
LDFLAGS="$(LDFLAGS) -m32"
Erik
On Dec 8, 2009, at 10:55 AM, websiteaccess wrote:
> Hi
>
> I have downloaded john-1.7.3.1-all-2-mpi8 from
> ftp://ftp.openwall.com/pub/projects/john/contrib/mpi/2009-bindshell/
>
> I did "make" then I try to complie it with "lake clean
> macosx-x86-sse2" (Mac OS X, x86 with SSE2)
>
> I get errors :
>
>
> mpicc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include
> -L/usr/local/lib -finline-functions DES_bs_b.c
> mpicc -c -DUNDERSCORES -DBSD -DALIGN_LOG x86.S
> x86.S:144:suffix or operands invalid for `push'
> x86.S:145:32-bit absolute addressing is not supported for x86-64
>
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.