Problem compiling Brainfish FLTO

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

Canoike
Posts: 125
Joined: Tue Jan 17, 2012 8:08 pm

Problem compiling Brainfish FLTO

Post by Canoike »

Hi

I use GCC 5.4 under Ubuntu.
I'm trying to compile Bainfish Numa but at the end, I get this error message related to LTO :

g++ -o stockfish benchmark.o bitbase.o bitboard.o endgame.o evaluate.o main.o material.o misc.o movegen.o movepick.o numasf.o pawns.o position.o psqt.o search.o thread.o timeman.o tt.o uci.o ucioption.o tzbook.o syzygy/tbprobe.o -lnuma -Wl,--no-as-needed -lpthread -Wall -Wcast-qual -fno-exceptions -fno-rtti -std=c++11 -pedantic -Wextra -Wshadow -m64 -DNDEBUG -O3 -DIS_64BIT -msse -msse3 -mpopcnt -DUSE_POPCNT -flto
lto1: internal compiler error: segmentation fault

Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions.
lto-wrapper: fatal error: g++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed