intel / intel-ipsec-mb

Intel(R) Multi-Buffer Crypto for IPSec
BSD 3-Clause "New" or "Revised" License
289 stars 87 forks source link

cant build master/0.52 on Ubuntu 18.04 #31

Closed kreuzerkrieg closed 5 years ago

kreuzerkrieg commented 5 years ago

latest NASM/GCC from official repo of Ubuntu Bionic running make and I get the following

avx512/gcm_vaes_avx512.asm:5019: error: invalid combination of opcode and operands avx512/gcm_vaes_avx512.asm:4374: ... from macro GCM_FINALIZE_x4' defined here avx512/gcm_vaes_avx512.asm:4126: ... from macroGCM_ENC_DEC_4x128' defined here avx512/gcm_vaes_avx512.asm:3744: ... from macro GHASH_LAST_8x4' defined here avx512/gcm_vaes_avx512.asm:222: ... from macroVCLMUL_STEP2' defined here avx512/gcm_vaes_avx512.asm:5019: error: invalid combination of opcode and operands

Any ideas?

tkanteck commented 5 years ago

What NASM version do you use?

kreuzerkrieg commented 5 years ago

NASM version 2.13.02

kreuzerkrieg commented 5 years ago

aggghhrr that minor version (03) difference?

tkanteck commented 5 years ago

Yeah. New instructions that we need are not there in version 2.13.02. Note that NASM 2.14 is already out Cheers, Tomasz

kreuzerkrieg commented 5 years ago

Thanks!