This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 sanitizer/68824] [6 Regression] libtsan is missing the __interceptor___tls_get_addr symbol without bumping the soname


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68824

--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
I don't think this is a problem.  It would be of course better if the sanitizer
shared libraries were symbol versioned, but in case of libraries that override
versioned libraries it might be interesting to get the right symbol versions
for all the symbols.  Or perhaps it should just be versioned using an anonymous
version script, to only control what symbols are exported and what symbols are
not.  I believe the __interceptor_* and similar symbols are just library
internals that nothing ever calls though, so those are symbols that were never
meant to be exported.

Dmitry, is that the case?

Alternative to the anon version script would be use of hidden visibility for
everything not meant to be exported from the shared libraries.

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