Force __BMI__ experimental instructions off.
The OpenZFS code that uses the BMI instructions is broken. Forcibly disable them to prevent their use. When enabled, the build breaks. This fixes the build when compiled for a core with BMI instructions. This is the same fix committed in r364777, for the same issue. Submitted by: Jung-uk Kim
This commit is contained in:
parent
df13933e33
commit
e694696956
@ -31,6 +31,7 @@ CFLAGS_EARLY.zstd_shim.c+= ${ZFS_EARLY}
|
||||
CFLAGS.nvlist.c+= -I${ZFSOSINC}/spl
|
||||
CFLAGS.zfs.c+= -I${ZFSOSINC}/spl \
|
||||
-I${SRCTOP}/sys/cddl/contrib/opensolaris/common/lz4
|
||||
CFLAGS.zstd.c+= -U__BMI__
|
||||
CFLAGS.zstd_shim.c+= -DIN_BASE -I${OZFS}/include
|
||||
|
||||
# Do not unroll skein loops, reduce code size
|
||||
|
Loading…
Reference in New Issue
Block a user