https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78926
--- Comment #14 from __vic <d.v.a at ngs dot ru> --- GCC 7-RC1 now reports lto1: fatal error: bytecode stream in file ‘lib/libssl.a’ generated with LTO version 5.1 instead of the expected 6.0 compilation terminated. lto-wrapper: fatal error: g++ returned 1 exit status compilation terminated. /opt/binutils/bin/ld: fatal error: lto-wrapper failed collect2: error: ld returned 1 exit status in such situation. Very helpful!