This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/8888: Linking shared libraries with -pthread fails to linkto libpthread
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: bangerth at dealii dot org, <gcc-bugs at gcc dot gnu dot org>, <gcc-prs at gcc dot gnu dot org>, <nobody at gcc dot gnu dot org>, <wilhelmi at ira dot uka dot de>, <gcc-gnats at gcc dot gnu dot org>
- Date: Sun, 9 Mar 2003 12:34:29 -0500 (EST)
- Subject: Re: other/8888: Linking shared libraries with -pthread fails to linkto libpthread
On 10 Dec 2002 bangerth at dealii dot org wrote:
> Synopsis: Linking shared libraries with -pthread fails to link to libpthread
> State-Changed-Why:
> Problem unsolved as of now. Will hopefully be fixed sometimes.
I think this is solved for main trunk:
2002-12-10 Jakub Jelinek <jakub at redhat dot com>
* config/linux.h (LIB_SPEC): If -pthread, add -lpthread even if
-shared.
brgds, H-P