Building on Arch linux with gcc-11.
Build fails with
crypto/blake2s.c: In function ‘blake2s’:
crypto/blake2s.c:326:9: error: size of array element is not a multiple of its alignment
326 | blake2s_state S[1];
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:1971: crypto/cpuminer-blake2s.o] Error 1
If I use gcc-10 then it compiles OK
export CC=gcc-10
./build.sh
Building on Arch linux with gcc-11.
Build fails with
crypto/blake2s.c: In function ‘blake2s’:
crypto/blake2s.c:326:9: error: size of array element is not a multiple of its alignment
326 | blake2s_state S[1];
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:1971: crypto/cpuminer-blake2s.o] Error 1
If I use gcc-10 then it compiles OK
export CC=gcc-10
./build.sh