https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98225
--- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> --- > --- Comment #2 from Bernd Edlinger <edlinger at gcc dot gnu.org> --- > Unfortunately I cannot reproduce. > > I configured like this: > ../gcc-trunk/configure --prefix=/home/ed/gnu/install --enable-languages=all > > and use > GNU ld (GNU Binutils) 2.35.1 As I mentioned, it reliably FAILs on Solaris with both the native linker and GNU ld, and in some configurations on Linux, Darwin, and FreeBSD. I don't know where the common ground between those configs is, and THB have absolutely no idea what is happening here. This LTO stuff remains a mystery to me.