From nobody Thu Apr 25 16:48:56 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 4VQMJC1kX5z5J6JC for ; Thu, 25 Apr 2024 16:48:59 +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 4VQMJC0ZyLz4M6R for ; Thu, 25 Apr 2024 16:48:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1714063739; a=rsa-sha256; cv=none; b=ZyiyBROZT1tvi+4d/45SR2Qne75Wzm6sQPevcDjymhybF0IBjmZyDKDt8nk79BT3NjAV2h RL+kx+gc6VJhyce1SA9+9HbjbekSumGJeb/cH0p/SBjTEq3fbUoK2i1NFQ+z54R8RA8x8b kdlGTUfRv15PI+zPFMkqkSfe8IssZ02VHyTdlryfxKWrd8kNyDki9ROhnKqgTk/bMvceDc +aWKEO4j2SW1QDumE7eKbPnB0rfnPNnewAIWrWTqb7Opy1vs5fa4q3rkSfNwpHI/fj3zZ9 gAm7mK71gcSYh+aDG+vl3NpzFYExd6KHBjPWq7QgYWMWjcLodx4QeFRfmarwlA== 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=1714063739; 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=XZ1aSMim0E99mQOxGoWcQzUCVJmUVCiul1vkLrrBhZc=; b=PkoNot+PvTQwyG4hUeOQWjcQXztQfSCtMtpTst4UZ8uw7Xmkn3fIXVNweAehrSDZef6D4D 8a378LDVNSUMjVRSVjBvB84FThUooFMx8+fDf9pDNuB3B7a7gZbkV9z1W+aXnjC9QnoIqy eva5Yiyhg9e4qdchcssHTjltqGIwABpkKTpaMfaSLfV7pnn5JEQzWBUrT8ncFkzuyWXhMd pePMyE2hA/RsCkbCMFLS1PhXFKyXg/xAIs+0HzNpY8WBZrHMA0tc7UNLnu6QVsrnKzolZH YfDivOAnIi+gywuUcPYKWWgQOlY9sZjm5tCRHBOyVEYboqX85M0xDyM1+bF/hA== 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 4VQMJC0B8Dz16Sm for ; Thu, 25 Apr 2024 16:48:59 +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 43PGmwbm088378 for ; Thu, 25 Apr 2024 16:48:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43PGmwmP088372 for ports-bugs@FreeBSD.org; Thu, 25 Apr 2024 16:48:58 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: Thu, 25 Apr 2024 16:48:56 +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 #146 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3Df08bf5a3acf146b17794fbde41279645d= dbaa086 commit f08bf5a3acf146b17794fbde41279645ddbaa086 Author: Dimitry Andric AuthorDate: 2024-04-25 16:47:31 +0000 Commit: Dimitry Andric CommitDate: 2024-04-25 16:47:47 +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 .../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.=