Summary: | sys-devel/gcc-10.3.0: ICE on valid at gcc/cp/pt.c:15310 (c++/PR100102) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matěj Laitl <matej> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100102 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Matěj Laitl
2021-06-07 15:10:01 UTC
@slyfox, once Patrick Palka has backported these fixes, could we cherry-pick them? The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=410694b37724fd4afce934a8eb8aae7e8d4b4084 commit 410694b37724fd4afce934a8eb8aae7e8d4b4084 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-06-08 07:09:44 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-06-08 07:09:44 +0000 10.3.0: pull upstream c++/PR1100102 (fix tsubst ICE) Reported-by: Matěj Laitl Bug: https://bugs.gentoo.org/794775 Bug: https://gcc.gnu.org/PR100102 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 10.3.0/gentoo/34_all_ICE-tsubst-PR100102.patch | 133 +++++++++++++++++++++++++ 10.3.0/gentoo/README.history | 1 + 2 files changed, 134 insertions(+) https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=e5964165059455bd9c45b559c11c470b6c8eb995 commit e5964165059455bd9c45b559c11c470b6c8eb995 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-06-08 07:05:23 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-06-08 07:07:32 +0000 11.1.0: pull upstream c++/PR1100102 (fix tsubst ICE) Reported-by: Matěj Laitl Bug: https://bugs.gentoo.org/794775 Bug: https://gcc.gnu.org/PR100102 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 11.1.0/gentoo/31_all_ICE-tsubst-PR100102.patch | 128 +++++++++++++++++++++++++ 11.1.0/gentoo/README.history | 1 + 2 files changed, 129 insertions(+) New patchset should be released into ::gentoo in a few weeks. Until then you can drop the patch https://gitweb.gentoo.org/proj/gcc-patches.git/plain/10.3.0/gentoo/34_all_ICE-tsubst-PR100102.patch to /etc/portage/patches/sys-devel/gcc:10 and check if it fixes failures for you. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=9d40799e2ef69d8650dd59325c0e84b902258b00 commit 9d40799e2ef69d8650dd59325c0e84b902258b00 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-06-10 07:28:54 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-06-10 07:28:54 +0000 11.1.0: cut 2 patchset Five new patches: + 27_all_msp430-f2c.patch: fix build on 16-bit targets + 28_all_ctor-union-PR100489.patch: fix ICE on some c++ initializers + 29_all_perfect-implicit-PR100644.patch: fix move deletion (fireofx build) + 30_all_arm-lto-ICE-march-mix.patch: fix LTO ICE on arm -march=/-mtune mix + 31_all_ICE-tsubst-PR100102.patch: Bug: https://gcc.gnu.org/PR100361 Bug: https://bugs.gentoo.org/788829 Bug: https://gcc.gnu.org/PR100489 Bug: https://gcc.gnu.org/PR100644 Bug: https://bugs.gentoo.org/792705 Bug: https://gcc.gnu.org/PR100767 Bug: https://bugs.gentoo.org/792291 Bug: https://bugs.gentoo.org/794775 Bug: https://gcc.gnu.org/PR100102 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 11.1.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=4fdc5533816df36a81b6c57dcf7c2233a87f2d46 commit 4fdc5533816df36a81b6c57dcf7c2233a87f2d46 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-06-10 07:40:21 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-06-10 07:40:21 +0000 10.3.0: cut 2 patchset Five new patches: + 33_all_ctor-union-PR100489.patch: fix ICE on some c++ initializers + 34_all_ICE-tsubst-PR100102.patch: fix ICE in c++ tempate substitution Bug: https://bugs.gentoo.org/788829 Bug: https://gcc.gnu.org/PR100489 Bug: https://bugs.gentoo.org/794775 Bug: https://gcc.gnu.org/PR100102 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> 10.3.0/gentoo/README.history | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=187f062a6f1a768d0e33e0f10c63feb2e74d0b49 commit 187f062a6f1a768d0e33e0f10c63feb2e74d0b49 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-06-10 07:49:15 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-06-10 07:50:32 +0000 sys-devel/gcc: 10.3.0: cut 2 patchset Two new patches: + 33_all_ctor-union-PR100489.patch: fix ICE on some c++ initializers + 34_all_ICE-tsubst-PR100102.patch: fix ICE in c++ tempate substitution Bug: https://bugs.gentoo.org/788829 Bug: https://gcc.gnu.org/PR100489 Bug: https://bugs.gentoo.org/794775 Bug: https://gcc.gnu.org/PR100102 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-10.3.0-r1.ebuild | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b250f4243abd49acdd459751ae1e55c995bf9818 commit b250f4243abd49acdd459751ae1e55c995bf9818 Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2021-06-10 07:39:30 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2021-06-10 07:50:31 +0000 sys-devel/gcc: 11.1.0: cut 2 patchset Five new patches: + 27_all_msp430-f2c.patch: fix build on 16-bit targets + 28_all_ctor-union-PR100489.patch: fix ICE on some c++ initializers + 29_all_perfect-implicit-PR100644.patch: fix move deletion (fireofx build) + 30_all_arm-lto-ICE-march-mix.patch: fix LTO ICE on arm -march=/-mtune mix + 31_all_ICE-tsubst-PR100102.patch: fix ICE in c++ tempate substitution Bug: https://gcc.gnu.org/PR100361 Bug: https://bugs.gentoo.org/788829 Bug: https://gcc.gnu.org/PR100489 Bug: https://gcc.gnu.org/PR100644 Bug: https://bugs.gentoo.org/792705 Bug: https://gcc.gnu.org/PR100767 Bug: https://bugs.gentoo.org/792291 Bug: https://bugs.gentoo.org/794775 Bug: https://gcc.gnu.org/PR100102 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> sys-devel/gcc/Manifest | 1 + sys-devel/gcc/gcc-11.1.0-r1.ebuild | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) Should be fixed in gcc-11.1.0-r1 and gcc-10.3.0-r1. Thanks! Somewhat late, but I can confirm dropping the patch to /etc/portage/patches fixed the problem for me. |