Closed ArminHHJ closed 4 years ago
Try this whitout ARCH=x86-64-bmi2 or Arch = auto make build COMP=clang numa=no
ok, tryed with make build COMP=clang numa=no
same result.
...
...
tt.c:163:11: error: controlling expression type 'size_t' (aka 'unsigned long')
not compatible with any generic association type
begin = min(begin, total);
^~~~~
./types.h:391:27: note: expanded from macro 'min'
^~~
tt.c:164:9: error: controlling expression type 'size_t' (aka 'unsigned long')
not compatible with any generic association type
end = min(end, total);
^~~~~~~
./types.h:391:27: note: expanded from macro 'min'
^~~
2 errors generated. make[1]: [tt.o] Error 1 make: [build] Error 2
Thanks for reporting the error message. It will be fixed later today.
Could you try again to see if the problem is now fixed?
make build COMP=clang numa=no or make build ARCH=x86-64-bmi2 numa=no Got some warnings and one error
Config: debug: 'no' sanitize: 'no' optimize: 'yes' arch: 'x86_64' bits: '64' kernel: 'Darwin' os: '' prefetch: 'yes' popcnt: 'yes' pext: 'yes' sse: 'yes' mmx: 'no' sse2: 'yes' ssse3: 'yes' sse41: 'yes' avx2: 'yes' avx512: 'no' vnni: 'no' neon: 'no'
Flags: CC: clang CFLAGS: -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE LDFLAGS: -lm -m64 -arch x86_64 -mmacosx-version-min=10.14 -lpthread
Testing config sanity. If this fails, try 'make help' ...
/Library/Developer/CommandLineTools/usr/bin/make ARCH=auto COMP=clang all
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o benchmark.o benchmark.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o bitbase.o bitbase.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o bitboard.o bitboard.c
In file included from bitboard.c:21:
In file included from ./bitboard.h:26:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
1 warning generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o endgame.o endgame.c
In file included from endgame.c:23:
In file included from ./bitboard.h:26:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
4 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o evaluate.o evaluate.c
In file included from evaluate.c:23:
In file included from ./bitboard.h:26:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
8 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o main.o main.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o material.o material.c
In file included from material.c:24:
In file included from ./material.h:24:
In file included from ./endgame.h:24:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
1 warning generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o misc.o misc.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o movegen.o movegen.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o movepick.o movepick.c
In file included from movepick.c:23:
In file included from ./movepick.h:26:
In file included from ./movegen.h:24:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
1 warning generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o pawns.o pawns.c
In file included from pawns.c:23:
In file included from ./bitboard.h:26:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
2 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o position.o position.c
In file included from position.c:6:
In file included from ./bitboard.h:26:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
5 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o psqt.o psqt.c
In file included from psqt.c:21:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
1 warning generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o search.o search.c
In file included from search.c:25:
In file included from ./evaluate.h:4:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
23 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o tbprobe.o tbprobe.c
In file included from tbprobe.c:12:
In file included from ./bitboard.h:26:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
7 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o thread.o thread.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o timeman.o timeman.c
In file included from timeman.c:24:
In file included from ./search.h:24:
In file included from ./misc.h:33:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
7 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o tt.o tt.c
In file included from tt.c:28:
In file included from ./bitboard.h:26:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
2 warnings generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o uci.o uci.c
In file included from uci.c:23:
In file included from ./evaluate.h:4:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
1 warning generated.
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o ucioption.o ucioption.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o numa.o numa.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o settings.o settings.c
clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -march=native -DNNUE -c -o polybook.o polybook.c
In file included from polybook.c:5:
In file included from ./misc.h:33:
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
polybook.c:507:21: error: controlling expression type 'long' not compatible with
any generic association type
start = max(mid - 4, 0);
^~~
./types.h:407:31: note: expanded from macro 'max'
^
./types.h:395:37: note: expanded from macro 'TEMPLATE'
^
./types.h:404:6: warning: token pasting of ',' and VA_ARGS is a GNU
extension [-Wgnu-zero-variadic-macro-arguments]
) (a,##VA_ARGS)
^
polybook.c:508:19: error: controlling expression type 'long' not compatible with
any generic association type
end = min(mid + 4, keycount);
^~~
./types.h:408:31: note: expanded from macro 'min'
^
./types.h:395:37: note: expanded from macro 'TEMPLATE'
^
2 warnings and 2 errors generated. make[1]: [polybook.o] Error 1 make: [build] Error 2
Thanks, this is helpful. Can you try once more, please?
shure, it was late night :)
make build ARCH=x86-64-bmi2 COMP=clang numa=no or make build numa=no
aso...
Config: debug: 'no' sanitize: 'no' optimize: 'yes' arch: 'x86_64' bits: '64' kernel: 'Darwin' os: '' prefetch: 'yes' popcnt: 'yes' pext: 'yes' sse: 'yes' mmx: 'no' sse2: 'yes' ssse3: 'yes' sse41: 'yes' avx2: 'yes' avx512: 'no' vnni: 'no' neon: 'no'
Flags: CC: gcc CFLAGS: -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DNNUE LDFLAGS: -lm -m64 -arch x86_64 -mmacosx-version-min=10.14 -lpthread
Testing config sanity. If this fails, try 'make help' ...
/Library/Developer/CommandLineTools/usr/bin/make ARCH=x86-64-bmi2 COMP=gcc all
gcc -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DNNUE -c -o benchmark.o benchmark.c
gcc -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DNNUE -c -o bitbase.o bitbase.c
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:360:5: error: unknown type name 'ssize_t'; did you mean 'size_t'?
MAX(ssize_t)
^~~
size_t
./types.h:351:23: note: expanded from macro 'MAX'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:360:5: error: unknown type name 'ssize_t'; did you mean 'size_t'?
MAX(ssize_t)
^~~
size_t
./types.h:351:33: note: expanded from macro 'MAX'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:360:5: error: unknown type name 'ssize_t'; did you mean 'size_t'?
MAX(ssize_t)
^~~
size_t
./types.h:351:38: note: expanded from macro 'MAX'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:372:5: error: unknown type name 'ssize_t'; did you mean 'size_t'?
MIN(ssize_t)
^~~
size_t
./types.h:363:23: note: expanded from macro 'MIN'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:372:5: error: unknown type name 'ssize_t'; did you mean 'size_t'?
MIN(ssize_t)
^~~
size_t
./types.h:363:33: note: expanded from macro 'MIN'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:372:5: error: unknown type name 'ssize_t'; did you mean 'size_t'?
MIN(ssize_t)
^~~
size_t
./types.h:363:38: note: expanded from macro 'MIN'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:384:7: error: unknown type name 'ssize_t'; did you mean 'size_t'?
CLAMP(ssize_t)
^~~
size_t
./types.h:375:25: note: expanded from macro 'CLAMP'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:384:7: error: unknown type name 'ssize_t'; did you mean 'size_t'?
CLAMP(ssize_t)
^~~
size_t
./types.h:375:37: note: expanded from macro 'CLAMP'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:384:7: error: unknown type name 'ssize_t'; did you mean 'size_t'?
CLAMP(ssize_t)
^~~
size_t
./types.h:375:42: note: expanded from macro 'CLAMP'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here
typedef __darwin_size_t size_t;
^
In file included from bitbase.c:23:
In file included from ./bitboard.h:26:
./types.h:384:7: error: unknown type name 'ssize_t'; did you mean 'size_t'?
CLAMP(ssize_t)
^~~
size_t
./types.h:375:47: note: expanded from macro 'CLAMP'
^
/usr/include/sys/_types/_size_t.h:31:32: note: 'size_t' declared here typedef __darwin_size_t size_t; ^ 10 errors generated. make[1]: [bitbase.o] Error 1 make: [build] Error 2
Thanks again. I've made another change and now it should work. (But I will probably be surprised again ;-))
surprise... ;) It running fine, no errors, no warnings. First try in HCE locks good, run a little faster then SF. Now I can test it. Great job, thanks a lot.
Interdim result Turnier on MacOS 10.14.6
Cute Chess Gui HERT500, 8 plies 1 CPU; 64 hash; TB 6men; 0.1 sec per move
Rank...Name................................................Elo
1.........SF+NN-MZ-1808-UE8221-Brain......53
2.........CFish+NN-0109-UE8221-T610........31
3.........SF+NN-SF-2608-UE8221...............-38
4.........CorChess+NN1.2-2608-UE8221.....-45
200 of 200 games finished.
SF+NN-MZ: Zerbinati-Complie; SF-Net; Brainfish books (1. T610, 2. Cerebellum) Cfish: SF-Net; Brainfish book (T610) SF+NN-SF: Stockfish 26.08.20; SF-Net
Advantage of MZ: use two books from Brainfish.
You can close this issue, works fine, thanks for this version :)
Thanks for the help!
Is cfish generally run-able under Mac? I got this errors:
make build ARCH=x86-64-bmi2 COMP=clang numa=no
Config: debug: 'no' sanitize: 'no' optimize: 'yes' arch: 'x86_64' bits: '64' kernel: 'Darwin' os: '' prefetch: 'yes' popcnt: 'yes' pext: 'yes' sse: 'yes' mmx: 'no' sse2: 'yes' ssse3: 'yes' sse41: 'yes' avx2: 'yes' avx512: 'no' vnni: 'no' neon: 'no'
Flags: CC: clang CFLAGS: -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DNNUE LDFLAGS: -lm -m64 -arch x86_64 -mmacosx-version-min=10.14 -lpthread
Testing config sanity. If this fails, try 'make help' ...
/Library/Developer/CommandLineTools/usr/bin/make ARCH=x86-64-bmi2 COMP=clang all clang -Wall -std=c11 -pedantic -Wextra -Wshadow -m64 -D_DEFAULT_SOURCE -arch x86_64 -mmacosx-version-min=10.14 -DNDEBUG -O3 -mdynamic-no-pic -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -DUSE_PEXT -msse4 -mbmi2 -DUSE_AVX2 -mavx2 -DUSE_SSE41 -msse4.1 -DUSE_SSSE3 -mssse3 -DUSE_SSE2 -msse2 -DNNUE -c -o tt.o tt.c tt.c:163:11: error: controlling expression type 'size_t' (aka 'unsigned long') not compatible with any generic association type begin = min(begin, total); ^
~~~~ ./types.h:391:27: note: expanded from macro 'min'define min(a,b) _Generic((a), \
tt.c:164:9: error: controlling expression type 'size_t' (aka 'unsigned long') not compatible with any generic association type end = min(end, total); ^
~~~~~~ ./types.h:391:27: note: expanded from macro 'min'define min(a,b) _Generic((a), \
2 errors generated. make[1]: [tt.o] Error 1 make: [build] Error 2