Makefile fell on sph-blake2s.c
temporary workarround for those not working on blake is to replace sph-blake2s.c by https://github.com/JayDDee/cpuminer-opt/blob/master/algo/blake/sph-blake2s.c
Extract from ./build.sh on Ubuntu 22.04 LTS :
gcc -DHAVE_CONFIG_H -I. -Iyes/include -fno-strict-aliasing -I. -Iyes/include -Wno-pointer-sign -Wno-pointer-to-int-cast -O3 -march=native -Wall -Iyes/include -MT algo/blake/cpuminer-sph-blake2s.o -MD -MP -MF algo/blake/.deps/cpuminer-sph-blake2s.Tpo -c -o algo/blake/cpuminer-sph-blake2s.o test -f 'algo/blake/sph-blake2s.c' || echo './'algo/blake/sph-blake2s.c
algo/blake/sph-blake2s.c: In function ‘blake2s’:
algo/blake/sph-blake2s.c:326:9: error: size of array element is not a multiple of its alignment
326 | blake2s_state S[1];
| ^~~~~~~~~~~~~
make[2]: *** [Makefile:3120: algo/blake/cpuminer-sph-blake2s.o] Error 1
make[2]: *** Waiting for unfinished jobs....
mv -f algo/blake/.deps/cpuminer-blake-4way.Tpo algo/blake/.deps/cpuminer-blake-4way.Po
mv -f algo/blake/.deps/cpuminer-blake256-hash-4way.Tpo algo/blake/.deps/cpuminer-blake256-hash-4way.Po
mv -f algo/blake/.deps/cpuminer-blake512-hash-4way.Tpo algo/blake/.deps/cpuminer-blake512-hash-4way.Po
make[2]: Leaving directory '/home/bertrand/Development/obtc-miner'
make[1]: *** [Makefile:6559: all-recursive] Error 1
make[1]: Leaving directory '/home/bertrand/Development/obtc-miner'
make: *** [Makefile:1241: all] Error 2
strip: 'cpuminer': No such file
Makefile fell on sph-blake2s.c
temporary workarround for those not working on blake is to replace sph-blake2s.c by https://github.com/JayDDee/cpuminer-opt/blob/master/algo/blake/sph-blake2s.c
Extract from ./build.sh on Ubuntu 22.04 LTS :