public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug debug/97344] New: aarch64 tls debuginfo missing location info
@ 2020-10-09 2:06 scox at redhat dot com
2020-10-09 2:20 ` [Bug debug/97344] " scox at redhat dot com
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: scox at redhat dot com @ 2020-10-09 2:06 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
Bug ID: 97344
Summary: aarch64 tls debuginfo missing location info
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: debug
Assignee: unassigned at gcc dot gnu.org
Reporter: scox at redhat dot com
Target Milestone: ---
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
@ 2020-10-09 2:20 ` scox at redhat dot com
2020-10-09 2:24 ` scox at redhat dot com
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: scox at redhat dot com @ 2020-10-09 2:20 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
--- Comment #1 from Stan Cox <scox at redhat dot com> ---
Created attachment 49335
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49335&action=edit
tls test program
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
2020-10-09 2:20 ` [Bug debug/97344] " scox at redhat dot com
@ 2020-10-09 2:24 ` scox at redhat dot com
2021-09-19 1:13 ` pinskia at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: scox at redhat dot com @ 2020-10-09 2:24 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
--- Comment #2 from Stan Cox <scox at redhat dot com> ---
tls variables on aarch64 lack location info:
[ 6e] variable abbrev: 5
name (strp) "rage"
decl_file (data1) tlsdwarf.c (1)
decl_line (data1) 3
decl_column (data1) 24
type (ref4) [ 2d]
external (flag_present) yes
unlike e.g. ppcle
[ 10e] variable abbrev: 12
name (strp) "rage"
decl_file (data1) get_fs.c (1)
decl_line (data1) 23
decl_column (data1) 24
type (ref4) [ 39]
external (flag_present) yes
location (exprloc)
[ 0] const8u 0
[ 9] GNU_push_tls_address
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
2020-10-09 2:20 ` [Bug debug/97344] " scox at redhat dot com
2020-10-09 2:24 ` scox at redhat dot com
@ 2021-09-19 1:13 ` pinskia at gcc dot gnu.org
2021-09-19 1:14 ` pinskia at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-19 1:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-09-19
Ever confirmed|0 |1
Status|UNCONFIRMED |NEW
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
` (2 preceding siblings ...)
2021-09-19 1:13 ` pinskia at gcc dot gnu.org
@ 2021-09-19 1:14 ` pinskia at gcc dot gnu.org
2021-09-19 1:17 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-19 1:14 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
if (GET_CODE (rtl) == SYMBOL_REF
&& SYMBOL_REF_TLS_MODEL (rtl) != TLS_MODEL_NONE)
{
dw_loc_descr_ref temp;
/* If this is not defined, we have no way to emit the data. */
if (!targetm.have_tls || !targetm.asm_out.output_dwarf_dtprel)
break;
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
` (3 preceding siblings ...)
2021-09-19 1:14 ` pinskia at gcc dot gnu.org
@ 2021-09-19 1:17 ` pinskia at gcc dot gnu.org
2021-09-19 2:33 ` pinskia at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-19 1:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
output_dwarf_dtprel (TARGET_ASM_OUTPUT_DWARF_DTPREL) is not defined for
aarch64.
Mine, I am going to try and test the obvious patch.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
` (4 preceding siblings ...)
2021-09-19 1:17 ` pinskia at gcc dot gnu.org
@ 2021-09-19 2:33 ` pinskia at gcc dot gnu.org
2021-09-19 2:37 ` pinskia at gcc dot gnu.org
2022-01-01 7:49 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-19 2:33 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|pinskia at gcc dot gnu.org |unassigned at gcc dot gnu.org
Status|ASSIGNED |NEW
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is more complex than I originally thought. first off s_aarch64_elf_cons
in gas/config/tc-aarch64.c needs relocation syntax support:
/* N.B. the support for relocation suffix in this directive needs to be
implemented properly. */
Second is :DTPREL: relocation needs to be added.
I will be filing the binutils bug for this soon.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
` (5 preceding siblings ...)
2021-09-19 2:33 ` pinskia at gcc dot gnu.org
@ 2021-09-19 2:37 ` pinskia at gcc dot gnu.org
2022-01-01 7:49 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-19 2:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=28351
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Filed the binutils issue:
https://sourceware.org/bugzilla/show_bug.cgi?id=28351
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug debug/97344] aarch64 tls debuginfo missing location info
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
` (6 preceding siblings ...)
2021-09-19 2:37 ` pinskia at gcc dot gnu.org
@ 2022-01-01 7:49 ` pinskia at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-01 7:49 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97344
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |qiyao at gcc dot gnu.org
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 83010 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-01-01 7:49 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-09 2:06 [Bug debug/97344] New: aarch64 tls debuginfo missing location info scox at redhat dot com
2020-10-09 2:20 ` [Bug debug/97344] " scox at redhat dot com
2020-10-09 2:24 ` scox at redhat dot com
2021-09-19 1:13 ` pinskia at gcc dot gnu.org
2021-09-19 1:14 ` pinskia at gcc dot gnu.org
2021-09-19 1:17 ` pinskia at gcc dot gnu.org
2021-09-19 2:33 ` pinskia at gcc dot gnu.org
2021-09-19 2:37 ` pinskia at gcc dot gnu.org
2022-01-01 7:49 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).