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



--- Comment #9 from Konstantin Serebryany <konstantin.s.serebryany at gmail dot 
com> 2012-11-23 10:56:44 UTC ---

Not that today's upstream tsan sources don't link with -fPIC at all

because our assembly blobs are not PIC-friendly. 



/usr/bin/ld: .libs/tsan_rtl_thread.o: relocation R_X86_64_PC32 against

undefined symbol `__tsan_trace_switch_thunk' can not be used when making a

shared objec



Apparently, Wei hacked this around by enabling pure-C++ code, which is slower.

Reply via email to