diff options
author | Sam James <sam@gentoo.org> | 2022-07-04 18:29:28 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-04 18:29:30 +0100 |
commit | 1cbf3fbc336adfdcd122da5b0989c2993de358dc (patch) | |
tree | d27736b16245b692c4c4fd39767d4903e55e4e9c /sys-fs/zfs | |
parent | net-firewall/iptables: fix eselect-iptables dep (diff) | |
download | gentoo-1cbf3fbc336adfdcd122da5b0989c2993de358dc.tar.gz gentoo-1cbf3fbc336adfdcd122da5b0989c2993de358dc.tar.bz2 gentoo-1cbf3fbc336adfdcd122da5b0989c2993de358dc.zip |
sys-fs/zfs: force -fno-tree-vectorize
Workaround issue with GCC 12 until solved upstream. Segfault
occurs w/ 'zfs send' otherwise (and very possibly other commands).
Bug: https://github.com/openzfs/zfs/issues/13605
Bug: https://github.com/openzfs/zfs/issues/13620
Closes: https://bugs.gentoo.org/856373
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-fs/zfs')
-rw-r--r-- | sys-fs/zfs/zfs-2.1.5-r3.ebuild (renamed from sys-fs/zfs/zfs-2.1.5-r2.ebuild) | 7 | ||||
-rw-r--r-- | sys-fs/zfs/zfs-9999.ebuild | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sys-fs/zfs/zfs-2.1.5-r2.ebuild b/sys-fs/zfs/zfs-2.1.5-r3.ebuild index 37907ff20733..a2c22c0ac350 100644 --- a/sys-fs/zfs/zfs-2.1.5-r2.ebuild +++ b/sys-fs/zfs/zfs-2.1.5-r3.ebuild @@ -192,6 +192,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-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild index b3a9d416fb6e..eb60343f89b3 100644 --- a/sys-fs/zfs/zfs-9999.ebuild +++ b/sys-fs/zfs/zfs-9999.ebuild @@ -187,6 +187,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 |