tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Moving pthread_(cond|mutex) to libc



On Fri, Jan 25, 2013 at 03:37:19AM +0100, Emmanuel Dreyfus wrote:
> Thor Lancelot Simon <tls%panix.com@localhost> wrote:
> 
> > Don't try to dynamically load threaded code into single threaded
> > programs.  Problem fixed.
> 
> I do not. The problem (see the thread in tech-pkg) is that I have a
> program that uses thread-unrelated stuff in libgobject-2.0.so, and
> libglobject-2.0.so contains thread-related stuff I do not use, which
> cause it to be linked with -lpthread.

This is either a bug in libgobject (it should be separated into two
libraries) or a bug in the application (it cannot link to a library that
uses threads unless it is compiled with -pthread).

Thor


Home | Main Index | Thread Index | Old Index