$ clang++ output_tests/simple_race.c -fthread-sanitizer -fPIE -pie -g -lpthread
-ldl -Ltsan -ltsan -static
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4/crtbeginT.o: relocation
R_X86_64_32 against `__DTOR_END__' can not be used when making a shared object;
recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.4/crtbeginT.o: could not read symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Original issue reported on code.google.com by dvyu...@google.com on 13 Apr 2012 at 1:39
Original issue reported on code.google.com by
dvyu...@google.com
on 13 Apr 2012 at 1:39