From nobody Sun Apr 28 08:05:32 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 4VRzXs35pDz5JDX3 for ; Sun, 28 Apr 2024 08:05:33 +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 4VRzXs1DsSz4B7x for ; Sun, 28 Apr 2024 08:05:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714291533; a=rsa-sha256; cv=none; b=niOtdlAcqqYs7WEUFkMXBcU5TT50jTA6eOXmrvdrtb4O3PVE873IPS4vbCs2CflfXQUMDJ 31aoRUsdG7FW2iTtGd6EQucRlLCbE7VVgSjMZlPS5jVL1Jyof+N+ZmcVK43xRID+Xtnv22 k3PRkU7EnWmaxxRkXH/Tx+guZAsXV5pwcMFFPUUAF95jvd5YhVIixV1rBug/RFSwr3Wiy5 +HXelIl623keYhBN303Yx//c6BJyYziw1Mi07FXiC9VwtZb48GyLHAqOQAG/73bR7BsZaU obby5PjrtyTZ1qFMP+6849Qi8/ORmqXZ41t28/9HJvJ4lwIyux+vZHAkZRaeDQ== 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=1714291533; 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=c94B5hD2gCozLXMgMH38hSA18aav/YkG/v3Ra8pLx6Y=; b=BodL3eyiqp7sltxtMoaKhXwhhPSedRxiHl1BB7tYiRHdsvF4bu/MvaAxqjcm/Fu4FkOxLg JZoYzcDXb1gzDIqjfyqzHGLjt8IlrPOwtQd+JuOK9V7ROE89qmCw04ZVg/gldd8jBpfLMi C5foHF8cIVRmZeI1GM91usMFJCvO6qhy1r5FSuOrU3zK9V9MXU28RFqbuqCMg5ySd/yrWl JOLXz9K3wR39L/wULjYQJvMa6p1nZQBPEX5sGFOfCEiKBPDKfNc2v2GHrlxNAL9yCbW9pO OhCKDTB8FT7SZtf9M9//CZhQV5atSnV24eU60ISEdAQ+SKJ+KheCeyoGpRftjA== 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 4VRzXs0rxSzHQ2 for ; Sun, 28 Apr 2024 08:05:33 +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 43S85XO9047843 for ; Sun, 28 Apr 2024 08:05:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43S85XTq047838 for ports-bugs@FreeBSD.org; Sun, 28 Apr 2024 08:05:33 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:32 +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 #148 from commit-hook@FreeBSD.org --- A commit in branch stable/13 references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Db9b248b1df62579913ce93ef4583e185e= 798a717 commit b9b248b1df62579913ce93ef4583e185e798a717 Author: Dimitry Andric AuthorDate: 2024-04-25 16:47:31 +0000 Commit: Dimitry Andric CommitDate: 2024-04-28 08:04:33 +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.=