From nobody Tue Dec 31 14:00:53 2024 X-Original-To: dev-commits-ports-main@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 4YMvkt0QJ7z5jV5Z; Tue, 31 Dec 2024 14:00:54 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YMvks6Nwwz4nR8; Tue, 31 Dec 2024 14:00:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735653653; 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; bh=y3HeR+IX7ed3MoWUws9voaMN3FOwYp/uzv+JvOXvVPo=; b=bFj7WKMTE0UVipd+XOlEuP1BiYMq4D4ww6nv0mhBTj5buDAh+Kq9obqr0k7GwSUbfJJVqa e2CAu9YKtgPSpFm9B87VPKQOmDy4RjRO3jPdSDEL/nXa/0y2Kt8LqIvJpWmrR0+18BCZJg bpys/MtF/yrxJQYlLuVk+IIqlTs7dAaNsUvmaQsXi41B+aZDvU8Kn301T4rDDQUP0h5hfK AYhzO6zVWJKyjTCO/eY0VAbPDWuJMMG25m6HUr+07DJ9KWrhXGV2KAgkCxdmJtYgf/tG/Z jcm2N0H4yKBiTVqiIQBukRoS3TR4k5fG/hMLcZFdP5xqXVp8ANa1zrHUb2QYEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735653653; 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; bh=y3HeR+IX7ed3MoWUws9voaMN3FOwYp/uzv+JvOXvVPo=; b=tGlbuCTdepQoJUCHNLydi4gqYaFUKP7g7l3nOLVBo+nmQTNXsbg/K8Rrq59yeUOtO79bbi KVHdsHMguK9gIfIKKyY5uzz4/hRdGbq+MBM0hcBL5ulU4E8RxZzpwy6qwY1hKEHRzukvk8 7ehKykMa3OukV3I7ilHKULgwvxD5SVEdk1C4Pl1mKX/QA+Cf2A2jYv+5R05RNVnBMhxCTF labgbGjqrMej+9DrPmuL2Nz+DImWaF0uduXh6X5w/J1XRRDUAYEkr4x5zIH0krjeEETbct dVq/KL9bpKz/VmLkG/R9bsll6yUqgAsZz7DfRCJfFOGXIPUsZTERLOggzCN9Tg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735653653; a=rsa-sha256; cv=none; b=cCB+jUIsIzWXdCLmUAzdUNQtrXYsogRgbHAxEH2DFwX3AFUyifvi7W3RRlCNPnD1CrO96Y vzsnET8jK4tlm8YvgNsmpDTM+lHBEJpxWsySMO3tNuqK4hzFvdWWfuOKU8ILGCncmAKYuF Wx6ds2VGlAqt0HZac1CyJRSz2tu6GIqEf91caiGwZZPhqws4a2/I4UKOL+5z6BtDzo0MLZ 9hKDTUNhF0m6SEuEuNrIXoqEIyzl0vgdDP/1jMUyJlP6UD7CL3JlReR9VkEO/IJB0t2jLi OZ8Y16WyfavS28Tc8OCku25oyrSdDBhZqOC+5WuSVAKz2zvL0dIUFzu6nBs4Hw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4YMvks5T4mzj3K; Tue, 31 Dec 2024 14:00:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BVE0rOq053777; Tue, 31 Dec 2024 14:00:53 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BVE0rPH053774; Tue, 31 Dec 2024 14:00:53 GMT (envelope-from git) Date: Tue, 31 Dec 2024 14:00:53 GMT Message-Id: <202412311400.4BVE0rPH053774@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 0f3e16d9b5ba - main - devel/benchmark: fix build on powerpc List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0f3e16d9b5baec882f0b5ca7742f31b4a25a3ae6 Auto-Submitted: auto-generated The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=0f3e16d9b5baec882f0b5ca7742f31b4a25a3ae6 commit 0f3e16d9b5baec882f0b5ca7742f31b4a25a3ae6 Author: Piotr Kubaj AuthorDate: 2024-12-31 12:08:41 +0000 Commit: Piotr Kubaj CommitDate: 2024-12-31 14:00:04 +0000 devel/benchmark: fix build on powerpc Issue in powerpc-specific code: In file included from /wrkdirs/usr/ports/devel/benchmark/work/benchmark-1.9.0/src/sysinfo.cc:78: /wrkdirs/usr/ports/devel/benchmark/work/benchmark-1.9.0/src/cycleclock.h:99:10: error: implicit conversion changes signedness: 'int32_t' (aka 'int') to 'uint32_t' (aka 'unsigned int') [-Werror,-Wsign-conversion] 99 | tbl &= -static_cast(tbu0 == tbu1); | ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /wrkdirs/usr/ports/devel/benchmark/work/benchmark-1.9.0/src/cycleclock.h:101:46: error: implicit conversion changes signedness: 'uint64_t' (aka 'unsigned long long') to 'int64_t' (aka 'long long') [-Werror,-Wsign-conversion] 101 | return (static_cast(tbu1) << 32) | tbl; | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ 2 errors generated. --- devel/benchmark/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/devel/benchmark/Makefile b/devel/benchmark/Makefile index a8d7f630e4e4..6a7c49430759 100644 --- a/devel/benchmark/Makefile +++ b/devel/benchmark/Makefile @@ -23,6 +23,7 @@ CMAKE_OFF= BENCHMARK_ENABLE_TESTING CMAKE_TESTING_ON= BENCHMARK_ENABLE_TESTING # BENCHMARK_DOWNLOAD_DEPENDENCIES CMAKE_TESTING_ARGS= -DGOOGLETEST_PATH=${WRKSRC_googletest} +CFLAGS+= -Wno-error=sign-conversion CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} CXXFLAGS_gcc= -Wno-stringop-truncation PIE_UNSAFE= yes