This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
- From: "amodra at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 02 May 2012 02:58:19 +0000
- Subject: [Bug libc/14042] _mcount@GLIBC_2.0 missing in libc
- Auto-submitted: auto-generated
- References: <bug-14042-131@http.sourceware.org/bugzilla/>
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.