Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 20 Sep 2011 22:23:16 +0400
From: Solar Designer <solar@...nwall.com>
To: john-dev@...ts.openwall.com
Subject: Re: Build Issue on Solaris, John v1.7.8 jumbo-5 August 24, 2011

Robert, all -

On Wed, Aug 31, 2011 at 05:38:49PM -0400, Robert Harris wrote:
> When I delete the line below, from the JtR v1.7.8 with jumbo-2 or jumbo-5
> stdint.h file, I get a successful build of solaris-x86-64-gcc.  
> 
> typedef unsigned long long uint64_t;

Yes, this was obvious to us all the time.  What is not obvious is how to
fix the issue in -jumbo "properly", such that all supported targets work
at once.

I've just tried a slightly different approach to it in -jumbo-6-RC3,
which is uploaded to the wiki:

http://openwall.info/wiki/john/patches

SHA-1:
bd1b03ebb36ac38c96637cd497224e8f2d0a234c  john-1.7.8-jumbo-5-to-6-RC3.diff.gz
bf787d84511e32605c954942b8c4b38a51631df2  john-1.7.8-jumbo-6-RC3.diff.gz

Specifically, besides adding the #undef's and #define's as I had
proposed before, I moved #include "stdint.h" and the like further down
the lists in other source files.  This is still a dirty hack (although
the separation of #include directives is actually a cleanup), but maybe
it'll work.  -jumbo is a dirty hack anyway.

Please give this a try and let us know if it works or not (and how it
fails if so).

Thanks,

Alexander

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.