https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67308
--- Comment #3 from Jerome Robert <jeromerobert at gmx dot com> --- It looks like PIE is no longer needed (at least with gcc 5.2). echo 'void main(void){}' | gcc -fsanitize=thread -xc - -ltsan && ./a.out just work fine.