This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18788] "-pthreads" option with "-shared" does not cause libpthread.so to be linked in.
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2010 13:48:15 -0000
- Subject: [Bug target/18788] "-pthreads" option with "-shared" does not cause libpthread.so to be linked in.
- References: <bug-18788-9002@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from ebotcazou at gcc dot gnu dot org 2010-06-23 13:48 -------
> The relevance of that behavior has gone with the unified process model
> in Solaris 10, and it's causing me trouble when implementing TLS support
> for Solaris 8 and 9, so I'm going to fix this for 4.6.0, together with
> that TLS patch.
I wouldn't break backward compatibility and deviate from Sun Studio just
because of the dubious goal of enabling TLS on antiquated Solaris versions.
Nobody cares about GCC implementing TLS on those versions in 2010!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18788