https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119729
--- Comment #6 from mcccs at gmx dot com --- I haven't been given a sourceware account, I can't file a bug on sourceware. Maybe we can do it for GCC only and if they agree with it in the future they can change it: Updated patch: +if test $srcdir = . && test -d $srcdir/gcc ; then + AC_MSG_ERROR([building GCC with the top level project directory as the working directory is not supported. Please change the current directory to a different 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