https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88668
--- Comment #5 from Umesh Kalappa <umesh.kalappa0 at gmail dot com> --- Andrew unfortunately your suggestion didn't worked for us and there was mis-lead in our fix and the actual change was like --- a/gcc/configure +++ b/gcc/configure @@ -11795,15 +11795,16 @@ else CXX="${CXX_FOR_BUILD}" CXXFLAGS="${CXXFLAGS_FOR_BUILD}" \ LD="${LD_FOR_BUILD}" LDFLAGS="${LDFLAGS_FOR_BUILD}" \ GMPINC="" CPPFLAGS="${CPPFLAGS} -DGENERATOR_FILE" \ + enable_targets=$enable_targets\ ${realsrcdir}/configure \ --enable-languages=${enable_languages-all} \ --target=$target_alias --host=$build_alias --build=$build_alias and my bad for miscommunication here .