La instalación de GCC 4.7.0 falla en el comando make

La instalación de GCC 4.7.0 falla en el comando make

Estoy intentando instalar GCC 4.7.0 en Linux Mint (basado en Ubuntu 18.04). Ya pasé el primer paso de configurarlo. Sin embargo, cuando ejecuto make -j5, aparece los siguientes errores:

make[2]: Leaving directory '/home/james/src/build-gcc'
Makefile:26035: recipe for target 'stage1-bubble' failed
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory '/home/james/src/build-gcc'
Makefile:941: recipe for target 'all' failed
make: *** [all] Error 2
make[1]: Entering directory '/home/james/src/build-gcc'
/bin/bash ../gcc-7.4.0/mkinstalldirs /home/james/opt/gcc-7.4.0 
/home/james/opt/gcc-7.4.0
make[2]: Entering directory '/home/james/src/build-gcc/fixincludes'
make[2]: *** No rule to make target 'install'.  Stop.
make[2]: Leaving directory '/home/james/src/build-gcc/fixincludes'
Makefile:3736: recipe for target 'install-fixincludes' failed
make[1]: *** [install-fixincludes] Error 2
make[1]: Leaving directory '/home/james/src/build-gcc'
Makefile:2337: recipe for target 'install' failed
make: *** [install] Error 2

Estoy siguiendo los pasos proporcionados por OSDev Wiki aquí:https://wiki.osdev.org/Building_GCC. Necesito que este compilador funcione para poder crear un compilador cruzado. ¿Por qué sucede esto y cómo lo soluciono?

EDITAR: Aquí está el archivo config.log completo:http://www.mediafire.com/file/oco5szzfrr7hpmq/config.log/file

información relacionada