> > Hi there, > > So I compiled gcc-7.1.0 with in-tree binutils-2.28 with lto support: > > ../srcdir/configure --enable-languages=c,c++,fortran,lto \ > --enable-lto=yes \ > --prefix=<prefix> \ > --enable-host-shared \ > --enable-shared \ > --with-gnu-as \ > --with-gnu-ld \ > --enable-gold \ > --enable-plugins \ > --with-plugin-ld=gold \ > --with-fpmath=avx It should be `--enable-plugin`, not `--enable-plugins`! Sorry for the noise. Regards, Gaël > > Everything compiles and installs itself properly. But strangely > enough, > I get that error when trying to use -fuse-linker-plugin: > > gcc: error: -fuse-linker-plugin is not supported in this > configuration > > Is there anything obvious I did wrong? > > Regards, > Gaël