[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
Mon Jan 18 10:46:00 GMT 2016


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-01-18
     Ever confirmed|0                           |1

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
So, this seems to have been removed on purpose as I read:
http://llvm.org/viewvc/llvm-project?view=revision&revision=224531
to workaround an already fixed gcc bug.
So, I see 3 options:
1) bump libtsan SONAME
2) re-add the __tls_get_addr interceptor, but arrange for the interceptor to
   only do return __interception::real___tls_get_addr(arg); and nothing else
3) re-add the __tls_get_addr interceptor, but arrange for it to be defined in a
different source file, and compile that with -mincoming-stack-boundary=3 on
x86_64-linux


More information about the Gcc-bugs mailing list