http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55354



--- Comment #6 from Konstantin Serebryany <konstantin.s.serebryany at gmail dot 
com> 2012-11-16 20:54:40 UTC ---

Answering my own question: we can get static linking with 

 -Wl,-Bstatic -lasan -Wl,-Bdynamic -ldl -lpthread 



>> For TLS, you can just use -ftls-model=initial-exec 

I did not know, thanks. 

Sounds like this could be a good solution for tsan. Will check.

Reply via email to