Status: New
Owner: ----
CC: [email protected]
Labels: Type-Defect Priority-Medium

New issue 394 by [email protected]: ASan is unable to link TLS arrays
https://code.google.com/p/address-sanitizer/issues/detail?id=394

To reproduce:
$ cat tls.cc
__thread int glob[10];
int main(int argc, char **argv) {
  return 0;
}

clang++ tls.cc -fsanitize=address -o tls
/usr/bin/ld: glob: TLS definition in /tmp/tls-be8082.o section .tbss mismatches non-TLS definition in /usr/local/google/src/chrome/src/third_party/llvm-build/Release+Asserts/bin/../lib/clang/3.7.0/lib/linux/libclang_rt.asan-x86_64.a(asan_interceptors.cc.o) section .text
/tmp/tls-be8082.o: error adding symbols: Bad value
clang: error: linker command failed with exit code 1 (use -v to see invocation)


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to