Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
Date: Mon, 04 Jul 2022 17:34:40
Message-Id: 1656956061.968e991786b0256ad2ec989e699a2b07e5c1c8da.sam@gentoo
1 commit: 968e991786b0256ad2ec989e699a2b07e5c1c8da
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 4 17:33:52 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 4 17:34:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=968e9917
7
8 sys-fs/zfs: force -fno-tree-vectorize (backport for older versions)
9
10 Workaround issue with GCC 12 until solved upstream. Segfault
11 occurs w/ 'zfs send' otherwise (and very possibly other commands).
12
13 Let's backport for older versions to be safe after discussion
14 w/ gyakovlev.
15
16 Bug: https://github.com/openzfs/zfs/issues/13605
17 Bug: https://github.com/openzfs/zfs/issues/13620
18 Closes: https://bugs.gentoo.org/856373
19 See: 1cbf3fbc336adfdcd122da5b0989c2993de358dc
20 Signed-off-by: Sam James <sam <AT> gentoo.org>
21
22 sys-fs/zfs/{zfs-2.0.7.ebuild => zfs-2.0.7-r1.ebuild} | 7 +++++++
23 sys-fs/zfs/{zfs-2.1.4.ebuild => zfs-2.1.4-r1.ebuild} | 7 +++++++
24 2 files changed, 14 insertions(+)
25
26 diff --git a/sys-fs/zfs/zfs-2.0.7.ebuild b/sys-fs/zfs/zfs-2.0.7-r1.ebuild
27 similarity index 97%
28 rename from sys-fs/zfs/zfs-2.0.7.ebuild
29 rename to sys-fs/zfs/zfs-2.0.7-r1.ebuild
30 index 2a638aee9616..68d9116fd3de 100644
31 --- a/sys-fs/zfs/zfs-2.0.7.ebuild
32 +++ b/sys-fs/zfs/zfs-2.0.7-r1.ebuild
33 @@ -191,6 +191,13 @@ src_configure() {
34 use custom-cflags || strip-flags
35 use minimal || python_setup
36
37 + # All the same issue:
38 + # Segfaults w/ GCC 12 and 'zfs send'
39 + # bug #856373
40 + # https://github.com/openzfs/zfs/issues/13620
41 + # https://github.com/openzfs/zfs/issues/13605
42 + append-flags -fno-tree-vectorize
43 +
44 local myconf=(
45 --bindir="${EPREFIX}/bin"
46 --enable-shared
47
48 diff --git a/sys-fs/zfs/zfs-2.1.4.ebuild b/sys-fs/zfs/zfs-2.1.4-r1.ebuild
49 similarity index 97%
50 rename from sys-fs/zfs/zfs-2.1.4.ebuild
51 rename to sys-fs/zfs/zfs-2.1.4-r1.ebuild
52 index 465412d2cee6..fb6aab2ca7e7 100644
53 --- a/sys-fs/zfs/zfs-2.1.4.ebuild
54 +++ b/sys-fs/zfs/zfs-2.1.4-r1.ebuild
55 @@ -184,6 +184,13 @@ src_configure() {
56 use custom-cflags || strip-flags
57 use minimal || python_setup
58
59 + # All the same issue:
60 + # Segfaults w/ GCC 12 and 'zfs send'
61 + # bug #856373
62 + # https://github.com/openzfs/zfs/issues/13620
63 + # https://github.com/openzfs/zfs/issues/13605
64 + append-flags -fno-tree-vectorize
65 +
66 local myconf=(
67 --bindir="${EPREFIX}/bin"
68 --enable-shared