From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1D6B0386D604; Thu, 15 Feb 2024 21:07:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1D6B0386D604 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708031269; bh=3HI4DjAsS1QJJb0ZtnwZj1KvehXUsef4Vnr13pzfYn8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=IF4kqNSD0E0DVjpn3lIFnns7Q1KDM5yDPsRReErhR88n9//71KVV+YseWyjbSxxF5 vwUayJDBATkM2ACqufDbHjZxvlXoReXbay7p0TldNUgOx+RpZb5Mvnk4vwJEsCaxWZ MivchSB2umYQRIFI4Kmzf+zAgALjUIFfU3Kb+rt8= From: "sam at gentoo dot org" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/31372] _dl_tlsdesc_dynamic doesn't preserve all caller-saved registers Date: Thu, 15 Feb 2024 21:07:48 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: 2.40 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: sam at gentoo dot 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: security- 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=3D31372 --- Comment #8 from Sam James --- (In reply to H.J. Lu from comment #7) > (In reply to Sam James from comment #6) > > I feel like this emphasises that we need to look at > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D48868. >=20 > GCC testsuite isn't set up to support run-time tests with extra library > dependencies. For now, we can add GNU2 TLS run-time tests to glibc. gcc.dg/torture/tls has some basic tests but only with a single TU. We could= add -mtls-dialect=3Dgnu2 to tls.exp in DG_TORTURE_OPTIONS but it would not gai= n us much. I hoped that there might be some for IPA or LTO but looks like no. > My glibc patch: > [...] > includes one. So far, it has detected the GNU2 TLS bug on 3 arches. Ah, thanks, I hadn't looked at it. I guess this with nsz's previous tests should give us OK coverage for now. --=20 You are receiving this mail because: You are on the CC list for the bug.=