mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Suppress incorrect objtool warnings
Suppress incorrect warnings from versions of objtool which are not aware of x86 EVEX prefix instructions used for AVX512. module/zfs/vdev_raidz_math_avx512bw.o: warning: objtool: <func+offset>: can't find jump dest instruction at .text Reviewed-by: Don Brady <don.brady@delphix.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #6928
This commit is contained in:
@@ -120,6 +120,11 @@ $(MODULE)-objs += dsl_destroy.o
|
||||
$(MODULE)-objs += dsl_userhold.o
|
||||
$(MODULE)-objs += qat_compress.o
|
||||
|
||||
# Suppress incorrect warnings from versions of objtool which are not
|
||||
# aware of x86 EVEX prefix instructions used for AVX512.
|
||||
OBJECT_FILES_NON_STANDARD_vdev_raidz_math_avx512bw.o := y
|
||||
OBJECT_FILES_NON_STANDARD_vdev_raidz_math_avx512f.o := y
|
||||
|
||||
$(MODULE)-$(CONFIG_X86) += vdev_raidz_math_sse2.o
|
||||
$(MODULE)-$(CONFIG_X86) += vdev_raidz_math_ssse3.o
|
||||
$(MODULE)-$(CONFIG_X86) += vdev_raidz_math_avx2.o
|
||||
|
||||
Reference in New Issue
Block a user