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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A67F8158094 for ; Mon, 4 Jul 2022 17:34:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C3E96E0AF4; Mon, 4 Jul 2022 17:34:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id AC1EBE0AF4 for ; Mon, 4 Jul 2022 17:34:39 +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 AE7D4341A03 for ; Mon, 4 Jul 2022 17:34:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E536550C for ; Mon, 4 Jul 2022 17:34:36 +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: <1656956061.968e991786b0256ad2ec989e699a2b07e5c1c8da.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/zfs/zfs-2.0.7-r1.ebuild sys-fs/zfs/zfs-2.0.7.ebuild sys-fs/zfs/zfs-2.1.4-r1.ebuild sys-fs/zfs/zfs-2.1.4.ebuild X-VCS-Directories: sys-fs/zfs/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 968e991786b0256ad2ec989e699a2b07e5c1c8da X-VCS-Branch: master Date: Mon, 4 Jul 2022 17:34:36 +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: 6ecba2a9-170b-4053-963a-a656b5a0b983 X-Archives-Hash: b8bce6b248b00e1151ae6dafee28ea26 commit: 968e991786b0256ad2ec989e699a2b07e5c1c8da Author: Sam James gentoo org> AuthorDate: Mon Jul 4 17:33:52 2022 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jul 4 17:34:21 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968e9917 sys-fs/zfs: force -fno-tree-vectorize (backport for older versions) Workaround issue with GCC 12 until solved upstream. Segfault occurs w/ 'zfs send' otherwise (and very possibly other commands). Let's backport for older versions to be safe after discussion w/ gyakovlev. Bug: https://github.com/openzfs/zfs/issues/13605 Bug: https://github.com/openzfs/zfs/issues/13620 Closes: https://bugs.gentoo.org/856373 See: 1cbf3fbc336adfdcd122da5b0989c2993de358dc Signed-off-by: Sam James gentoo.org> sys-fs/zfs/{zfs-2.0.7.ebuild => zfs-2.0.7-r1.ebuild} | 7 +++++++ sys-fs/zfs/{zfs-2.1.4.ebuild => zfs-2.1.4-r1.ebuild} | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/sys-fs/zfs/zfs-2.0.7.ebuild b/sys-fs/zfs/zfs-2.0.7-r1.ebuild similarity index 97% rename from sys-fs/zfs/zfs-2.0.7.ebuild rename to sys-fs/zfs/zfs-2.0.7-r1.ebuild index 2a638aee9616..68d9116fd3de 100644 --- a/sys-fs/zfs/zfs-2.0.7.ebuild +++ b/sys-fs/zfs/zfs-2.0.7-r1.ebuild @@ -191,6 +191,13 @@ src_configure() { use custom-cflags || strip-flags use minimal || python_setup + # All the same issue: + # Segfaults w/ GCC 12 and 'zfs send' + # bug #856373 + # https://github.com/openzfs/zfs/issues/13620 + # https://github.com/openzfs/zfs/issues/13605 + append-flags -fno-tree-vectorize + local myconf=( --bindir="${EPREFIX}/bin" --enable-shared diff --git a/sys-fs/zfs/zfs-2.1.4.ebuild b/sys-fs/zfs/zfs-2.1.4-r1.ebuild similarity index 97% rename from sys-fs/zfs/zfs-2.1.4.ebuild rename to sys-fs/zfs/zfs-2.1.4-r1.ebuild index 465412d2cee6..fb6aab2ca7e7 100644 --- a/sys-fs/zfs/zfs-2.1.4.ebuild +++ b/sys-fs/zfs/zfs-2.1.4-r1.ebuild @@ -184,6 +184,13 @@ src_configure() { use custom-cflags || strip-flags use minimal || python_setup + # All the same issue: + # Segfaults w/ GCC 12 and 'zfs send' + # bug #856373 + # https://github.com/openzfs/zfs/issues/13620 + # https://github.com/openzfs/zfs/issues/13605 + append-flags -fno-tree-vectorize + local myconf=( --bindir="${EPREFIX}/bin" --enable-shared