Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e3f6913e6a41cd23a02f687806037300@smtp.hushmail.com>
Date: Sun, 2 Jun 2013 19:43:58 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Link failure (bleeding win32-cygwin-x86-any )

On 2 Jun, 2013, at 15:52 , jfoug@....net wrote:
> I think the recent change:  f873e40d51 by Sayantan is causing this problem.  Here is the linkage errors:
> 
> DES_fmt.o:DES_fmt.c:(.text+0x117): undefined reference to `_DES_bs_all'
> DES_fmt.o:DES_fmt.c:(.text+0x25e): undefined reference to `_DES_bs_crypt_25'
> 
> So it looks like something changed, so that these functions are being called, in builds which do not have them, or possibly it was code being removed that should have been left.  I really do not know.  The change is complex, simply looking at the git patch.

I tried a generic build in case it would reproduce the above, but I got this:

dynamic_fmt.c: In function 'FreeBSDMD5Crypt_setup_nonMMX':
dynamic_fmt.c:4546:92: warning: assignment makes integer from pointer without a cast [enabled by default]
  md5_items[14].off[i] = md5_items[15].off[i] = md5_items[18].off[i] = md5_items[20].off[i] = &cp1[cp-cp1];
                                                                                            ^
dynamic_fmt.c:4587:46: warning: assignment makes integer from pointer without a cast [enabled by default]
  md5_items[16].off[i] = md5_items[19].off[i] = &cp1[cp-cp1];
                                              ^
dynamic_fmt.c:4623:45: warning: assignment makes integer from pointer without a cast [enabled by default]
  md5_items[3].off[i] = md5_items[17].off[i] = &cp1[cp-cp1];
                                             ^
dynamic_fmt.c:4656:23: warning: assignment makes integer from pointer without a cast [enabled by default]
  md5_items[10].off[i] = &cp1[cp-cp1];
                       ^
In file included from dynamic_fmt.c:120:0:
dynamic_fmt.c: In function 'dynamic_SETUP':
dynamic_types.h:246:42: error: expected ';' before 'CPU_NAME'
 #define ALGORITHM_NAME_S2_256  "128/128 "CPU_NAME" 4x"
                                          ^
dynamic_fmt.c:8383:37: note: in expansion of macro 'ALGORITHM_NAME_S2_256'
       pFmt->params.algorithm_name = ALGORITHM_NAME_S2_256;
                                     ^
dynamic_types.h:247:42: error: expected ';' before 'CPU_NAME'
 #define ALGORITHM_NAME_S2_512  "128/128 "CPU_NAME" 2x"
                                          ^
dynamic_fmt.c:8389:37: note: in expansion of macro 'ALGORITHM_NAME_S2_512'
       pFmt->params.algorithm_name = ALGORITHM_NAME_S2_512;
                                     ^
make[1]: *** [dynamic_fmt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [generic] Error 2


magnum

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.