g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/bitboard.cpp -o src/bitboard.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/cuckoo.cpp -o src/cuckoo.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/evaluate.cpp -o src/evaluate.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/main.cpp -o src/main.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/movegen.cpp -o src/movegen.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/movepick.cpp -o src/movepick.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/nnue.cpp -o src/nnue.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/position.cpp -o src/position.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/search.cpp -o src/search.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/threads.cpp -o src/threads.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/timeman.cpp -o src/timeman.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/tt.cpp -o src/tt.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/tuning.cpp -o src/tuning.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/uci.cpp -o src/uci.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/ucioption.cpp -o src/ucioption.o
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/zobrist.cpp -o src/zobrist.o
gcc -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native -c src/fathom/src/tbprobe.c -o src/fathom/src/tbprobe.o
cc1: warning: command-line option ‘-std=c++17’ is valid for C++/ObjC++ but not for C
g++ -s -pthread -std=c++17 -DNDEBUG -O3 -fno-stack-protector -fno-math-errno -funroll-loops -fno-exceptions -flto -flto-partition=one -march=native src/bitboard.o src/cuckoo.o src/evaluate.o src/main.o src/movegen.o src/movepick.o src/nnue.o src/position.o src/search.o src/threads.o src/timeman.o src/tt.o src/tuning.o src/uci.o src/ucioption.o src/zobrist.o src/fathom/src/tbprobe.o -o Obsidian-96C2DE0B
lto1: fatal error: bytecode stream in file ‘src/fathom/src/tbprobe.o’ generated with LTO version 13.0 instead of the expected 11.3
compilation terminated.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make: *** [Makefile:64: make] Error 1