This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: other/8888: Linking shared libraries with -pthread fails to link to libpthread
- From: bangerth at dealii dot org
- To: 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
- Date: 10 Dec 2002 14:13:54 -0000
- Subject: Re: other/8888: Linking shared libraries with -pthread fails to link to libpthread
- Reply-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
Synopsis: Linking shared libraries with -pthread fails to link to libpthread
State-Changed-From-To: open->feedback
State-Changed-By: bangerth
State-Changed-When: Tue Dec 10 06:13:52 2002
State-Changed-Why:
I fail to see the reasoning behind the report: what is wrong
with passing -lpthread to the linker line? The -pthread
changes some things when compiling (as far as I understand,
for example the initialization of static variables), so
has nothing to do with what libraries are linked. You
would want to specify this separately. Why is this bad?
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8888