Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 8 Dec 2009 11:53:51 -0500
From: Erik Winkler <>
Subject: Re: compiling john- 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:

        $(LN) x86-sse.h arch.h
        $(MAKE) $(PROJ) \
                JOHN_OBJS="$(JOHN_OBJS) x86.o x86-sse.o sha1-mmx.o md5-mmx.o" \
                CFLAGS="$(CFLAGS) -m32" \
                LDFLAGS="$(LDFLAGS) -m32"


On Dec 8, 2009, at 10:55 AM, websiteaccess wrote:

> Hi
> I have downloaded john- from 
> 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
> 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.