diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /sys-fs/zfs-kmod/files/2.0.0_rc1-U__BMI__.patch | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'sys-fs/zfs-kmod/files/2.0.0_rc1-U__BMI__.patch')
-rw-r--r-- | sys-fs/zfs-kmod/files/2.0.0_rc1-U__BMI__.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sys-fs/zfs-kmod/files/2.0.0_rc1-U__BMI__.patch b/sys-fs/zfs-kmod/files/2.0.0_rc1-U__BMI__.patch deleted file mode 100644 index 9e9a007c3002..000000000000 --- a/sys-fs/zfs-kmod/files/2.0.0_rc1-U__BMI__.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 81a3970fca5759499effc3131e59c9bd8f446cc9 Mon Sep 17 00:00:00 2001 -From: Georgy Yakovlev <gyakovlev@gentoo.org> -Date: Wed, 26 Aug 2020 16:02:48 -0700 -Subject: [PATCH] module/zstd: pass -U__BMI__ - -Closes: https://github.com/openzfs/zfs/issues/10758 -Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> ---- - module/zstd/Makefile.in | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/module/zstd/Makefile.in b/module/zstd/Makefile.in -index eea749ea8..bfceca920 100644 ---- a/module/zstd/Makefile.in -+++ b/module/zstd/Makefile.in -@@ -20,6 +20,10 @@ ccflags-y += -O3 - # Set it for other compilers, too. - $(obj)/lib/zstd.o: c_flags += -fno-tree-vectorize - -+# SSE register return with SSE disabled if -march=znverX is passed -+# https://github.com/openzfs/zfs/issues/10758 -+$(obj)/lib/zstd.o: c_flags += -U__BMI__ -+ - # Quiet warnings about frame size due to unused code in unmodified zstd lib - $(obj)/lib/zstd.o: c_flags += -Wframe-larger-than=20480 - --- -2.28.0 - |