LUX-Core / rx2-cpuminer

rx2 cpu miner
Other
7 stars 5 forks source link

Build error with gcc-11 #12

Open delboy711 opened 3 years ago

delboy711 commented 3 years ago

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