Bug 2263181 - clang: Support the -mtls-dialect=gnu2 option on x86-64
Summary: clang: Support the -mtls-dialect=gnu2 option on x86-64
Keywords:
Status: CLOSED COMPLETED
Alias: None
Product: Fedora
Classification: Fedora
Component: llvm
Version: rawhide
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nikita Popov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2263182 2263180
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-02-07 12:40 UTC by Florian Weimer
Modified: 2025-07-29 07:56 UTC (History)
17 users (show)

Fixed In Version:
Clone Of: 2263180
Environment:
Last Closed: 2025-07-29 07:56:41 UTC
Type: ---
Embargoed:
fweimer: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-1107 0 None None None 2024-02-07 12:43:31 UTC

Description Florian Weimer 2024-02-07 12:40:30 UTC
+++ This bug was initially created as a clone of Bug #2263180 +++
Clang should support the -mtls-dialect=gnu2 option to enable TLS descriptors on x86-64, once LLVM provides support for them.

We want to use TLS descriptors on x86-64. Lack of Clang support is not a blocker because the new TLS type and the legacy TLS type are fully interoperable (either approach can bind TLS symbols under any TLS model).

There is Clang support for this feature on AArch64.

Reproducible: Always

Comment 1 Fedora Admin user for bugzilla script actions 2025-05-14 03:17:36 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Nikita Popov 2025-07-29 07:56:41 UTC
Clang supports -mtls-dialect=gnu2 now, and we have enabled it in redhat-rpm-config in https://src.fedoraproject.org/rpms/redhat-rpm-config/pull-request/339, so closing this as complete.


Note You need to log in before you can comment on or make changes to this bug.