From nobody Fri May 03 23:24:21 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VWRhk27NBz5JlCV for ; Fri, 3 May 2024 23:24:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VWRhk148zz4klS for ; Fri, 3 May 2024 23:24:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714778662; a=rsa-sha256; cv=none; b=gYdaESjA4BzoF6pogtJabToyGOcWT2AFBOGvE31gsLnO7YpcVRO85F8Vt4RDwxSb7I1DNA D3NBPXt6Ty9zC/E5V+o9o9nIrk0yX6dhMsonb414HIuL/yZ656L4eOvhm2gPvZcyf0hPUB TyAJ++eIKMFDr/jYLoM4MSR6+I3dx+eADvjf8ojm+x0hZJ50XIEWW9vy5Nws4pi622pCT3 S8YIh27Ht3zrlWrQDZN8maT+sWr3NOTpzLzTq1rtJWqLxCMOD1BSfeJMaYTlemBQDHUAZP GthR1YejbznhqKESlqqpn4AuWCryEw3JxPk/0ogta5nCWi3TTfkzWQsvSIPZlw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1714778662; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cIePOkhKz+iemAgWShfsyzT6xnmDet0grSA2IUBmoR8=; b=A9RDreFI01bD7oVmfzFoLSn4oh/d1wVJZkBsmPHB9dQj4o1UMCvaE6eUXilDGxgcN4C5qO Yuz8wTqB8up6yVQWbrKo5kFf4/KIBX+EwV6QAEKimFe52hGkCQIqpFYFO4oGOFY4JzQ6uI L3GBr3Bpad7deWpgg6y625cCFEYpd7iZO0peMjq1SmWQAkLmVvkqGgxSfvBE299/xhSQzi OH72FMH5ujuh7PGthztrpwplIQ8R9PETOtTjq4URQlXsABnDjJKC/SiBENruUQ4zMZscQD P5BEbTAPgU7n/GxFeam/y+GS+1HQIPaMYhZltx7w22obyQxfMLuxg2+uD+2mIA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VWRhk0f8tz14gy for ; Fri, 3 May 2024 23:24:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 443NOLt0097276 for ; Fri, 3 May 2024 23:24:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 443NOLPW097275 for bugs@FreeBSD.org; Fri, 3 May 2024 23:24:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278701] Certain usage of thread_local and -fPIE results in an obscure message printout Date: Fri, 03 May 2024 23:24:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278701 --- Comment #2 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db27eb9ce96b838622e125fd969e8dc491= 4aabe18 commit b27eb9ce96b838622e125fd969e8dc4914aabe18 Author: Konstantin Belousov AuthorDate: 2024-05-03 09:32:01 +0000 Commit: Konstantin Belousov CommitDate: 2024-05-03 23:23:15 +0000 __cxa_thread_call_dtors(3): fix dtor pointer validity check When checking for the destructor pointer belonging to some still loaded dso, do not limit the possible dso to the one instantiated the destructor. For instance, dso could set up the dtr pointer to a function from libcxx. PR: 278701 Reported by: vd Reviewed by: dim, emaste, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D45074 lib/libc/stdlib/cxa_thread_atexit_impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=