[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#922683: marked as done (gcc-8: ICE with -O2 / -O3 on some libpgmath (flang compiler))



Your message dated Mon, 25 Feb 2019 08:46:44 +0000
with message-id <E1gyBuO-000E5K-Qm@fasolo.debian.org>
and subject line Bug#922683: fixed in gcc-8 8.3.0-1
has caused the Debian Bug report #922683,
regarding gcc-8: ICE with -O2 / -O3 on some libpgmath (flang compiler)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
922683: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922683
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
Source: gcc-8
Source-Version: 8.3.0-1

We believe that the bug you reported is fixed in the latest version of
gcc-8, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 922683@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated gcc-8 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 25 Feb 2019 09:03:00 +0100
Source: gcc-8
Architecture: source
Version: 8.3.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian GCC Maintainers <debian-gcc@lists.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Closes: 922683
Changes:
 gcc-8 (8.3.0-1) unstable; urgency=medium
 .
   * GCC 8.3.0 release.
   * Update newlib to newlib-3.1.0.20181231.
   * Refresh patches.
   * Fix PR middle-end/89412, patch taken from the trunk. Closes: #922683.
Checksums-Sha1:
 64e1490528e83e3ea17a0adfa313c3e277d22277 32433 gcc-8_8.3.0-1.dsc
 6630480075f371093003ecd57b020db45bb343e6 87764363 gcc-8_8.3.0.orig.tar.gz
 62aca7690a4a792fc01b4c8820e10eb70b7dffa4 637905 gcc-8_8.3.0-1.diff.gz
 3362b9c8d1ea4e3ecdb71133a00938c8a7971abc 11341 gcc-8_8.3.0-1_source.buildinfo
Checksums-Sha256:
 3f8445d1ff23df4e3d2dfae94f9d6f80fb0ec7553ba55a121244a33e7aceb04d 32433 gcc-8_8.3.0-1.dsc
 ee3fd608f66e5737f20cf71b176cfbf58f7c1d190ad6def33d57610cdae8eac2 87764363 gcc-8_8.3.0.orig.tar.gz
 854bf3fa9a94a81209f1c627adb1a2992e031c1b2359ed5654f963bda76297f5 637905 gcc-8_8.3.0-1.diff.gz
 cb89126ca4aa8b8a51dc7f93e93d1bd12fb1e967168a1244b4f2e0f6bbb2af67 11341 gcc-8_8.3.0-1_source.buildinfo
Files:
 9f693ac3f8c8e4356ab276e3aecb8ece 32433 devel optional gcc-8_8.3.0-1.dsc
 fff19b9ab5803a8c7afc6baf022c2b6a 87764363 devel optional gcc-8_8.3.0.orig.tar.gz
 d68e7817f7b39b6e214ec4621240cbd0 637905 devel optional gcc-8_8.3.0-1.diff.gz
 f83d15a90fbdfe8238ea77377fe0efe3 11341 devel optional gcc-8_8.3.0-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE1WVxuIqLuvFAv2PWvX6qYHePpvUFAlxzofUQHGRva29AZGVi
aWFuLm9yZwAKCRC9fqpgd4+m9b0lD/9nX0kC+56b9gKxS/dnqMlDMyaM8INTwhOZ
GfAUgd7SPUaVWLhrlIHKTY3CMUv9kNoad8XyYJtIL2BH26BpNY1ZBLiDVo8H/wS7
hRpKhMgvO5ASrnsizID4x0GOr7HunwITVciPyH5w/ZQ0nagIsmLyA9tDHEcLNEZ9
bomE2goKVI+HIkB4MXuxEBF1FDPYS4hhIRWw+cinbWHGlhGxq2y9VdSI4sgXLiMr
dFqln+fAC6jpgmbs16VHw6x8xaJn87F8pSkEPF5YTwJ767NU/fDzdLVZiHpGSzS0
uwyWO7cSC5E4aQU48StX6rYCmXDAyZmGQcYiLbUG3uJbKvHeH7P9XivuQdUSKZ16
H8Vm2zNODDp9cUaygAgok8I+uEFIVAvlegL3sHdFCXtqShz/pOdLLzR01EVFY0H3
L5Ut5U0OoUrs+Yui7sxU8sELVYcpXX7tsqaPMIGPhAtLEE4YBMr8mgGqMDQe0Ogh
EKruUcyNO8LNunHsTicasdrs6f0x4HEK42rMSamiIMmgXVEofHK+37ZEYUx7CM5g
Ym4DuAfIJwfF006thvyzoXaItGt671XwTG2P0S1L0n4/4rDQFzkenyElFfOQW4gW
9hoMEwQmsRnM+WFC+H7zjsbGM9IyisVxIxTDcZYrE+Bt667SSJLhYVK9FXCpmAOT
xyVBM17WYQ==
=KliN
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: