Package: gcc-8 Version: 8.2.0-21 Severity: normal Building the Flang compiler (libpgmath component) leads to ICEs with i386 / mips64el/ armhf (+ maybe others):
https://buildd.debian.org/status/package.php?p=flang Example for i386: https://buildd.debian.org/status/fetch.php?pkg=flang&arch=i386&ver=20181226-2&stamp=1549920592&raw=0 cd /<<PKGBUILDDIR>>/debian/build/runtime/libpgmath/lib/common && /usr/bin/cc -DHOST_LINUX -DMAXCPUS=256 -DMAXCPUSL=8 -DMAXCPUSR=8 -DPG_PIC -DTARGET_64 -DTARGET_LINUX -DTARGET_LINUX_64 -DTARGET_LINUX_GENERIC -DTARGET_LLVM -DTARGET_LLVM_64 -DTARGET_LLVM_LINUX64 -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/common -I/<<PKGBUILDDIR>>/runtime/libpgmath/lib/generic -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -O3 -ffp-contract=fast -o CMakeFiles/common.dir/cdpowi.c.o -c /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/cdpowi.c during RTL pass: expand In file included from /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/cdpowi.c:18: /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/cdpowi.c: In function '__mth_i_cdpowi': /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/mthdecls.h:233:21: internal compiler error: in simplify_subreg, at simplify-rtx.c:6273 *(dcmplx_t *)&_zr = *dcmplx; } ~~~~~~~~~~~~~~~~~~^~~~~~~~~ /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/cdpowi.c:51:5: note: in expansion of macro 'ZMPLX_CALL_ZR_Z_Z' ZMPLX_CALL_ZR_Z_Z(__mth_i_cddiv,z,c1plusi0,z); ^~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-8/README.Bugs> for instructions. Preprocessed source stored into /tmp/ccXm6lK8.out file, please attach this to your bugreport. === BEGIN GCC DUMP === 15208: // Target: i686-linux-gnu 15208: // Configured with: ../src/configure -v --with-pkgversion='Debian 8.2.0-20' --with-bugurl=file:///usr/share/doc/gcc-8/README.Bugs --enable-languages=c,ada,c++,go,brig,d,fortran,objc,obj-c++ --prefix=/usr --with-gcc-major-version-only --program-suffix=-8 --program-prefix=i686-linux-gnu- --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --enable-bootstrap --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --enable-default-pie --with-system-zlib --with-target-system-zlib --enable-objc-gc=auto --enable-targets=all --enable-multiarch --disable-werror --with-arch-32=i686 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu 15208: // Thread model: posix 15208: // gcc version 8.2.0 (Debian 8.2.0-20) 15208: // 15208: // during RTL pass: expand 15208: // In file included from /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/cdpowi.c:18: 15208: // /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/cdpowi.c: In function '__mth_i_cdpowi': 15208: // /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/mthdecls.h:233:21: internal compiler error: in simplify_subreg, at simplify-rtx.c:6273 15208: // *(dcmplx_t *)&_zr = *dcmplx; } 15208: // ~~~~~~~~~~~~~~~~~~^~~~~~~~~ 15208: // /<<PKGBUILDDIR>>/runtime/libpgmath/lib/common/cdpowi.c:51:5: note: in expansion of macro 'ZMPLX_CALL_ZR_Z_Z' 15208: // ZMPLX_CALL_ZR_Z_Z(__mth_i_cddiv,z,c1plusi0,z); 15208: // ^~~~~~~~~~~~~~~~~ Regards Alastair McKinstry -- System Information: Debian Release: buster/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-3-amd64 (SMP w/2 CPU cores) Kernel taint flags: TAINT_CRAP Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8), LANGUAGE=en_IE:en (charmap=UTF-8) (ignored: LC_ALL set to en_IE.UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages gcc-8 depends on: ii binutils 2.31.1-12 ii cpp-8 8.2.0-21 ii gcc-8-base 8.2.0-21 ii libc6 2.28-7 ii libcc1-0 8.2.0-21 ii libgcc-8-dev 8.2.0-21 ii libgcc1 1:8.2.0-21 ii libgmp10 2:6.1.2+dfsg-4 ii libisl19 0.20-2 ii libmpc3 1.1.0-1 ii libmpfr6 4.0.2-1 ii libstdc++6 8.2.0-21 ii zlib1g 1:1.2.11.dfsg-1 Versions of packages gcc-8 recommends: ii libc6-dev 2.28-7 Versions of packages gcc-8 suggests: pn gcc-8-doc <none> pn gcc-8-locales <none> ii gcc-8-multilib 8.2.0-21 pn libasan5-dbg <none> pn libatomic1-dbg <none> ii libgcc1-dbg 1:8.2.0-21 pn libgomp1-dbg <none> pn libitm1-dbg <none> pn liblsan0-dbg <none> pn libmpx2-dbg <none> pn libquadmath0-dbg <none> pn libtsan0-dbg <none> pn libubsan1-dbg <none> -- no debconf information