https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113712
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Lehua Ding from comment #1) > Reproduce steps: > 1. download these object files(bugzilla has size limit): > https://github.com/lhtin/temp/raw/main/objects.zip > 2. cd the object files dir and run the command: /path/to/your/g++ -std=c++03 > -m64 -fprofile-generate -g -Ofast -march=native -flto -fopenmp > -DSPEC_OPENMP FullBoard.o KoState.o Playout.o TimeControl.o UCTSearch.o > GameState.o Leela.o SGFParser.o Timing.o Utils.o FastBoard.o Matcher.o > SGFTree.o TTable.o Zobrist.o FastState.o GTP.o MCOTable.o Random.o SMP.o > UCTNode.o -o leela_s Objects is not the best thing here. Maybe you can reproduce it using the upstream sources of leela? https://github.com/gcp/Leela