https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95700
--- Comment #21 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to vvinayag from comment #20) > The patch did not fix the issue for me, unfortunately, because CXX_FOR_BUILD > is still set to 'g++'. > But to make it work, I added the line: CXX="$CXX -std=c++11", as shown in > the file I have attached. > With this additional line in both configure and configure.ac, CXX_FOR_BUILD > is set to 'g++ -std=c++11', and the build succeeded for me. However, I do > not know whether that is the right solution. I think the aarch64 issue is fixed with r12-872-g5116b54e4644 on the trunk.