Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 849791 - sys-devel/gcc: ICE in instantiate_decl when building dev-games/wfmath-1.0.2
Summary: sys-devel/gcc: ICE in instantiate_decl when building dev-games/wfmath-1.0.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard: Introduced after 12.1.0
Keywords:
: 850730 (view as bug list)
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-06-05 10:40 UTC by Toralf Förster
Modified: 2022-06-12 00:05 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,17.58 KB, text/plain)
2022-06-05 10:40 UTC, Toralf Förster
Details
dev-games:wfmath-1.0.2:20220605-090809.log (dev-games:wfmath-1.0.2:20220605-090809.log,22.01 KB, text/plain)
2022-06-05 10:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,141.49 KB, text/plain)
2022-06-05 10:40 UTC, Toralf Förster
Details
environment (environment,71.48 KB, text/plain)
2022-06-05 10:40 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,22.31 KB, application/x-bzip)
2022-06-05 10:40 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.86 KB, application/x-bzip)
2022-06-05 10:40 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,23.35 KB, application/x-bzip)
2022-06-05 10:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-06-05 10:40:17 UTC
  252 |         register int i = MTRand::N;
      |                      ^
/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H   -I.. -I..   -pipe -march=native -fno-diagnostics-color -O2 -fno-math-errno -Wall -DNDEBUG -c -o point.lo point.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.. -I.. -pipe -march=native -fno-diagnostics-color -O2 -fno-math-errno -Wall -DNDEBUG -c point.cpp  -fPIC -DPIC -o .libs/point.o
vector.cpp:86:26: internal compiler error: Segmentation fault
   86 |   Vector<3> rot90 = Cross(axis, perp_part) / std::sqrt(axis_sqr_mag);
      |                     ~~~~~^~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20220603-211937

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.4
Python 3.9.13
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 9fdf05b3aa333246b96d1412df176590bcd28b07
Merge: 08be44752fd7 18ff2509a070
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 5 08:18:23 2022 +0000

    Merge updates from master

emerge -qpvO dev-games/wfmath
[ebuild  N    ] dev-games/wfmath-1.0.2  USE="-doc"
Comment 1 Toralf Förster gentoo-dev 2022-06-05 10:40:18 UTC
Created attachment 782891 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-05 10:40:19 UTC
Created attachment 782894 [details]
dev-games:wfmath-1.0.2:20220605-090809.log
Comment 3 Toralf Förster gentoo-dev 2022-06-05 10:40:21 UTC
Created attachment 782897 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-05 10:40:22 UTC
Created attachment 782900 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-05 10:40:23 UTC
Created attachment 782903 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-05 10:40:24 UTC
Created attachment 782906 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-05 10:40:25 UTC
Created attachment 782909 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2022-06-05 11:36:04 UTC
Can reproduce with gcc-12.1.1_p20220604, 11.3.0 doesn't ICE (gcc12 bug?)
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 00:57:38 UTC
*** Bug 850730 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-10 00:58:06 UTC
FWIW: similar stuff when building v8 (chromium probably, but definitely nodejs and qtwebengine). Should be fixed in next snapshot (tomorrow == Saturday).
Comment 11 Larry the Git Cow gentoo-dev 2022-06-12 00:05:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca7148ee2dae3ec7a8b8b119f58e398bbe9bbb0c

commit ca7148ee2dae3ec7a8b8b119f58e398bbe9bbb0c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-11 23:53:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-12 00:04:51 +0000

    sys-devel/gcc: add 12.1.1_p20220611
    
    But doesn't fix the 0ad ICE.
    
    Bug: https://bugs.gentoo.org/847601
    Closes: https://bugs.gentoo.org/849791
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                    |  1 +
 sys-devel/gcc/gcc-12.1.1_p20220611.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+)