From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B9E2158086 for ; Sun, 24 Oct 2021 06:58:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93A16E0833; Sun, 24 Oct 2021 06:58:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72C29E0833 for ; Sun, 24 Oct 2021 06:58:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9E40534364F for ; Sun, 24 Oct 2021 06:58:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BFC379 for ; Sun, 24 Oct 2021 06:58:31 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1635058650.d3887e9f15fade5c6dbbd79a11bb5a54a3e18c6a.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/crc32c/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/crc32c/crc32c-1.1.2-r1.ebuild dev-libs/crc32c/crc32c-1.1.2.ebuild X-VCS-Directories: dev-libs/crc32c/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: d3887e9f15fade5c6dbbd79a11bb5a54a3e18c6a X-VCS-Branch: master Date: Sun, 24 Oct 2021 06:58:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 733e2c7d-db24-4003-9e5c-cdb73f5c638f X-Archives-Hash: 5c850928771e1f22970ad2e79a915373 commit: d3887e9f15fade5c6dbbd79a11bb5a54a3e18c6a Author: Arthur Zamarin gentoo org> AuthorDate: Sun Oct 24 06:53:06 2021 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Sun Oct 24 06:57:30 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3887e9f dev-libs/crc32c: fix for arm64 without crc32 On arm64, the build system decided if the current CPU supports crc32 instructions, but forcing the compiler to support it and then checking if it compiles. By removing the forcing, we really check if the arch supports it. Bit thanks to Sam James gentoo.org> for testing and finding the issue in build system. Closes: https://bugs.gentoo.org/818874 Signed-off-by: Arthur Zamarin gentoo.org> dev-libs/crc32c/{crc32c-1.1.2.ebuild => crc32c-1.1.2-r1.ebuild} | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-libs/crc32c/crc32c-1.1.2.ebuild b/dev-libs/crc32c/crc32c-1.1.2-r1.ebuild similarity index 91% rename from dev-libs/crc32c/crc32c-1.1.2.ebuild rename to dev-libs/crc32c/crc32c-1.1.2-r1.ebuild index 6eee30bb278..e7e06e01ec2 100644 --- a/dev-libs/crc32c/crc32c-1.1.2.ebuild +++ b/dev-libs/crc32c/crc32c-1.1.2-r1.ebuild @@ -24,7 +24,9 @@ PATCHES=( DOCS=( README.md ) src_prepare() { - sed -e '/-Werror/d' -i CMakeLists.txt || die + sed -e '/-Werror/d' \ + -e '/-march=armv8/d' \ + -i CMakeLists.txt || die cmake_src_prepare }