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 B2B991581F0 for ; Fri, 24 Jan 2025 03:30:39 +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 E831E34351F for ; Fri, 24 Jan 2025 03:30:27 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A0269110430; Fri, 24 Jan 2025 03:30:21 +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 9701511042F for ; Fri, 24 Jan 2025 03:30:21 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4AB61343061 for ; Fri, 24 Jan 2025 03:30:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 46CD5231C for ; Fri, 24 Jan 2025 03:30:19 +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: <1737689243.067920105bbfc2ab7ecb994c1079432524c521df.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/opencv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/opencv/opencv-4.10.0.ebuild X-VCS-Directories: media-libs/opencv/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 067920105bbfc2ab7ecb994c1079432524c521df X-VCS-Branch: master Date: Fri, 24 Jan 2025 03:30:19 +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: 01fac434-b150-417d-842b-2c94b6c13082 X-Archives-Hash: 83af70bc6aaa0d065d96488be48df65b commit: 067920105bbfc2ab7ecb994c1079432524c521df Author: Sam James gentoo org> AuthorDate: Fri Jan 24 03:26:55 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Jan 24 03:27:23 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06792010 media-libs/opencv: add -fno-tree-loop-vectorize for gcc trunk Temporary workaround. Bug: https://gcc.gnu.org/PR118464 Closes: https://bugs.gentoo.org/948071 Signed-off-by: Sam James gentoo.org> media-libs/opencv/opencv-4.10.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/media-libs/opencv/opencv-4.10.0.ebuild b/media-libs/opencv/opencv-4.10.0.ebuild index 4bb3003623f7..40354686489c 100644 --- a/media-libs/opencv/opencv-4.10.0.ebuild +++ b/media-libs/opencv/opencv-4.10.0.ebuild @@ -565,6 +565,11 @@ multilib_src_configure() { # bug #919101 and https://github.com/opencv/opencv/issues/19020 filter-lto + # bug #948071 (gcc PR118464) + if tc-is-gcc && [[ $(gcc-major-version) -eq 15 ]]; then + append-cxxflags "-fno-tree-loop-optimize" + fi + # please don't sort here, order is the same as in CMakeLists.txt local mycmakeargs=( -DMIN_VER_CMAKE=3.26