From nobody Fri May 08 18:16:22 2026 X-Original-To: ports-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 4gBy463tjfz6clQX for ; Fri, 08 May 2026 18:16: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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gBy463FGFz3bbH for ; Fri, 08 May 2026 18:16:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1778264182; 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=yHmBkky0pg9vp1p42NWOElOXcft0CbiOBmPL2TG+W1U=; b=QkiHVCyyfPmRJM4LZkBywOI1qchLvbXSETbIwG2wtJglVAIY6HApkQ5SIzdeelGdc1yRm9 N49p8brtsgGWRR90fuHZQ3LqhnLDTzXfOzk6Y1DMlleScjjHtcbNKGYeczyyeENUzkOWRa HF+C7r9itcjpitTlBnDL72ODhWJXRJ7u6aMzfXxBtvNIl5RVDqqFgyOH4P0HfPv/l3itT9 yw8bSNjQxBbU5RmMW8oYJIymbezCRIGDQj0EsiL0NbF0uy1bfqlcdoxZFwOKAI5meOaREl 42Q/dfb7mQq/nrGoo+zQpdCS9HUo3LOc8Y/x2Z0IlFVhKaRSj5UNKoZ6K/3k9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1778264182; a=rsa-sha256; cv=none; b=VD+fOHaX8LvWgfDRhjdsc1UEYWOhqnudhSS1WEx4Ho+QNZS6bXBk8Gdw6v/xjYMzaO+nzw BdEtYOv1IA8jZQQu7EyX9Lik+IVAgmFNjVFEhT/trf/PyuN1puRFJKVWNWcsP0SV7YX4dh +PnHQGxUL59R0+0N85UGKyY06jOsILgIm9y9jzCeB63SG9Px/xZyB8S/MQbA22q+pl2tbV d04uwFUiQGCGnXWK8BXUh4A6QbdOI3+gP6NlNWFTgYVsqoGbXKeet9Wsf/tCgffq/7UEAq QSOwV8hQA4MvZ5NVzlpbmNr4NgwRGoHG9Fq/6iVXPAZtYCxmWozhb1ki2iSV/g== 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=1778264182; 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=yHmBkky0pg9vp1p42NWOElOXcft0CbiOBmPL2TG+W1U=; b=wKKaO6OTFHDuzbC0kyyJoQspugiXQBDRHz7VOtOc8S8o8UDScXQMOta1/sT17/+W5R+N3r abDV1S0j/W+E+BuOipvEpP3N2arEXNdCH/VtaDPLt8Y1d2lPl0iloPoPMJ5iNF+R2qSOST Ft/V2r+3IqhGYmo72rPFyCvPKm/cCdpwzbFlrKo6a6TatOcuhiGM861aqFdhnxYSsXcGW9 lBG9q2s3MSY0gawA5YYJ4thqFLKEWaz0gjsaEh7pzmfGCT/AwIihDKF6X5ul27Aeo4EoFi psYLIqXHE2kFuS6uzwv0p/bHK4y5tR8i5G7rq7Py27KeSoLepGp+WDCvQZO0cA== 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 4gBy461j8Tz7wX for ; Fri, 08 May 2026 18:16: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 648IGMHC003334 for ; Fri, 8 May 2026 18:16:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 648IGM5Q003333 for ports-bugs@FreeBSD.org; Fri, 8 May 2026 18:16:22 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: ports-bugs@FreeBSD.org Subject: [Bug 292067] [exp-run] Against llvm-21-update branch on GitHub Date: Fri, 08 May 2026 18:16:22 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Ports Framework X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: portmgr@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D292067 --- Comment #118 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Dd9b272a19d39f71665b529860bfed731b= cfd99f5 commit d9b272a19d39f71665b529860bfed731bcfd99f5 Author: Dimitry Andric AuthorDate: 2026-05-08 17:59:54 +0000 Commit: Dimitry Andric CommitDate: 2026-05-08 17:59:54 +0000 Merge commit 871038759afb from llvm git (by Marco Elver): Thread Safety Analysis: Fix pointer handling of variables with deprec= ated attributes (#148974) de10e44b6fe7 ("Thread Safety Analysis: Support warning on passing/returning pointers to guarded variables") added checks for passing pointer to guarded variables. While new features do not necessarily need to support the deprecated attributes (`guarded_var`, and `pt_guarded_var`), we need to ensure that such features do not ca= use the compiler to crash. As such, code such as this: struct { int v __attribute__((guarded_var)); } p; int *g() { return &p.v; // handleNoMutexHeld() with POK_ReturnPointer } Would crash in debug builds with the assertion in handleNoMutexHeld() triggering. The assertion is meant to capture the fact that this help= er should only be used for warnings on variables (which the deprecated attributes only applied to). To fix, the function handleNoMutexHeld() should handle all POK cases that apply to variables explicitly, and produce a best-effort warning. We refrain from introducing new warnings to avoid unnecessary code bl= oat for deprecated features. Fixes: https://github.com/llvm/llvm-project/issues/140330 This fixes an assertion while building the net/openvswitch port: "Assertion failed: ((POK =3D=3D POK_VarAccess || POK =3D=3D POK_VarDere= ference) && "Only works for variables"), function handleNoMutexHeld, file /usr/src/contrib/llvm-project/clang/lib/Sema/AnalysisBasedWarnings.cpp, line 2120.' Reported by: cy PR: 295101, 292067 MFC after: 1 month .../clang/lib/Sema/AnalysisBasedWarnings.cpp | 25 +++++++++++++++++-= ---- 1 file changed, 20 insertions(+), 5 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=