NetBSD Problem Report #58550
From www@netbsd.org Sat Aug 3 21:37:56 2024
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 7A1281A923C
for <gnats-bugs@gnats.NetBSD.org>; Sat, 3 Aug 2024 21:37:56 +0000 (UTC)
Message-Id: <20240803213755.6D8A71A923E@mollari.NetBSD.org>
Date: Sat, 3 Aug 2024 21:37:55 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: ld.elf_so misinterprets certain Arm TLS relocations
X-Send-Pr-Version: www-1.0
>Number: 58550
>Category: lib
>Synopsis: ld.elf_so misinterprets certain Arm TLS relocations
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 03 21:40:00 +0000 2024
>Originator: Taylor R Campbell
>Release: current, 10, 9, ...
>Organization:
The R_NETBSD_TLS_TPREL Foundation
>Environment:
>Description:
1. ld.elf_so misinterprets R_AARCH64_TLS_TPREL and R_ARM_TLS_TPOFF32 relocations, in netbsd-9. (Fixed in 10 and current.)
2. We have no automatic tests for this issue.
>How-To-Repeat:
dunno
>Fix:
https://mail-index.netbsd.org/source-changes/2020/06/16/msg118406.html
https://mail-index.netbsd.org/source-changes/2020/06/16/msg118407.html
and we need tests
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.