From nobody Sun Apr 28 08:05:30 2024 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 4VRzXp6nb9z5JDZQ for ; Sun, 28 Apr 2024 08:05:30 +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 4VRzXp5cy8z4BJg for ; Sun, 28 Apr 2024 08:05:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714291530; a=rsa-sha256; cv=none; b=FHxrIW+d7EGTO2WZRYpJtB48fIjiFx8vAfv+sITy7WbV0GdL1+guxDS+r2yHJ4DpDvysSC 0309votIQ6QCXILL6GlyVkA9krIn3myrunT+jjswBW13q8krnvj2HEg+U5qhe3W/dIY7TH p1kTzKMhLqKY3EDQlvA34N+254d5FEoFZ4vZq8Pen7CuBFtmznyufAj3n7aVlyF2xpwBe+ +VJLpjCr+JOdq598AsmcYPUESQ5ezCdd+lGXr/+VW+TvPkWSIHdl78+gmV3SuCmjTAZMcR 9B/B24SVQxkMZUsS39BadbOdJWmoANkAXxxy7hc96eMpYT6SmSZg5FZBL0hK5g== 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=1714291530; 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=XHSnZoTuOYLQCm9bRZrYoUWJHHaKhu2dkJFzPxAmLls=; b=dGhSOCMXG+sZUUtqaqlM69sUPrUU2w7VX7by6fqNr3QGz0Dxdz1N/1GG/oKFum4tr2bXHH T1A26yHPcUvEjip6o3ugEqBNWLEUfR/wJIAe9Ha5au/yxDvBDk4bQgZT1+WZx14D1YM7wM WFpcYtYMQr9tf4C1NWt+2JBXLV7oobEp/llct8Na5xL5tOb+51tOPGWxyOrZDu2eNfw82Q b6KA6hkIOL2TPp7c7SL1+pL9zqlHa9fG14QRF46rzj/QsK/3d2QFaek58iH1nC4sozfba7 JkJ7iNiK1nNnzO23XxTUl3dHImUUyqoQdhIE5RSFYFBBlh1oXEAnnc0RUP6B8g== 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 4VRzXp5FgNzHPy for ; Sun, 28 Apr 2024 08:05:30 +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 43S85U4v047693 for ; Sun, 28 Apr 2024 08:05:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43S85U5D047692 for ports-bugs@FreeBSD.org; Sun, 28 Apr 2024 08:05:30 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 276104] [exp-run] Against llvm-18-update branch on GitHub Date: Sun, 28 Apr 2024 08:05:30 +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-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: 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 MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276104 --- Comment #147 from commit-hook@FreeBSD.org --- A commit in branch stable/14 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D43fae14940a5db63e30acd48c2d1a2fcc= 35f6aaf commit 43fae14940a5db63e30acd48c2d1a2fcc35f6aaf Author: Dimitry Andric AuthorDate: 2024-04-25 16:47:31 +0000 Commit: Dimitry Andric CommitDate: 2024-04-28 08:03:46 +0000 Merge commit 0f329e0246d1 from llvm-project (by Dimitry Andric): [sanitizer_symbolizer] Cast arguments for format strings in markup (#89815) When compiling the common sanitizer libraries, there are many warnings about format specifiers, similar to: =20=20=20=20=20=20=20=20=20 compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:31:32: warning: format specifies type 'void *' but the argument has type 'uptr' (a= ka 'unsigned long') [-Wformat] 31 | buffer->AppendF(kFormatData, DI->start); | ~~~~~~~~~~~ ^~~~~~~~~ =20=20=20=20=20=20=20=20=20 compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:33= :46: note: format string is defined here 33 | constexpr const char *kFormatData =3D "{{{data:%p}}}"; | ^~ | %lu =20=20=20=20=20=20=20=20=20 compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup.cpp:46:43: warning: format specifies type 'void *' but the argument has type 'uptr' (a= ka 'unsigned long') [-Wformat] 46 | buffer->AppendF(kFormatFrame, frame_no, address); | ~~~~~~~~~~~~ ^~~~~~~ =20=20=20=20=20=20=20=20=20 compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_markup_constants.h:36= :48: note: format string is defined here 36 | constexpr const char *kFormatFrame =3D "{{{bt:%u:%p}}}"; | ^~ | %lu ... This is because `uptr` is dependent on the platform, and can be either `unsigned long long`, `unsigned long`, or `unsigned int`. To fix the warnings, cast the arguments to the expected type of the format strings. PR: 276104 Reported by: pstef MFC after: 3 days (cherry picked from commit f08bf5a3acf146b17794fbde41279645ddbaa086) .../lib/sanitizer_common/sanitizer_symbolizer_markup.cpp | 10 ++++++= ---- .../sanitizer_common/sanitizer_symbolizer_markup_constants.h | 6 +++--- 2 files changed, 9 insertions(+), 7 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=