When gcc is configured with --enable-languages=...,lto,..., make check fails with:
make[3]: Leaving directory `/home/smatz/build-164162-lto-fortran-checking-yes-rtl-df/gcc' make[2]: *** No rule to make target `check-lto', needed by `check'. Stop. make[2]: Leaving directory `/home/smatz/build-164162-lto-fortran-checking-yes-rtl-df/gcc' make[1]: *** [check-gcc] Error 2 make[1]: Leaving directory `/home/smatz/build-164162-lto-fortran-checking-yes-rtl-df' make: *** [do-check] Error 2 check-gcc, check-g++ and check-gfortran finish fine Version information: $ /mnt/svn/gcc-trunk/binary-164162-lto-fortran-checking-yes-rtl-df/bin/gcc -v Using built-in specs. COLLECT_GCC=/mnt/svn/gcc-trunk/binary-164162-lto-fortran-checking-yes-rtl-df/bin/gcc COLLECT_LTO_WRAPPER=/mnt/svn/gcc-trunk/binary-164162-lto-fortran-checking-yes-rtl-df/libexec/gcc/x86_64-unknown-linux-gnu/4.6.0/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: /mnt/svn/gcc-trunk/configure --enable-checking=yes,rtl,df --enable-languages=c,c++,lto,fortran --prefix=/mnt/svn/gcc-trunk/binary-164162-lto-fortran-checking-yes-rtl-df/ Thread model: posix gcc version 4.6.0 20100910 (experimental) (GCC) I think this never worked (as far as I remember) According to http://gcc.gnu.org/install/configure.html, --enable-languages=lto is allowed, as its output by: gcc $ grep language= */config-lang.in ada/config-lang.in:language="ada" cp/config-lang.in:language="c++" fortran/config-lang.in:language="fortran" java/config-lang.in:language="java" lto/config-lang.in:language="lto" objc/config-lang.in:language="objc" objcp/config-lang.in:language="obj-c++" -- Summary: No rule to make target `check-lto', needed by `check'. Stop. Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: testsuite AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: zsojka at seznam dot cz GCC host triplet: x86_64-pc-linux-gnu GCC target triplet: x86_64-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45638