[Bug sanitizer/68824] [6 Regression] libtsan is missing the __interceptor___tls_get_addr symbol without bumping the soname
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Dec 10 11:08:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list