bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/20805] gcc's ThreadSanitizer broken by gold


From: hjl.tools at gmail dot com
Subject: [Bug gold/20805] gcc's ThreadSanitizer broken by gold
Date: Wed, 16 Nov 2016 13:37:19 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20805

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
Gold generates:

Symbol table '.dynsym' contains 1821 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000068d58    32 TLS     LOCAL  DEFAULT   16
_ZN11__sanitizerL4dtlsE
     2: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
address@hidden (2)
     4: 0000000000021f30     0 FUNC    GLOBAL DEFAULT    9 _init
     5: 00000000000a07a8     0 FUNC    GLOBAL DEFAULT   12 _fini
     6: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND
_ITM_deregisterTMCloneTab
     7: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND
_ITM_registerTMCloneTable
     8: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND
address@hidden (2)
     9: 000000000007da00    69 FUNC    GLOBAL DEFAULT   11
_ZN11__sanitizer11CheckFa
    10: 0000000000024950     8 FUNC    WEAK   DEFAULT   11
__tsan_default_options
    11: 00000000000252b0     6 FUNC    WEAK   DEFAULT   11 __tls_get_addr
    12: 00000000000252b0     6 FUNC    GLOBAL DEFAULT   11
__interceptor___tls_get_a
    13: 0000000000000140 0x68c18 TLS     LOCAL  HIDDEN    16
_ZN6__tsan22cur_thread_pl
                                         ^^^^^^  This is wrong.

address@hidden tsan]$ readelf -s .libs/libtsan.so.0  > /dev/null
readelf: Warning: local symbol 13 found at index >= .dynsym's sh_info value of
2
address@hidden tsan]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]