Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 27 Nov 2014 19:14:28 +0100
From: Patrick Proniewski <patpro@...pro.net>
To: Dennis Glatting <dg@...2.com>,
 john-users@...ts.openwall.com
Subject: Re: OpenMP on FreeBSD ?


On 27 nov. 2014, at 17:09, Dennis Glatting wrote:

>> Any idea why the FreeBSD port fails using OpenMP code?
> 
> Compile with GCC5. Clang does not support OpenMP.

Thank you, it worked (almost). Compilation is ok and openmp is properly taken into account. Unfortunately when I try the binary, an error occurs:

	john --test
	/usr/lib/libgomp.so.1: version GOMP_4.0 required by /usr/ports/security/john/work/john-1.7.9-jumbo-7/run/john not found

Of course. 
/usr/lib/libgomp.so.1 is in the base system and provides GOMP_1.
/usr/local/lib/gcc5/libgomp.so.1 is installed with gcc5 port and provides GOMP_4.0.1. 

I'll have to tweak settings at compile time to use library provided with gcc5 at runtime automatically. In the mean time, using LD_LIBRARY_PATH helps:

	LD_LIBRARY_PATH=/usr/local/lib/gcc5 john --format=des --test
	Benchmarking: Traditional DES [128/128 BS SSE2-16]... (2xOMP) DONE
	Many salts:	3129K c/s real, 1641K c/s virtual
	Only one salt:	2991K c/s real, 1587K c/s virtual


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.