From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E9AD23858434; Thu, 29 Feb 2024 19:07:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E9AD23858434 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1709233662; bh=nGoAox0Dii2M7y7zAHP5R15scFa33ZVZrJq4W1eOU7U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=cQ5e/PUfXZJLUpIcKuRsa9mmNgiuihy+bwai658YTGFaeHMvaPS+kzEUJaXwmWvbs GeaWpFqJrx3PalzPQV2DZHEp9K106bjkVsQyAW7dVXRqmURxBORFdD65OlbdHiOxLf J5BZMjJxhJngQBrH47OYHjEwAs6P+jxmTgUjN4h8= From: "pinskia at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug threads/27886] static thread_local on aarch64 are broken in gdb Date: Thu, 29 Feb 2024 19:07:42 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: threads X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27886 --- Comment #4 from Andrew Pinski --- (In reply to Tom Tromey from comment #3) > It would be interesting to see the DWARF DIE for 'v1'. > Normally these end up with DW_OP_form_tls_address -- which > on Linux ends up just calling into libthread_db. Right and DW_OP_form_tls_address requires dtprel relocation support which is not currently there for aarch64, see bug 28351 for the binutils support and https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D97344 for the GCC side suppo= rt. it looks like clang/LLVM will need similar support added too. The ABI does define a dtprel relocation even. --=20 You are receiving this mail because: You are on the CC list for the bug.=