It could be better to work with more than 1 processor core. I'm trying to add MPI patch, but I have an error at linkage. I have uploaded my version of johntheripper ebuild. It is based on 1.7.2 version and includes single patch with gentoo patches and MPI patches. If someone can help to resolve that linkage problem - it will be much faster. Reproducible: Always Steps to Reproduce: 1.emerge johntheripper 2. 3. Actual Results: x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe tty.c x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe wordlist.c x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe unshadow.c x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe ryan.c x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe unafs.c x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe undrop.c x86_64-pc-linux-gnu-gcc -c -Wall -Wall -O2 -march=athlon64 -msse3 -pipe unique.c x86_64-pc-linux-gnu-gcc -c x86-64.S x86_64-pc-linux-gnu-gcc -lpthread -lmpich -lm DES_fmt.o DES_std.o DES_bs.o BSDI_fmt.o MD5_fmt.o MD5_std.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o DOMINOSEC_fmt.o KRB5_fmt.o KRB5_std.o md5_go.o rawMD5go_fmt.o PO_fmt.o IPB2_fmt.o des.o MD5_apache_fmt.o BFEgg_fmt.o lotus5_fmt.o md5.o NSLDAP_fmt.o NSLDAPS_fmt.o sha1.o base64.o MYSQL_fmt.o NT_fmt.o md4.o smbencrypt.o rawMD5_fmt.o rawSHA1_fmt.o mssql_fmt.o hmacMD5_fmt.o WPAPSK_fmt.o mscash_fmt.o oracle_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o crc32.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o rules.o signals.o single.o status.o tty.o wordlist.o unshadow.o ryan.o unafs.o undrop.o unique.o x86-64.o -o ../run/john -lcrypto -lssl -lm /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libmpich.so: undefined reference to `MPIU_Free' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libmpich.so: undefined reference to `MPIU_Malloc' collect2: выполнение ld завершилось с кодом возврата 1 make[1]: *** [../run/john] Ошибка 1 make[1]: Leaving directory `/var/tmp/portage/app-crypt/johntheripper-1.7.2-r1/work/john-1.7.2/src' make: *** [linux-x86-64] Ошибка 2 !!! ERROR: app-crypt/johntheripper-1.7.2-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile johntheripper-1.7.2-r1.ebuild, line 61: Called die !!! Make failed !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/tmp/portage/app-crypt/johntheripper-1.7.2-r1/temp/build.log'. !!! This ebuild is from an overlay: '/usr/local/portage'
Created attachment 115557 [details] johntheripper-1.7.2-r1.ebuild with gentoo+MPI patches johntheripper-1.7.2-r1.ebuild with gentoo+MPI patches
500K+ patch? o_O Well, sorry but you'll need to take this upstream, not really something we should/could ever maintain.
(In reply to comment #2) > 500K+ patch? o_O > > Well, sorry but you'll need to take this upstream, not really something we > should/could ever maintain. > Yes ~500K... check it here: http://www.bindshell.net/tools/johntheripper
Please work with upstream regarding adding new functionality to products. Distribution developers do not replace upstream.
The `MPIU_Free' and `MPIU_Malloc' are fixed in mpich2-1.0.5p4 and above. I hope 1.0.6 will be bumped in for amd64 and x86 as well.