Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 12 Jul 2011 03:29:36 +0200
From: magnum <>
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:

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:

Excerpt from that page:
> Conclusion: Never use static linking!



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.