https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103271
--- Comment #4 from Qing Zhao <qing.zhao at oracle dot com> --- > > You should be able to simply do > > ../configure --target=riscv64-linux > make all-gcc > > and use the built gcc/cc1 to debug such ICEs. > Thanks. Yes, I can repeat the ICE with this gcc even though “make install” still failed with the following error: make[2]: Leaving directory '/home/opc/Work/GCC/crossbuild/libiberty' /bin/sh: line 3: cd: ./c++tools: No such file or directory make[1]: *** [Makefile:12252: install-c++tools] Error 1 make[1]: Leaving directory '/home/opc/Work/GCC/crossbuild' make: *** [Makefile:2538: install] Error 2 Anyway, I can debug this current bug with this gcc now.