Date: Tue, 12 Jul 2011 03:29:36 +0200 From: magnum <rawsmooth@...dband.net> To: john-dev@...ts.openwall.com Subject: Re: Any flags needed to statically link openmp in Linux On 2011-07-11 19:11, Robert B. Harris wrote: > I'm working on compiling JtR omp versions for Linux. > I am wondering if there are any LDFLAGS to statically link omp? Some info here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39176#c7 Excerpt from that page: > This has been repeated many times. Don't use -static for threaded programs, it > is really bad idea, and if you really have to, you need to link the whole > libpthread.a in (-Wl,--whole-archive -lpthread -Wl,--no-whole-archive), > otherwise if it works, it is by pure luck. Some interesting reading here too: http://www.akkadia.org/drepper/no_static_linking.html Excerpt from that page: > Conclusion: Never use static linking! ;-) 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.