public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14743] New: clock_gettime et al from -lrt always bring in libpthread
@ 2012-10-19 18:36 roland at gnu dot org
  2012-10-19 18:37 ` [Bug libc/14743] " roland at gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: roland at gnu dot org @ 2012-10-19 18:36 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14743

             Bug #: 14743
           Summary: clock_gettime et al from -lrt always bring in
                    libpthread
           Product: glibc
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: roland@gnu.org
                CC: drepper.fsp@gmail.com
    Classification: Unclassified


Just using clock_gettime in a dynamically linked program requires -lrt.
librt.so depends on libpthread.so, so such programs wind up loading libpthread
even if they have no need for it.  This enables libstdc++ locking code and the
like, slowing down single-threaded programs that only wanted clock_* calls.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/14743] clock_gettime et al from -lrt always bring in libpthread
  2012-10-19 18:36 [Bug libc/14743] New: clock_gettime et al from -lrt always bring in libpthread roland at gnu dot org
@ 2012-10-19 18:37 ` roland at gnu dot org
  2012-10-21 15:26 ` zilla at kayari dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: roland at gnu dot org @ 2012-10-19 18:37 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14743

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at sourceware    |roland at gnu dot org
                   |dot org                     |

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/14743] clock_gettime et al from -lrt always bring in libpthread
  2012-10-19 18:36 [Bug libc/14743] New: clock_gettime et al from -lrt always bring in libpthread roland at gnu dot org
  2012-10-19 18:37 ` [Bug libc/14743] " roland at gnu dot org
@ 2012-10-21 15:26 ` zilla at kayari dot org
  2012-10-24 21:53 ` roland at gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: zilla at kayari dot org @ 2012-10-21 15:26 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14743

Jonathan Wakely <zilla at kayari dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zilla at kayari dot org

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/14743] clock_gettime et al from -lrt always bring in libpthread
  2012-10-19 18:36 [Bug libc/14743] New: clock_gettime et al from -lrt always bring in libpthread roland at gnu dot org
  2012-10-19 18:37 ` [Bug libc/14743] " roland at gnu dot org
  2012-10-21 15:26 ` zilla at kayari dot org
@ 2012-10-24 21:53 ` roland at gnu dot org
  2013-01-15 14:35 ` schwab@linux-m68k.org
  2014-06-14 12:50 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: roland at gnu dot org @ 2012-10-24 21:53 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14743

Roland McGrath <roland at gnu dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Roland McGrath <roland at gnu dot org> 2012-10-24 21:53:14 UTC ---
Implemented.  Cannot be backported.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/14743] clock_gettime et al from -lrt always bring in libpthread
  2012-10-19 18:36 [Bug libc/14743] New: clock_gettime et al from -lrt always bring in libpthread roland at gnu dot org
                   ` (2 preceding siblings ...)
  2012-10-24 21:53 ` roland at gnu dot org
@ 2013-01-15 14:35 ` schwab@linux-m68k.org
  2014-06-14 12:50 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: schwab@linux-m68k.org @ 2013-01-15 14:35 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=14743

Andreas Schwab <schwab@linux-m68k.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ajax at redhat dot com

--- Comment #2 from Andreas Schwab <schwab@linux-m68k.org> 2013-01-15 14:34:56 UTC ---
*** Bug 14304 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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

* [Bug libc/14743] clock_gettime et al from -lrt always bring in libpthread
  2012-10-19 18:36 [Bug libc/14743] New: clock_gettime et al from -lrt always bring in libpthread roland at gnu dot org
                   ` (3 preceding siblings ...)
  2013-01-15 14:35 ` schwab@linux-m68k.org
@ 2014-06-14 12:50 ` fweimer at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-14 12:50 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=14743

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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

end of thread, other threads:[~2014-06-14 12:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-19 18:36 [Bug libc/14743] New: clock_gettime et al from -lrt always bring in libpthread roland at gnu dot org
2012-10-19 18:37 ` [Bug libc/14743] " roland at gnu dot org
2012-10-21 15:26 ` zilla at kayari dot org
2012-10-24 21:53 ` roland at gnu dot org
2013-01-15 14:35 ` schwab@linux-m68k.org
2014-06-14 12:50 ` fweimer at redhat 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).