[Bug sanitizer/81493] python fails to load libtsan.so: cannot allocate memory in static TLS block

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jul 20 12:14:00 GMT 2017


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

--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
That is a user bug, don't do it.
libtsan.so needs to be loaded early for the whole process, certainly before you
start creating threads etc.
You can LD_PRELOAD=libtsan.so or similar to eachive that.


More information about the Gcc-bugs mailing list