public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/28205] New: aarch64: Skip traditional GD/LD TLS for Clang and LLD
@ 2021-08-06 22:15 i at maskray dot me
  2021-08-06 22:16 ` [Bug dynamic-link/28205] " i at maskray dot me
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: i at maskray dot me @ 2021-08-06 22:15 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 28205
           Summary: aarch64: Skip traditional GD/LD TLS for Clang and LLD
           Product: glibc
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: i at maskray dot me
  Target Milestone: ---

TLSDESC is the default on aarch64.

Clang doesn't support -mtls-dialect=trad.
Its integrated assembler doesn't support the markers.
LLD's doesn't support R_AARCH64_TLSGD_*/R_AARCH64_TLSLD_* relocations.
Supporting the model has nearly zero value.

These tests use TLS_GD/TLS_LD macros:

M       elf/tst-tls1.c
M       elf/tst-tls2.c
M       elf/tst-tls3.c
M       elf/tst-tlsmod1.c
M       elf/tst-tlsmod2.c
M       elf/tst-tlsmod3.c
M       elf/tst-tlsmod4.c

They can be disabled when CC is Clang or LD is LLD.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/28205] aarch64: Skip traditional GD/LD TLS for Clang and LLD
  2021-08-06 22:15 [Bug dynamic-link/28205] New: aarch64: Skip traditional GD/LD TLS for Clang and LLD i at maskray dot me
@ 2021-08-06 22:16 ` i at maskray dot me
  2021-08-06 22:16 ` [Bug dynamic-link/28205] aarch64: Skip traditional GD/LD TLS tests " i at maskray dot me
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: i at maskray dot me @ 2021-08-06 22:16 UTC (permalink / raw)
  To: glibc-bugs

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

Fangrui Song <i at maskray dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |aarch64-*

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/28205] aarch64: Skip traditional GD/LD TLS tests for Clang and LLD
  2021-08-06 22:15 [Bug dynamic-link/28205] New: aarch64: Skip traditional GD/LD TLS for Clang and LLD i at maskray dot me
  2021-08-06 22:16 ` [Bug dynamic-link/28205] " i at maskray dot me
@ 2021-08-06 22:16 ` i at maskray dot me
  2021-08-06 22:42 ` i at maskray dot me
  2021-08-16 17:08 ` i at maskray dot me
  3 siblings, 0 replies; 5+ messages in thread
From: i at maskray dot me @ 2021-08-06 22:16 UTC (permalink / raw)
  To: glibc-bugs

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

Fangrui Song <i at maskray dot me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|aarch64: Skip traditional   |aarch64: Skip traditional
                   |GD/LD TLS for Clang and LLD |GD/LD TLS tests for Clang
                   |                            |and LLD

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/28205] aarch64: Skip traditional GD/LD TLS tests for Clang and LLD
  2021-08-06 22:15 [Bug dynamic-link/28205] New: aarch64: Skip traditional GD/LD TLS for Clang and LLD i at maskray dot me
  2021-08-06 22:16 ` [Bug dynamic-link/28205] " i at maskray dot me
  2021-08-06 22:16 ` [Bug dynamic-link/28205] aarch64: Skip traditional GD/LD TLS tests " i at maskray dot me
@ 2021-08-06 22:42 ` i at maskray dot me
  2021-08-16 17:08 ` i at maskray dot me
  3 siblings, 0 replies; 5+ messages in thread
From: i at maskray dot me @ 2021-08-06 22:42 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Fangrui Song <i at maskray dot me> ---
https://sourceware.org/pipermail/libc-alpha/2021-August/129912.html
[PATCH] aarch64: Skip traditional GD/LD TLS which are unsupported by Clang and
LLD [BZ #28205]

can skip these tests if either CC or LD doesn't support traditional GD/LD.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug dynamic-link/28205] aarch64: Skip traditional GD/LD TLS tests for Clang and LLD
  2021-08-06 22:15 [Bug dynamic-link/28205] New: aarch64: Skip traditional GD/LD TLS for Clang and LLD i at maskray dot me
                   ` (2 preceding siblings ...)
  2021-08-06 22:42 ` i at maskray dot me
@ 2021-08-16 17:08 ` i at maskray dot me
  3 siblings, 0 replies; 5+ messages in thread
From: i at maskray dot me @ 2021-08-16 17:08 UTC (permalink / raw)
  To: glibc-bugs

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

Fangrui Song <i at maskray dot me> changed:

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

--- Comment #2 from Fangrui Song <i at maskray dot me> ---
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=33c50ef42878b07ee6ead8b3f1a81d8c2c74697c
(elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ
#28152] [BZ #28205])

Fixed for 2.35.

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-16 17:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06 22:15 [Bug dynamic-link/28205] New: aarch64: Skip traditional GD/LD TLS for Clang and LLD i at maskray dot me
2021-08-06 22:16 ` [Bug dynamic-link/28205] " i at maskray dot me
2021-08-06 22:16 ` [Bug dynamic-link/28205] aarch64: Skip traditional GD/LD TLS tests " i at maskray dot me
2021-08-06 22:42 ` i at maskray dot me
2021-08-16 17:08 ` i at maskray dot me

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).