./contrib/download_prerequisites
Then in build-8.0.2 folder I ran "make clean", then "make" again. But It still stops with an error:
/bin/sh ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/../move-if-change tmp-tm.texi tm.texi
bash ../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/tools-src/makeSystem -fiso \
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs-iso/SYSTEM.def \
../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs-iso/SYSTEM.mod \
-I../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs-iso:../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/gm2-libs \
"/home/drifter/dev/build-8.2.0/./gcc/xgm2 -B/home/drifter/dev/build-8.2.0/./gcc/" /home/drifter/dev/build-8.2.0/gcc/gm2/gm2-libs-iso/SYSTEM.def
/home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
/home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
make[2]: *** [../../gcc-8.2.0+gm2-git-latest/gm2/gcc-versionno/gcc/gm2/Make-lang.in:1341: /home/drifter/dev/build-8.2.0/gcc/gm2/gm2-libs-iso/SYSTEM.def] Error 1
make[2]: Leaving directory '/home/drifter/dev/build-8.2.0/gcc'
make[1]: *** [Makefile:4302: all-gcc] Error 2
make[1]: Leaving directory '/home/drifter/dev/build-8.2.0'
make: *** [Makefile:918: all] Error 2
These 2 lines seem suspicious:
/home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
/home/drifter/dev/build-8.2.0/./gcc/cc1gm2: error while loading shared libraries: libisl.so.19: cannot open shared object file: No such file or directory
Since libisl.so.19 gives me the feeling it's looking for version 0.19 of isl. However I noticed when running download_prerequisites that it downloaded version 0.18 as part of the prereqs.