https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119729
--- Comment #4 from mcccs at gmx dot com --- Suggested patch: +if test $srcdir = . ; then + AC_MSG_ERROR([building in the top level project directory is not supported. Please change the current directory to a new directory (can be a new subdirectory of the project root)]) +fi just above "# Find the build and target subdir names." in top-level configure.ac