This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/14042] _mcount@GLIBC_2.0 missing in libc


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]