From nobody Mon Aug 26 08:13:48 2024 X-Original-To: dev-commits-ports-all@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 4Wsk310Gxqz5VTfV; Mon, 26 Aug 2024 08:13:49 +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 4Wsk306bXbz4CfM; Mon, 26 Aug 2024 08:13:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1724660028; 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=Uij1GomQQnVdatdDe2jvuZN2JAI36Es/tpP4orISSHY=; b=VtNTjc+OJdsfkLr/F1kvWrsdF5OMrz81ZJ0m0pFOQeY/SCdh7KElGqStBKQFslp/HXmtnc Gbw9ttSrndKYwBVv6a1k7+vLXJaoYPILogxnrigI512s1pFn4kPDBKLO0/ccgL/gQqDozL xtJiWkmn+ztM6ZHH3OJ+EQajvh1RkyuS5qBrOimMKqmHz2ImG4/HSzVxtKh3AkrBdOKw/Q eXHE7FP3gTMRtMjEn2U0zr5Ab9MEn9rEnAeVlt1JUXjdDLU7+1O11LFFOsKvkamSQhTxn/ Jy5UMa48iBj0OsLOuCgep/x8maeYonkuMKWFDeyapqrjes6qrL1fSfG1JbTs1g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1724660028; a=rsa-sha256; cv=none; b=m2fGujdZnfVAzNIVMJhFP4PXPYtmDKao34V7DNA0Hen69y8dOK+6cE5hj7ScwX7aanSxyB 3TBTKuhE/zWTofY0jJIYCapPg/A7G6473UDC7NlY+HgySFjnSacwDQmgZwuB1ocvNQBwg5 VuEAV7UbxniR1Xylr+uKSw1ts95e7VEKyNMOvWRUSrovBFLEszfFSap82vOeQBSNXxmbz5 MhhnSLZO7LvZ7Bo8V2wuHZ329RXWw2oWMXHZg9KUtr7h+0rRp0NfP8VYTXMD3BJNnevBZU E1+OymbtYSCFqupfOWzA+22StuXJN4/J7eXfU85ddNhoY3wGuXUjMLizG9wL4g== 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=1724660028; 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=Uij1GomQQnVdatdDe2jvuZN2JAI36Es/tpP4orISSHY=; b=ZiSs2bO5R0l6rfl8RyS7yUBL5ET51v3cCDSouMXkzVizoR26CF7/ce20Y7WRweUaVk8Q2I 2ej1i87DOn/q7+daPGSMkISWYGSrwPMHB4uBhw6X4/Ef8t5PpxAQwiTNEflOB1R2fjH7HZ 3ASGhELAj+hJHQN9DyFQb1UlYip9GieyCmnyrNQDIh5TL1YfxAgTkmxeldV48IK6gxB4Fo lU/e45oPBlLQSaJGh9nP3rPL4jxteDi67BpVTfG/RonP3Odncoek5TA7Xgk+YzeScKRWm2 awbFon/JzqHJuWj21gomkeSC8vJ2z19zM8oP8Hz+SBbXU135lhZqyhDl/M9Jew== 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 4Wsk306BRgz102K; Mon, 26 Aug 2024 08:13:48 +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 47Q8DmhG041345; Mon, 26 Aug 2024 08:13:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47Q8Dm1l041342; Mon, 26 Aug 2024 08:13:48 GMT (envelope-from git) Date: Mon, 26 Aug 2024 08:13:48 GMT Message-Id: <202408260813.47Q8Dm1l041342@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Mikael Urankar Subject: git: 90179a1242bc - main - databases/mysql84-server: Fix SIGILL on aarch64 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mikael X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 90179a1242bc8aec6bd15491841049ee823ed320 Auto-Submitted: auto-generated The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=90179a1242bc8aec6bd15491841049ee823ed320 commit 90179a1242bc8aec6bd15491841049ee823ed320 Author: Mikael Urankar AuthorDate: 2024-08-23 17:19:58 +0000 Commit: Mikael Urankar CommitDate: 2024-08-26 08:13:37 +0000 databases/mysql84-server: Fix SIGILL on aarch64 We want to check HWCAP_PMULL not HWCAP_CRC32. Approved by: portmgr (trivial runtime fix) PR: 280165 --- databases/mysql84-server/Makefile | 2 +- databases/mysql84-server/files/patch-storage_innobase_ut_crc32.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/databases/mysql84-server/Makefile b/databases/mysql84-server/Makefile index aa16428a1ce3..684cd4306543 100644 --- a/databases/mysql84-server/Makefile +++ b/databases/mysql84-server/Makefile @@ -1,6 +1,6 @@ PORTNAME?= mysql PORTVERSION= 8.4.2 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= databases MASTER_SITES= MYSQL/MySQL-8.4 PKGNAMESUFFIX?= 84-server diff --git a/databases/mysql84-server/files/patch-storage_innobase_ut_crc32.cc b/databases/mysql84-server/files/patch-storage_innobase_ut_crc32.cc index af15dd2ee114..4a2609cc1491 100644 --- a/databases/mysql84-server/files/patch-storage_innobase_ut_crc32.cc +++ b/databases/mysql84-server/files/patch-storage_innobase_ut_crc32.cc @@ -17,7 +17,7 @@ + + if (elf_aux_info(AT_HWCAP, &capabilities, sizeof(unsigned long))) + return false; -+ return capabilities & HWCAP_CRC32; ++ return capabilities & HWCAP_PMULL; +} +#else bool can_use_crc32() { return getauxval(AT_HWCAP) & HWCAP_CRC32; }