Discussion:
[Bug gdb/18071] New: TLS variables can't be resolved on aarch64-linux-gnu
qiyao at gcc dot gnu.org
2015-03-02 16:15:26 UTC
Permalink
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.
qiyao at gcc dot gnu.org
2015-03-02 16:15:49 UTC
Permalink
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.
weimin.pan at oracle dot com
2017-09-27 23:09:20 UTC
Permalink
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.
weimin.pan at oracle dot com
2017-10-18 16:51:07 UTC
Permalink
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.
weimin.pan at oracle dot com
2018-04-18 18:48:54 UTC
Permalink
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 <***@oracle.com>
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.
Loading...