Downloading default network stormveil.bin
curl -sOL https://github.com/Bobingstern/tarnished-nets/releases/download/stormveil/stormveil.bin
clang++ -O3 -march=native -fno-finite-math-only -funroll-loops -flto -fuse-ld=lld -std=c++20 -static -DNDEBUG -pthread -DEVALFILE=\"stormveil.bin\" -fuse-ld=lld src/datagen.cpp src/main.cpp src/movepicker.cpp src/nnue.cpp src/parameters.cpp src/search.cpp src/searcher.cpp src/util.cpp -o Tarnished-CD979854
In file included from src/datagen.cpp:1:
In file included from src/datagen.h:4:
In file included from src/search.h:4:
src/tt.h:32:33: error: use of undeclared identifier 'MADV_HUGEPAGE'
32 | madvise(ptr, requiredBytes, MADV_HUGEPAGE);
| ^
1 error generated.
In file included from src/main.cpp:7:
In file included from src/search.h:4:
src/tt.h:32:33: error: use of undeclared identifier 'MADV_HUGEPAGE'
32 | madvise(ptr, requiredBytes, MADV_HUGEPAGE);
| ^
1 error generated.
In file included from src/movepicker.cpp:3:
In file included from src/search.h:4:
src/tt.h:32:33: error: use of undeclared identifier 'MADV_HUGEPAGE'
32 | madvise(ptr, requiredBytes, MADV_HUGEPAGE);
| ^
1 error generated.
In file included from src/nnue.cpp:2:
In file included from src/search.h:4:
src/tt.h:32:33: error: use of undeclared identifier 'MADV_HUGEPAGE'
32 | madvise(ptr, requiredBytes, MADV_HUGEPAGE);
| ^
src/nnue.cpp:43:17: warning: Using AVX2 NNUE inference [-W#pragma-messages]
43 | #pragma message("Using AVX2 NNUE inference")
| ^
1 warning and 1 error generated.
In file included from src/search.cpp:1:
In file included from src/search.h:4:
src/tt.h:32:33: error: use of undeclared identifier 'MADV_HUGEPAGE'
32 | madvise(ptr, requiredBytes, MADV_HUGEPAGE);
| ^
src/search.cpp:644:21: warning: first argument in call to 'memset' is a pointer to non-trivially copyable type 'std::array<Search::Stack, 128>' [-Wnontrivial-memcall]
644 | std::memset(stack.get(), 0, sizeof(Stack) * (MAX_PLY+3));
| ^
src/search.cpp:644:21: note: explicitly cast the pointer to silence this warning
644 | std::memset(stack.get(), 0, sizeof(Stack) * (MAX_PLY+3));
| ^
| (void*)
1 warning and 1 error generated.
In file included from src/searcher.cpp:2:
src/tt.h:32:33: error: use of undeclared identifier 'MADV_HUGEPAGE'
32 | madvise(ptr, requiredBytes, MADV_HUGEPAGE);
| ^
1 error generated.
make: *** [Makefile:35: Tarnished-CD979854] Error 1