[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/20805] gcc's ThreadSanitizer broken by gold
From: |
ccoutant at gmail dot com |
Subject: |
[Bug gold/20805] gcc's ThreadSanitizer broken by gold |
Date: |
Tue, 15 Nov 2016 16:31:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20805
Cary Coutant <ccoutant at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed| |2016-11-15
Ever confirmed|0 |1
--- Comment #4 from Cary Coutant <ccoutant at gmail dot com> ---
Your testcase is not using the initial-exec model:
e4a: 66 48 8d 3d 00 00 00 data16 lea 0x0(%rip),%rdi # e52
<_ZN6__tsan10InitializeEPNS_11ThreadStateE+0x32>
e51: 00
e4e: R_X86_64_TLSGD
_ZN6__tsan22cur_thread_placeholderE-0x4
e52: 66 66 48 e8 00 00 00 data16 data16 callq e5a
<_ZN6__tsan10InitializeEPNS_11ThreadStateE+0x3a>
e59: 00
e56: R_X86_64_PLT32 __tls_get_addr-0x4
Gold does not optimize any TLS references when building a shared library.
In this case, where cur_thread_placeholder has hidden visibility, I think we
should be able to optimize it down to IE, as ld.bfd does.
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/20805] New: gcc's ThreadSanitizer broken by gold, markus at trippelsdorf dot de, 2016/11/11
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, dvyukov at google dot com, 2016/11/11
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, markus at trippelsdorf dot de, 2016/11/11
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, markus at trippelsdorf dot de, 2016/11/12
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold,
ccoutant at gmail dot com <=
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, ccoutant at gmail dot com, 2016/11/15
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, markus at trippelsdorf dot de, 2016/11/15
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, markus at trippelsdorf dot de, 2016/11/16
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, markus at trippelsdorf dot de, 2016/11/16
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, hjl.tools at gmail dot com, 2016/11/16
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, hjl.tools at gmail dot com, 2016/11/16
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, hjl.tools at gmail dot com, 2016/11/16
- [Bug gold/20805] gcc's ThreadSanitizer broken by gold, ccoutant at gmail dot com, 2016/11/21