Currently, --enable-languages=c --enable-build-with-cxx fails because neither the C++ compiler nor libstdc++-v3 are built in Stage 1, but in Stage 2, CXX is set to .../prev-gcc/g++ and other variables are set accordingly. Is this combination supposed to work?
If yes, is it supposed to only build the C++ compiler and associated library in Stage 1 but not in later stages? If no (to the first question), then shouldn't configure fail early? (This is related to PR bootstrap/40950, but only in that it causes a similarly-looking failure, AFAICS.) Thanks, Ralf