Building SeaJay for OpenBench...
Compiler: g++
Output: SeaJay-EF2EE069
# Configure with CMake (only build engine, not tests)
cmake -S . -B openbench-build \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=g++ \
-DCMAKE_CXX_FLAGS="-O2 -DNDEBUG -mpopcnt -msse4.2 -mavx2 -mbmi2" \
-DEVALFILE="" \
-DBUILD_TESTING=OFF
-- The CXX compiler identification is GNU 13.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.1s)
-- Generating done (0.0s)
CMake Warning:
Manually-specified variables were not used by the project:
BUILD_TESTING
EVALFILE
-- Build files have been written to: /tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build
# Build ONLY the engine binary (not tests or utilities)
make -C openbench-build -j seajay
make[1]: Entering directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[2]: Entering directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[3]: Entering directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Entering directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Leaving directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[4]: Entering directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
[ 7%] Building CXX object CMakeFiles/seajay_core.dir/src/core/board.cpp.o
[ 7%] Building CXX object CMakeFiles/seajay_core.dir/src/core/board_safety.cpp.o
[ 11%] Building CXX object CMakeFiles/seajay_core.dir/src/core/perft.cpp.o
[ 14%] Building CXX object CMakeFiles/seajay_core.dir/src/core/move_generation.cpp.o
[ 18%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/evaluate.cpp.o
[ 22%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/pawn_structure.cpp.o
[ 25%] Building CXX object CMakeFiles/seajay_core.dir/src/core/move_list.cpp.o
[ 29%] Building CXX object CMakeFiles/seajay_core.dir/src/core/see.cpp.o
[ 33%] Building CXX object CMakeFiles/seajay_core.dir/src/core/transposition_table.cpp.o
[ 37%] Building CXX object CMakeFiles/seajay_core.dir/src/evaluation/king_safety.cpp.o
[ 40%] Building CXX object CMakeFiles/seajay_core.dir/src/search/search.cpp.o
[ 44%] Building CXX object CMakeFiles/seajay_core.dir/src/search/negamax.cpp.o
[ 48%] Building CXX object CMakeFiles/seajay_core.dir/src/search/killer_moves.cpp.o
[ 51%] Building CXX object CMakeFiles/seajay_core.dir/src/search/countermoves.cpp.o
[ 55%] Building CXX object CMakeFiles/seajay_core.dir/src/search/history_heuristic.cpp.o
[ 59%] Building CXX object CMakeFiles/seajay_core.dir/src/search/time_management.cpp.o
[ 62%] Building CXX object CMakeFiles/seajay_core.dir/src/search/move_ordering.cpp.o
[ 66%] Building CXX object CMakeFiles/seajay_core.dir/src/search/aspiration_window.cpp.o
[ 70%] Building CXX object CMakeFiles/seajay_core.dir/src/search/quiescence.cpp.o
[ 74%] Building CXX object CMakeFiles/seajay_core.dir/src/search/quiescence_performance.cpp.o
[ 77%] Building CXX object CMakeFiles/seajay_core.dir/src/search/lmr.cpp.o
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp: In member function ‘void seajay::PawnStructure::clear()’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:22:16: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct seajay::PawnEntry’; use assignment or value-initialization instead [-Wclass-memaccess]
22 | std::memset(m_table, 0, m_size * sizeof(PawnEntry));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.cpp:1:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/evaluation/pawn_structure.h:10:8: note: ‘struct seajay::PawnEntry’ declared here
10 | struct PawnEntry {
| ^~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp: In static member function ‘static seajay::ZobristKeyManager::ZobristUpdate seajay::ZobristKeyManager::buildUpdate(const seajay::Board&, seajay::Move)’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:445:19: warning: unused variable ‘promotedType’ [-Wunused-variable]
445 | PieceType promotedType = promotionType(move);
| ^~~~~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:455:16: warning: unused variable ‘capturedSquare’ [-Wunused-variable]
455 | Square capturedSquare = (us == WHITE) ? to - 8 : to + 8;
| ^~~~~~~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp: In static member function ‘static bool seajay::MoveSequenceValidator::checkForDoubleMoves(const seajay::Move*, size_t)’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:563:16: warning: unused variable ‘prevTo’ [-Wunused-variable]
563 | Square prevTo = moveTo(moves[i-1]);
| ^~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board_safety.cpp:564:16: warning: unused variable ‘currFrom’ [-Wunused-variable]
564 | Square currFrom = moveFrom(moves[i]);
| ^~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board.cpp: In member function ‘bool seajay::Board::isRepetitionDrawInSearch(const seajay::SearchInfo&, int) const’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/board.cpp:2325:9: warning: unused variable ‘maxLookback’ [-Wunused-variable]
2325 | int maxLookback = std::min(static_cast<int>(m_halfmoveClock), 100);
| ^~~~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp: In function ‘seajay::eval::EvalBreakdown seajay::eval::evaluateDetailed(const seajay::Board&)’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/evaluation/evaluate.cpp:886:26: warning: unused variable ‘PASSED_PAWN_BONUS’ [-Wunused-variable]
886 | static constexpr int PASSED_PAWN_BONUS[8] = {
| ^~~~~~~~~~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/see.cpp: In member function ‘seajay::Bitboard seajay::SEECalculator::getXrayAttackers(const seajay::Board&, seajay::Square, seajay::Bitboard, seajay::Bitboard) const’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/see.cpp:230:12: warning: unused variable ‘removedSq’ [-Wunused-variable]
230 | Square removedSq = lsb(removedPiece);
| ^~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/see.cpp: In member function ‘seajay::SEEValue seajay::SEECalculator::computeSEE(const seajay::Board&, seajay::Square, seajay::Color, seajay::Bitboard, seajay::Bitboard) const’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/core/see.cpp:589:16: warning: unused variable ‘attackerSquare’ [-Wunused-variable]
589 | Square attackerSquare = lsb(attackerBB);
| ^~~~~~~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp: In static member function ‘static seajay::search::QuiescencePerformanceData seajay::search::QuiescencePerformanceBenchmark::benchmarkPosition(const std::string&, int, bool)’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/search/quiescence_performance.cpp:109:10: warning: variable ‘startTime’ set but not used [-Wunused-but-set-variable]
109 | auto startTime = std::chrono::high_resolution_clock::now();
| ^~~~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/search/negamax.cpp: In function ‘seajay::eval::Score seajay::search::negamax(seajay::Board&, int, int, seajay::eval::Score, seajay::eval::Score, seajay::SearchInfo&, SearchData&, const SearchLimits&, seajay::TranspositionTable*, TriangularPV*, bool)’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/search/negamax.cpp:202:11: warning: variable ‘ttBound’ set but not used [-Wunused-but-set-variable]
202 | Bound ttBound = Bound::NONE;
| ^~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/search/negamax.cpp:203:9: warning: variable ‘ttDepth’ set but not used [-Wunused-but-set-variable]
203 | int ttDepth = -1;
| ^~~~~~~
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/search/negamax.cpp: In function ‘void seajay::search::sendSearchInfo(const SearchData&)’:
/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/src/search/negamax.cpp:1671:9: error: ‘pv’ was not declared in this scope
1671 | if (pv != nullptr && !pv->isEmpty(0)) {
| ^~
make[4]: *** [CMakeFiles/seajay_core.dir/build.make:230: CMakeFiles/seajay_core.dir/src/search/negamax.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[3]: *** [CMakeFiles/Makefile2:88: CMakeFiles/seajay_core.dir/all] Error 2
make[3]: Leaving directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[2]: *** [CMakeFiles/Makefile2:121: CMakeFiles/seajay.dir/rule] Error 2
make[2]: Leaving directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make[1]: *** [Makefile:192: seajay] Error 2
make[1]: Leaving directory '/tmp/tmpoq501rdc/SeaJay/SeaJay-tmp/openbench-build'
make: *** [Makefile:53: all] Error 2