https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68268
--- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- Executing "./configure ..." means you are bootstrapping in the sources directory which is not supported according the manual. You must create a build directory, cd to it, and execute "sources_dir/./configure ..." from it, then "make".