Page MenuHome GnuPG

Libgcrypt v1.11.0 make fails at cipher/blake2.c:834:6 (has no member named 'use_avx512')
Closed, ResolvedPublic

Description

With libgpg-error-1.50 installed on a GNU/Linux distribution, libgcrypt-1.11.0 make fails with the following error:

blake2.c:834:6: error: 'BLAKE2S_CONTEXT {aka struct BLAKE2S_CONTEXT_S}' has no member named 'use_avx512'; did you mean 'use_avx'?
c->use_avx512 = !!(features & HWF_INTEL_AVX512);

Changing cipher/blake2.c file at line 833 from:

#ifdef USE_AVX

to

#ifdef USE_AVX512

seems to fix the issue but I don't know if this is the intended outcome.

Details

Version
Libgcrypt v1.11.0

Revisions and Commits