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:30:10 |
Message-Id: | 1656955770.1cbf3fbc336adfdcd122da5b0989c2993de358dc.sam@gentoo |
1 | commit: 1cbf3fbc336adfdcd122da5b0989c2993de358dc |
2 | Author: Sam James <sam <AT> gentoo <DOT> org> |
3 | AuthorDate: Mon Jul 4 17:29:28 2022 +0000 |
4 | Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 | CommitDate: Mon Jul 4 17:29:30 2022 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cbf3fbc |
7 | |
8 | sys-fs/zfs: force -fno-tree-vectorize |
9 | |
10 | Workaround issue with GCC 12 until solved upstream. Segfault |
11 | occurs w/ 'zfs send' otherwise (and very possibly other commands). |
12 | |
13 | Bug: https://github.com/openzfs/zfs/issues/13605 |
14 | Bug: https://github.com/openzfs/zfs/issues/13620 |
15 | Closes: https://bugs.gentoo.org/856373 |
16 | Signed-off-by: Sam James <sam <AT> gentoo.org> |
17 | |
18 | sys-fs/zfs/{zfs-2.1.5-r2.ebuild => zfs-2.1.5-r3.ebuild} | 7 +++++++ |
19 | sys-fs/zfs/zfs-9999.ebuild | 7 +++++++ |
20 | 2 files changed, 14 insertions(+) |
21 | |
22 | diff --git a/sys-fs/zfs/zfs-2.1.5-r2.ebuild b/sys-fs/zfs/zfs-2.1.5-r3.ebuild |
23 | similarity index 97% |
24 | rename from sys-fs/zfs/zfs-2.1.5-r2.ebuild |
25 | rename to sys-fs/zfs/zfs-2.1.5-r3.ebuild |
26 | index 37907ff20733..a2c22c0ac350 100644 |
27 | --- a/sys-fs/zfs/zfs-2.1.5-r2.ebuild |
28 | +++ b/sys-fs/zfs/zfs-2.1.5-r3.ebuild |
29 | @@ -192,6 +192,13 @@ src_configure() { |
30 | use custom-cflags || strip-flags |
31 | use minimal || python_setup |
32 | |
33 | + # All the same issue: |
34 | + # Segfaults w/ GCC 12 and 'zfs send' |
35 | + # bug #856373 |
36 | + # https://github.com/openzfs/zfs/issues/13620 |
37 | + # https://github.com/openzfs/zfs/issues/13605 |
38 | + append-flags -fno-tree-vectorize |
39 | + |
40 | local myconf=( |
41 | --bindir="${EPREFIX}/bin" |
42 | --enable-shared |
43 | |
44 | diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild |
45 | index b3a9d416fb6e..eb60343f89b3 100644 |
46 | --- a/sys-fs/zfs/zfs-9999.ebuild |
47 | +++ b/sys-fs/zfs/zfs-9999.ebuild |
48 | @@ -187,6 +187,13 @@ src_configure() { |
49 | use custom-cflags || strip-flags |
50 | use minimal || python_setup |
51 | |
52 | + # All the same issue: |
53 | + # Segfaults w/ GCC 12 and 'zfs send' |
54 | + # bug #856373 |
55 | + # https://github.com/openzfs/zfs/issues/13620 |
56 | + # https://github.com/openzfs/zfs/issues/13605 |
57 | + append-flags -fno-tree-vectorize |
58 | + |
59 | local myconf=( |
60 | --bindir="${EPREFIX}/bin" |
61 | --enable-shared |