public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45808] New: FreeBSD: -pthread is handled incompletely
@ 2010-09-27 12:23 avg at icyb dot net.ua
  2010-09-27 16:19 ` [Bug other/45808] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: avg at icyb dot net.ua @ 2010-09-27 12:23 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45808

           Summary: FreeBSD: -pthread is handled incompletely
           Product: gcc
           Version: 4.5.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: avg@icyb.net.ua


On recent (and maintained) versions of FreeBSD it is required that shared
libraries using pthread functions are linked to libpthread.  This was not the
case in older and now unsupported versions of the OS.
So, currently GCC on FreeBSD expands -pthread option to -lpthread only when
target is a final binary.  When compilation target is a shared library -pthread
is ignored.
This needs to be fixed in -pthread specifications for FreeBSD.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-08-21  6:35 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-27 12:23 [Bug target/45808] New: FreeBSD: -pthread is handled incompletely avg at icyb dot net.ua
2010-09-27 16:19 ` [Bug other/45808] " rguenth at gcc dot gnu.org
2010-09-28 13:39 ` avg at icyb dot net.ua
2010-09-28 14:00 ` manu at gcc dot gnu.org
2010-09-29 11:09 ` gerald at pfeifer dot com
2011-02-14  0:46 ` [Bug target/45808] " gerald at gcc dot gnu.org
2011-02-25 23:19 ` gerald at gcc dot gnu.org
2014-08-20 23:24 ` manu at gcc dot gnu.org
2014-08-21  6:35 ` gerald at pfeifer dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).