public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc
@ 2012-05-01 12:33 schwab@linux-m68k.org
  2012-05-01 12:54 ` [Bug libc/14042] " schwab@linux-m68k.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2012-05-01 12:33 UTC (permalink / raw)
  To: glibc-bugs

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

             Bug #: 14042
           Summary: _mcount@GLIBC_2.0 missing in libc
           Product: glibc
           Version: 2.15
            Status: NEW
          Keywords: glibc_2.15
          Severity: critical
          Priority: P2
         Component: libc
        AssignedTo: unassigned@sourceware.org
        ReportedBy: schwab@linux-m68k.org
                CC: amodra@gmail.com, drepper.fsp@gmail.com
    Classification: Unclassified
              Host: powerpc-*-*


This was broken by

commit 24f579d
Author: Alan Modra <amodra@gmail.com>
Date:   Wed Sep 7 22:02:42 2011 -0400

    Fix profiling on powerpc32 secure-plt shared libs and PIEs

-- 
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] 7+ messages in thread

* [Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
  2012-05-01 12:33 [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc schwab@linux-m68k.org
@ 2012-05-01 12:54 ` schwab@linux-m68k.org
  2012-05-02  2:58 ` amodra at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: schwab@linux-m68k.org @ 2012-05-01 12:54 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-05-01 12:54:15 UTC ---
Also __mcount_internal should not be GLIBC_PRIVATE, since it is not a internal
interface between parts of glibc, but a public interface, even if only
referenced indirectly via -lc_nonshared.

-- 
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] 7+ messages in thread

* [Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
  2012-05-01 12:33 [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc schwab@linux-m68k.org
  2012-05-01 12:54 ` [Bug libc/14042] " schwab@linux-m68k.org
@ 2012-05-02  2:58 ` amodra at gmail dot com
  2012-06-27 22:34 ` jsm28 at gcc dot gnu.org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at gmail dot com @ 2012-05-02  2:58 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #2 from Alan Modra <amodra at gmail dot com> 2012-05-02 02:58:19 UTC ---
I guess the problem is that my change breaks backward compatibility.  We really
do not want the linker to use _mcount in libc.so.6, because that cannot work
when producing -msecure-plt PIEs or shared libraries.  So it would appear that
_mcount needs to be in both libc_nonshared.a and libc.so.6, with the latter
ideally not available for linking unless given a specific symbol version.  I'll
have to dig a bit to see how that can be done using the glibc build system.

-- 
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] 7+ messages in thread

* [Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
  2012-05-01 12:33 [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc schwab@linux-m68k.org
  2012-05-01 12:54 ` [Bug libc/14042] " schwab@linux-m68k.org
  2012-05-02  2:58 ` amodra at gmail dot com
@ 2012-06-27 22:34 ` jsm28 at gcc dot gnu.org
  2012-06-28  1:39 ` amodra at gmail dot com
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2012-06-27 22:34 UTC (permalink / raw)
  To: glibc-bugs

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

Joseph Myers <jsm28 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|glibc_2.15                  |

--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> 2012-06-27 22:34:33 UTC ---
Removing glibc_2.15 keyword as backport suitability can't be judged until there
is a fix on master.  After this is fixed on master, anyone wanting a backport
should feel free to attach a tested backport patch to this bug (or a new bug,
if this one is closed as fixed).

-- 
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] 7+ messages in thread

* [Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
  2012-05-01 12:33 [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc schwab@linux-m68k.org
                   ` (2 preceding siblings ...)
  2012-06-27 22:34 ` jsm28 at gcc dot gnu.org
@ 2012-06-28  1:39 ` amodra at gmail dot com
  2012-07-28  8:36 ` tschwinge at sourceware dot org
  2014-06-13 14:07 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: amodra at gmail dot com @ 2012-06-28  1:39 UTC (permalink / raw)
  To: glibc-bugs

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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://sourceware.org/ml/li
                   |                            |bc-alpha/2012-05/msg00070.h
                   |                            |tml

-- 
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] 7+ messages in thread

* [Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
  2012-05-01 12:33 [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc schwab@linux-m68k.org
                   ` (3 preceding siblings ...)
  2012-06-28  1:39 ` amodra at gmail dot com
@ 2012-07-28  8:36 ` tschwinge at sourceware dot org
  2014-06-13 14:07 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: tschwinge at sourceware dot org @ 2012-07-28  8:36 UTC (permalink / raw)
  To: glibc-bugs

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

Thomas Schwinge <tschwinge at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tschwinge at sourceware dot
                   |                            |org
         Resolution|                            |FIXED
         AssignedTo|unassigned at sourceware    |schwab@linux-m68k.org
                   |dot org                     |

--- Comment #4 from Thomas Schwinge <tschwinge at sourceware dot org> 2012-07-28 08:36:39 UTC ---
Fixed in commit 261f485936b283f4327fc1f2fc8fd1705d805c12, NEWS updated in
commit ad41a87fe0777b1500df48609307f8d9d906dfb9.

-- 
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] 7+ messages in thread

* [Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
  2012-05-01 12:33 [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc schwab@linux-m68k.org
                   ` (4 preceding siblings ...)
  2012-07-28  8:36 ` tschwinge at sourceware dot org
@ 2014-06-13 14:07 ` fweimer at redhat dot com
  5 siblings, 0 replies; 7+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 14:07 UTC (permalink / raw)
  To: glibc-bugs

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

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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-01 12:33 [Bug libc/14042] New: _mcount@GLIBC_2.0 missing in libc schwab@linux-m68k.org
2012-05-01 12:54 ` [Bug libc/14042] " schwab@linux-m68k.org
2012-05-02  2:58 ` amodra at gmail dot com
2012-06-27 22:34 ` jsm28 at gcc dot gnu.org
2012-06-28  1:39 ` amodra at gmail dot com
2012-07-28  8:36 ` tschwinge at sourceware dot org
2014-06-13 14:07 ` 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).