g++ -O3 -march=native -ffast-math -funroll-loops -flto -fuse-ld=lld -std=c++20 -static -DNDEBUG -DEVALFILE=\"/home/neural/FuryBench/Client/Networks/130BBF51\" ./src/Prelude.cpp -o Spaghet-7E96C93D-130BBF51 ./src/Prelude.cpp: In function ‘constexpr u64 getRookAttacks(Square, u64)’: ./src/Prelude.cpp:520:63: warning: the value of ‘ROOK_ATTACKS’ is not usable in a constant expression [-Winvalid-constexpr] 520 | constexpr u64 getRookAttacks(Square square, u64 occ) { return ROOK_ATTACKS[square][((occ & ROOK_ATTACK_MASKS[square]) * ROOK_MAGICS[square]) >> ROOK_ATTACK_SHIFTS[square]]; } | ^~~~~~~~~~~~ ./src/Prelude.cpp:488:5: note: ‘ROOK_ATTACKS’ was not declared ‘constexpr’ 488 | u64 ROOK_ATTACKS[64][4096]; | ^~~~~~~~~~~~ ./src/Prelude.cpp: In function ‘constexpr u64 getBishopAttacks(Square, u64)’: ./src/Prelude.cpp:570:65: warning: the value of ‘BISHOP_ATTACKS’ is not usable in a constant expression [-Winvalid-constexpr] 570 | constexpr u64 getBishopAttacks(Square square, u64 occ) { return BISHOP_ATTACKS[square][((occ & BISHOP_ATTACK_MASKS[square]) * BISHOP_MAGICS[square]) >> BISHOP_ATTACK_SHIFTS[square]]; } | ^~~~~~~~~~~~~~ ./src/Prelude.cpp:538:5: note: ‘BISHOP_ATTACKS’ was not declared ‘constexpr’ 538 | u64 BISHOP_ATTACKS[64][512]; | ^~~~~~~~~~~~~~ ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = SOUTH; u64 = long unsigned int]’: ./src/Prelude.cpp:990:70: required from here 990 | u64 pawnPushes = side ? (shift<NORTH>(pawns)) : (shift<SOUTH>(pawns)); | ~~~~~~~~~~~~^~~~~~~ ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] 349 | return bb << shiftDir; | ~~~^~~~~~~~~~~ ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = SOUTH_EAST; u64 = long unsigned int]’: ./src/Prelude.cpp:995:99: required from here 995 | pawnCaptureRight = side ? (shift<NORTH_EAST>(pawnCaptureRight)) : (shift<SOUTH_EAST>(pawnCaptureRight)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] 349 | return bb << shiftDir; | ~~~^~~~~~~~~~~ ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = SOUTH_WEST; u64 = long unsigned int]’: ./src/Prelude.cpp:1000:97: required from here 1000 | pawnCaptureLeft = side ? (shift<NORTH_WEST>(pawnCaptureLeft)) : (shift<SOUTH_WEST>(pawnCaptureLeft)); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] 349 | return bb << shiftDir; | ~~~^~~~~~~~~~~ ./src/Prelude.cpp: In instantiation of ‘u64 shift(u64) [with Direction shiftDir = WEST; u64 = long unsigned int]’: ./src/Prelude.cpp:1893:71: required from here 1893 | if (pieces(~side) & (shift<EAST>(1ULL << to) | shift<WEST>(1ULL << to))) // Only set EP square if it could be taken | ~~~~~~~~~~~^~~~~~~~~~~~ ./src/Prelude.cpp:349:15: warning: left shift count is negative [-Wshift-count-negative] 349 | return bb << shiftDir; | ~~~^~~~~~~~~~~ collect2: fatal error: cannot find ‘ld’ compilation terminated. make: *** [makefile:29: Spaghet-7E96C93D-130BBF51] Error 1