From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 913CD158287 for ; Fri, 16 May 2025 22:16:36 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7899534368A for ; Fri, 16 May 2025 22:16:36 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 7555011036D; Fri, 16 May 2025 22:16:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 69F2D11036D for ; Fri, 16 May 2025 22:16:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 14D1334368A for ; Fri, 16 May 2025 22:16:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BC6FDA7 for ; Fri, 16 May 2025 22:16:33 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1747433620.2301daaf547f83a104767c0302f7e526be747ae5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/rhash/rhash-1.4.6-r1.ebuild app-crypt/rhash/rhash-1.4.6.ebuild X-VCS-Directories: app-crypt/rhash/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2301daaf547f83a104767c0302f7e526be747ae5 X-VCS-Branch: master Date: Fri, 16 May 2025 22:16:33 +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: abc6cf67-381d-44a3-855a-7985ceb21560 X-Archives-Hash: d734e0f1dce098e585f71d78b0070a94 commit: 2301daaf547f83a104767c0302f7e526be747ae5 Author: Sam James gentoo org> AuthorDate: Fri May 16 22:13:40 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri May 16 22:13:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2301daaf app-crypt/rhash: don't automagically enable SHA rhash-1.4.6 adds use of SHANI intrinsics and passes -msse4 -msha if that isn't explicitly disabled at configure-time, which is problematic on x86 at least. While they actually do safe runtime checking AFAICT for use of their *intriniscs*, building the rest of rhash with -msse4 definitely isn't safe. Reported-by: Christian Bricart bricart.de> Signed-off-by: Sam James gentoo.org> app-crypt/rhash/{rhash-1.4.6.ebuild => rhash-1.4.6-r1.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app-crypt/rhash/rhash-1.4.6.ebuild b/app-crypt/rhash/rhash-1.4.6-r1.ebuild similarity index 95% rename from app-crypt/rhash/rhash-1.4.6.ebuild rename to app-crypt/rhash/rhash-1.4.6-r1.ebuild index 8d1d887eaefc..00e9f557a341 100644 --- a/app-crypt/rhash/rhash-1.4.6.ebuild +++ b/app-crypt/rhash/rhash-1.4.6-r1.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/RHash-${PV}" LICENSE="0BSD" SLOT="0/1" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris" -IUSE="debug nls ssl static-libs" +IUSE="cpu_flags_x86_sha debug nls ssl static-libs" RDEPEND=" ssl? ( @@ -64,6 +64,7 @@ multilib_src_configure() { --disable-openssl-runtime \ --disable-static \ --enable-lib-shared \ + $(usev !cpu_flags_x86_sha '--disable-shani') \ $(use_enable debug) \ $(use_enable nls gettext) \ $(use_enable ssl openssl) \