[Bug gdb/18071] New: TLS variables can't be resolved on aarch64-linux-gnu

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18071] New: TLS variables can't be resolved on aarch64-linux-gnu

fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18071

            Bug ID: 18071
           Summary: TLS variables can't be resolved on aarch64-linux-gnu
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: qiyao at gcc dot gnu.org

We see some fails in gdb.threads/tls.exp that some tls variables can't be
resolved,

info address K::another_thread_local^M
Symbol "K::another_thread_local" is unresolved.^M
(gdb) FAIL: gdb.threads/tls.exp: first info address another_thread_local

info address K::another_thread_local
Symbol "K::another_thread_local" is unresolved.
(gdb) FAIL: gdb.threads/tls.exp: second info address another_thread_local

info address K::another_thread_local
Symbol "K::another_thread_local" is unresolved.
(gdb) FAIL: gdb.threads/tls.exp: third info address another_thread_local

info address K::another_thread_local
Symbol "K::another_thread_local" is unresolved.
(gdb) FAIL: gdb.threads/tls.exp: 4 info address another_thread_local

info address K::another_thread_local
Symbol "K::another_thread_local" is unresolved.
(gdb) FAIL: gdb.threads/tls.exp: 2 info address another_thread_local

info address K::another_thread_local
Symbol "K::another_thread_local" is unresolved.
(gdb) FAIL: gdb.threads/tls.exp: 3 info address another_thread_local

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18071] TLS variables can't be resolved on aarch64-linux-gnu

fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18071

Yao Qi <qiyao at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |aarch64-linux-gnu

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18071] TLS variables can't be resolved on aarch64-linux-gnu

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18071

weimin.pan at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |weimin.pan at oracle dot com

--- Comment #1 from weimin.pan at oracle dot com ---
These problems can still be reproduced with upstream gcc/gdb
and can be addressed first by having the compiler emit dwarf
attribute DW_AT_location for these thread-local variables.

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18071] TLS variables can't be resolved on aarch64-linux-gnu

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18071

weimin.pan at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |weimin.pan at oracle dot com

--
You are receiving this mail because:
You are on the CC list for the bug.
Reply | Threaded
Open this post in threaded view
|

[Bug gdb/18071] TLS variables can't be resolved on aarch64-linux-gnu

fweimer at redhat dot com
In reply to this post by fweimer at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=18071

weimin.pan at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from weimin.pan at oracle dot com ---
commit bce02d8884d6baa72c537d0d7c59f924cb290799
Author: Weimin Pan <[hidden email]>
Date:   Thu Nov 2 18:38:36 2017 -0600

    aarch64: Make "info address" resolve TLS variables

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