|
Message-Id: <FA60C590-B898-4FDF-9DDA-A64EA0412A9B@patpro.net> Date: Thu, 27 Nov 2014 10:13:16 +0100 From: Patrick Proniewski <patpro@...pro.net> To: john-users@...ts.openwall.com Subject: Re: OpenMP on FreeBSD ? On 27 nov. 2014, at 09:29, magnum <john.magnum@...hmail.com> wrote: > On 2014-11-27 08:10, Patrick Proniewski wrote: >> I'm trying to install john-1.7.9.jumbo.7 on FreeBSD 9.3-RELEASE amd64. I'm using FreeBSD's port system: >> >> # cd /usr/ports/security/john/ >> # make OMPFLAGS=-msse2 > >> Any idea why the FreeBSD port fails using OpenMP code? > > You did not build with OMP. Try 'make OMPFLAGS="-fopenmp -msse2"' Ok, that explains a lot. But when I use OMPFLAGS="-fopenmp -msse2", it fails: ../.. cc -c -Wall -O2 -pipe -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_HOME=\"/usr/local/share/john\" -DCFG_FULL_NAME=\"/usr/local/etc/john.conf\" -fstack-protector -fno-strict-aliasing -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include -fopenmp -msse2 -funroll-loops BF_fmt.c DES_bs_b.c: In function 'DES_bs_finalize_keys': DES_bs_b.c:1015: note: use -flax-vector-conversions to permit conversions between vectors with differing element types or numbers of subparts DES_bs_b.c:1015: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' DES_bs_b.c:1016: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' ../.. (same line repeats) cc -c -Wall -O2 -pipe -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_HOME=\"/usr/local/share/john\" -DCFG_FULL_NAME=\"/usr/local/etc/john.conf\" -fstack-protector -fno-strict-aliasing -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include -fopenmp -msse2 -funroll-loops LM_fmt.c DES_bs_b.c: In function 'DES_bs_finalize_keys_LM': DES_bs_b.c:1430: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' DES_bs_b.c:1431: error: incompatible type for argument 1 of '__builtin_ia32_psrlqi128' ../.. (same line repeats) cc -c -Wall -O2 -pipe -DJOHN_SYSTEMWIDE=1 -DJOHN_SYSTEMWIDE_HOME=\"/usr/local/share/john\" -DCFG_FULL_NAME=\"/usr/local/etc/john.conf\" -fstack-protector -fno-strict-aliasing -fomit-frame-pointer -Wdeclaration-after-statement -I/usr/local/include -fopenmp -msse2 -funroll-loops trip_fmt.c Makefile:1751: recipe for target 'DES_bs_b.o' failed gmake[1]: *** [DES_bs_b.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: Leaving directory '/usr/ports/security/john/work/john-1.7.9-jumbo-7/src' Makefile:674: recipe for target 'freebsd-x86-64' failed gmake: *** [freebsd-x86-64] Error 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 I've tried with MAKE_JOBS_UNSAFE=yes, but it fails also. patpro
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.