https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84800
Bug ID: 84800 Summary: ICE building gcc in isl_factorization.c with xgcc on SPARC Solaris with 8-20180304 snapshot Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: andrewm.roberts at sky dot com Target Milestone: --- Building gcc-8-20180304 failed on native SPARC Solaris 10 (sparc-sun-solaris2.10). I had previously built the 20180114 snapshot in the same way (the only difference is using mpfr-4.0.1 vs mpfr-4.0.0). I'm retrying the 20180114 snapshot with mpfr-4.0.1. The host compiler is the OpenCSW gcc compiler: /opt/csw/bin/gcc -v Reading specs from /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.5.0/specs COLLECT_GCC=/opt/csw/bin/gcc COLLECT_LTO_WRAPPER=/opt/csw/libexec/gcc/sparc-sun-solaris2.10/5.5.0/lto-wrapper Target: sparc-sun-solaris2.10 Configured with: /home/dam/mgar/pkg/gcc5/trunk/work/solaris10-sparc/build-isa-sparcv8p lus/gcc-5.5.0/configure --prefix=/opt/csw --exec_prefix=/opt/csw --bindir=/opt/csw/bin --sbindir=/opt/csw/sbin --libexecdir=/opt/csw/libexec --datadir=/opt/csw/share --sysc onfdir=/etc/opt/csw --sharedstatedir=/opt/csw/share --localstatedir=/var/opt/csw --lib dir=/opt/csw/lib --infodir=/opt/csw/share/info --includedir=/opt/csw/include --mandir= /opt/csw/share/man --enable-cloog-backend=isl --enable-java-awt=xlib --enable-language s=ada,c,c++,fortran,go,java,objc --enable-libada --enable-libssp --enable-nls --enable -objc-gc --enable-threads=posix --program-suffix=-5.5 --with-cloog=/opt/csw --with-gmp =/opt/csw --with-included-gettext --with-ld=/usr/ccs/bin/ld --without-gnu-ld --with-li biconv-prefix=/opt/csw --with-mpfr=/opt/csw --with-ppl=/opt/csw --with-system-zlib=/op t/csw --with-as=/usr/ccs/bin/as --without-gnu-as Thread model: posix gcc version 5.5.0 (GCC) The gcc configuration used for the build is gmp 6.12, mpc 1.1.0, mpfr 4.0.1, isl 0.18 all built in tree as follows: gccver=8-20180304 gmpver=6.1.2 mpcver=1.1.0 mpfrver=4.0.1 islver=0.18 gtar -xf gcc-$gccver.tar.* cd gcc-$gccver gtar -xf ../gmp-$gmpver.tar.* gtar -xf ../mpc-$mpcver.tar.* gtar -xf ../mpfr-$mpfrver.tar.* gtar -xf ../isl-$islver.tar.* ln -s gmp-$gmpver gmp ln -s mpc-$mpcver mpc ln -s mpfr-$mpfrver mpfr ln -s isl-$islver isl cd .. mkdir gcc-build cd gcc-build CC=/opt/csw/bin/gcc ; export CC CXX=/opt/csw/bin/g++ ; export CXX ../gcc-$gccver/configure \ --prefix=/usr/local/gcc-$gccver \ --with-ld=/usr/ccs/bin/ld --without-gnu-ld \ --with-as=/usr/ccs/bin/as --without-gnu-as \ --build=sparc-sun-solaris2.10 \ --target=sparc-sun-solaris2.10 \ --enable-languages=c,c++,fortran --enable-shared \ --enable-libssp --enable-nls --enable-threads=posix \ --with-included-gettext \ --with-libiconv-prefix=/opt/csw --with-system-zlib=/opt/csw \ --with-isl gmake The error is: libtool: compile: /export/home/aroberts/Public/gcc-build/./prev-gcc/xgcc -B/export/home/aroberts/Public/gcc-build/./prev-gcc/ -B/usr/local/gcc-8-20180304/sparc-sun-solaris2.10/bin/ -B/usr/local/gcc-8-20180304/sparc-sun-solaris2.10/bin/ -B/usr/local/gcc-8-20180304/sparc-sun-solaris2.10/lib/ -isystem /usr/local/gcc-8-20180304/sparc-sun-solaris2.10/include -isystem /usr/local/gcc-8-20180304/sparc-sun-solaris2.10/sys-include -DHAVE_CONFIG_H -I. -I../../gcc-8-20180304/isl -I../../gcc-8-20180304/isl/include -Iinclude/ -I/export/home/aroberts/Public/gcc-build/gmp/../../gcc-8-20180304/gmp -I/export/home/aroberts/Public/gcc-build/./gmp -g -O2 -MT isl_factorization.lo -MD -MP -MF .deps/isl_factorization.Tpo -c ../../gcc-8-20180304/isl/isl_factorization.c -o isl_factorization.o during GIMPLE pass: pre ../../gcc-8-20180304/isl/isl_factorization.c: In function ‘isl_basic_set_factorizer’: ../../gcc-8-20180304/isl/isl_factorization.c:256:28: internal compiler error: in compute_antic_aux, at tree-ssa-pre.c:2148 __isl_give isl_factorizer *isl_basic_set_factorizer( ^~~~~~~~~~~~~~~~~~~~~~~~ 0x1222833 compute_antic_aux ../../gcc-8-20180304/gcc/tree-ssa-pre.c:2148 0x1223633 compute_antic ../../gcc-8-20180304/gcc/tree-ssa-pre.c:2364 0x122a3c7 execute ../../gcc-8-20180304/gcc/tree-ssa-pre.c:4131 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. gmake[5]: *** [isl_factorization.lo] Error 1 gmake[5]: Leaving directory `/export/home/aroberts/Public/gcc-build/isl' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/export/home/aroberts/Public/gcc-build/isl' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/export/home/aroberts/Public/gcc-build/isl' gmake[2]: *** [all-stage2-isl] Error 2 gmake[2]: Leaving directory `/export/home/aroberts/Public/gcc-build' gmake[1]: *** [stage2-bubble] Error 2 gmake[1]: Leaving directory `/export/home/aroberts/Public/gcc-build' gmake: *** [all] Error 2 The system is a Sun Blade 150, with UltraSPARC-IIe 650MHz (actually a UltraSPARC-IIi, but reported as IIe) The Solaris version is: Solaris 10 1/12 s10s_u11wos_24a SPARC The build of the older snapshot will take a day or two, so I'll report back then.