From nobody Sat Mar 23 14:58:03 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 4V22PS1b9Vz5F82J; Sat, 23 Mar 2024 14:58:04 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4V22PR6cmxz58rh; Sat, 23 Mar 2024 14:58:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711205883; 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=s43fUE0bjzRblwpZILPABB6+7D8bE7H/h0Wdy/nj5Zo=; b=phFqw+XObkD5VXdA+0PYKjZUux2MzAACeYvN0UX7qk4Yk2OMtzdY/sImLGM2dGahsaIjQx V9tQmhV9TbrLP5TQdHN1yjNBx5TaFORYZh1J/8r1DzchzoUUgXzlM8ov590yuL0lvp4VWi K8MWwONOXIx5jc4QiRVP4cOFwe8W+50FudAaLmv593TDuLpfWZwJwwRNYyLbIf40Cg1G1C lsLtakOocBqM5P7S8S2uDfOFDhm8lNma4rYT/FETojt+mPqOf2vRyuoR3zU9xarP4SBcnc PExTwO4KVjoKh35Ca+9Hc4uea37lxmcYNIl2WjLylja0EGqcP/6L3kKL1rIoYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711205883; a=rsa-sha256; cv=none; b=eJpcIjlX4C3V5p0n/FGIiim55JznLsCga9mSiH+I/lg840131hMS1LZ4Bj2O/0iM9ufam+ gbSXGcWOR+bIU6V3WauMLKu+RNsy0ZsXBUUdFXqqDa/rLALSCPip9cACksEDtBqv1OaSV3 Dr52uVHhQLfcsR+s4u6Cx7Hn8qoOjtbMOsvaU11TpdIjw6QN3EDKasrOaWsd4Wo54s33OM vevqnZSEd703wCZaj0yLBx7PrDdwyC3ibti2DdCTuAYV70um1r9VQqsCgODwM0xWnUEQ6X hDeBVSQjrsX4uT+uijZI/1Ehlb8bhCAZ8sXKdiHKmIF3Qa+WD1fYCIC2gsf4Hg== 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=1711205883; 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=s43fUE0bjzRblwpZILPABB6+7D8bE7H/h0Wdy/nj5Zo=; b=tgPXMRxSdjnJTFtS1RUxqlcKDdYXc2BRvpgr/DrivfW2UFKMcpyNHVB2c6301rNP+stdyp aiLsJRpCseL/pm5GAynV9rj4+lqpemcx79KisuqmqHJep83nmRZWS8T6viBm/U///TPztA PDyHt1uHIfePbYNcnIJexysPLNzAqOyEP5qFzMnFXh2AGGJK6y4d0zkYB5ejotvDmSVdxw jWURA0R7zIsg/R6Z6be0WKECvuuCnBQh7ePDzQiU0T8MZXqAJIRZPQGIG2/99HdayxSS6h dr942XqGfjNdaF1oJoLtF0HdveGT+0f2nY/QvTOnrtLFwF3hk9EDhtq+lDrHUw== 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 4V22PR6Cqyzt5g; Sat, 23 Mar 2024 14:58:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 42NEw3JU084608; Sat, 23 Mar 2024 14:58:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42NEw3P9084605; Sat, 23 Mar 2024 14:58:03 GMT (envelope-from git) Date: Sat, 23 Mar 2024 14:58:03 GMT Message-Id: <202403231458.42NEw3P9084605@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 7602c851f19d - main - databases/rocksdb: Fix build on aarch64 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7602c851f19dcc7c9ac358baf3c7925acd937ce6 Auto-Submitted: auto-generated The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7602c851f19dcc7c9ac358baf3c7925acd937ce6 commit 7602c851f19dcc7c9ac358baf3c7925acd937ce6 Author: Po-Chuan Hsieh AuthorDate: 2024-03-23 14:18:09 +0000 Commit: Po-Chuan Hsieh CommitDate: 2024-03-23 14:30:39 +0000 databases/rocksdb: Fix build on aarch64 util/crc32c_arm64.cc:60:16: error: use of undeclared identifier 'AT_HWCAP' elf_aux_info(AT_HWCAP, &auxv, sizeof(auxv)); ^ util/crc32c_arm64.cc:89:16: error: use of undeclared identifier 'AT_HWCAP' elf_aux_info(AT_HWCAP, &auxv, sizeof(auxv)); ^ 2 errors generated. Reference: https://pkg-status.freebsd.org/ampere3/data/132arm64-default/1e21f425f6c4/logs/rocksdb-8.11.3.log Tested on: ref14-aarch64 --- databases/rocksdb/files/patch-aarch64 | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/databases/rocksdb/files/patch-aarch64 b/databases/rocksdb/files/patch-aarch64 index 31790f595624..d256ce95b119 100644 --- a/databases/rocksdb/files/patch-aarch64 +++ b/databases/rocksdb/files/patch-aarch64 @@ -1,14 +1,11 @@ ---- CMakeLists.txt.orig 2021-06-25 21:15:04 UTC -+++ CMakeLists.txt -@@ -612,6 +612,11 @@ if(HAVE_AUXV_GETAUXVAL) - add_definitions(-DROCKSDB_AUXV_GETAUXVAL_PRESENT) - endif() - -+check_cxx_symbol_exists(elf_aux_info sys/auxv.h HAVE_ELF_AUX_INFO) -+if(HAVE_ELF_AUX_INFO) -+ add_definitions(-DROCKSDB_AUXV_GETAUXVAL_PRESENT) -+endif() -+ - include_directories(${PROJECT_SOURCE_DIR}) - include_directories(${PROJECT_SOURCE_DIR}/include) - if(WITH_FOLLY_DISTRIBUTED_MUTEX) +--- util/crc32c_arm64.cc.orig 2024-02-28 00:24:11 UTC ++++ util/crc32c_arm64.cc +@@ -10,7 +10,7 @@ + #if defined(__linux__) + #include + #endif +-#ifdef ROCKSDB_AUXV_GETAUXVAL_PRESENT ++#if defined(ROCKSDB_AUXV_GETAUXVAL_PRESENT) || defined(__FreeBSD__) + #include + #endif + #ifndef HWCAP_CRC32