jedisct1 / libsodium

A modern, portable, easy to use crypto library.

Home Page:https://libsodium.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WSL with GCC11 build error

yingkee opened this issue · comments

crypto_generichash/blake2/ref/blake2.h:126:5: error: size of array element is not a multiple of its alignment
126 | blake2b_state S[4][1];
| ^~~~~~~~~~~~~
crypto_generichash/blake2/ref/blake2.h:127:5: error: size of array element is not a multiple of its alignment
127 | blake2b_state R[1];
| ^~~~~~~~~~~~~

I don't understand.

There's no line 126 in that file, and no blake2b_state S[4][1] anywhere in the code either.

What version did you get? Where did you download it?