Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 20 Dec 2011 10:22:53 -0600
From: "jfoug" <jfoug@....net>
To: <john-dev@...ts.openwall.com>
Subject: RE: 1.7.9-jumbo-5 and ICC on MacOS

That looks really stripped down, when compared to the linux-icc rule to me.

One thing I really see missing, might be the -msse2 switch in the CFLAGS.

>-----Original Message-----
>From: Erik Winkler [mailto:ewinkler@...ls.com]
>Sent: Tuesday, December 20, 2011 7:51 AM
>To: john-dev@...ts.openwall.com
>Subject: Re: [john-dev] 1.7.9-jumbo-5 and ICC on MacOS
>
>This is an Intel corei5 mac.  The build target is macosx-x86-64.
>
>Here is the make target I am using (put together from Linux icc make
>target):
>
>macosx-x86-64-icc:
>        $(LN) x86-64.h arch.h
>        @echo "#define JOHN_BLD" '"'$@'"' > john_build_rule.h
>        $(MAKE) $(PROJ) \
>                JOHN_OBJS="$(JOHN_OBJS) x86-64.o sse-intrinsics.o" \
>                ASFLAGS="$(ASFLAGS) -m64 -DUNDERSCORES -DBSD -
>DALIGN_LOG" \
>                CFLAGS="$(CFLAGS) -m64 $(ICCOMPFLAGS)" \
>                LDFLAGS="$(LDFLAGS) -m64 $(ICCOMPFLAGS)"
>
>Thanks,
>Erik
>
>On Dec 19, 2011, at 5:20 PM, jfoug wrote:
>
>> Is this a little endian, or a big endian system?
>>
>> Also, if LE, is this an Intel box, and if so, why are you not using
>SSE2i?
>> From this reference,
>> (_DynamicFunc__crypt_to_input_raw_Overwrite_NoLen_but_setlen_in_SSE)
>it does
>> sound like this is an SSE build.
>>
>>
>> It may be that we need to get the proper arch.h updated, so that the
>MD5
>> defines are workable.
>>
>>
>> What is the exact build rule you are using?
>>
>> Jim.
>>
>>> From: Erik Winkler [mailto:ewinkler@...ls.com]
>>>
>>> Trying basic compile of john 1.7.9-jumbo-5 on MacOS X using icc
>12.1.0
>>> and get the following error:
>>>
>>> Undefined symbols:
>>> "_MD5_body", referenced from:
>>>     _crypt_all in dynamic_fmt.o
>>>     _DynamicFunc__crypt in dynamic_fmt.o
>>>     _DynamicFunc__PHPassCrypt in dynamic_fmt.o
>>>     _DynamicFunc__PHPassCrypt in dynamic_fmt.o
>>>     _DynamicFunc__PHPassCrypt in dynamic_fmt.o
>>>     _DynamicFunc__PHPassCrypt in dynamic_fmt.o
>>>     _DynamicFunc__POCrypt in dynamic_fmt.o
>>>     _DynamicFunc__crypt2 in dynamic_fmt.o
>>>     _DynamicFunc__crypt_in1_to_out2 in dynamic_fmt.o
>>>     _DynamicFunc__crypt_in2_to_out1 in dynamic_fmt.o
>>>     _DynamicFunc__crypt_to_input_raw in dynamic_fmt.o
>>>
>_DynamicFunc__crypt_to_input_raw_Overwrite_NoLen_but_setlen_in_SSE
>>> in dynamic_fmt.o
>>>     _DynamicFunc__crypt_to_input_raw_Overwrite_NoLen in dynamic_fmt.o
>>> ld: symbol(s) not found
>>>
>>> Not sure why.
>>

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.