https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69351
--- Comment #3 from Sergei Trofimovich <slyfox at inbox dot ru> --- Built gcc from master (binutils 2.25.1). Error does not happen there: Using built-in specs. COLLECT_GCC=bin/gcc COLLECT_LTO_WRAPPER=/home/slyfox/dev/git/gcc-native-quick-installed/bin/../libexec/gcc/x86_64-pc-linux-gnu/6.0.0/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --enable-languages=c,c++ --disable-bootstrap --prefix=/home/slyfox/dev/git/gcc-native-quick/../gcc-native-quick-installed Thread model: posix gcc version 6.0.0 20160122 (experimental) (GCC) $ ld -v GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 I'll try to dig into more details locally why I see it only on 5.3.0.