Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922580 - sys-devel/gcc-14: ICE in rewrite_into_loop_closed_ssa_1 when building games-roguelike/stone-soup-0.31.0_pre20231027 - items.cc: internal compiler error:<snip> Segmentation fault
Summary: sys-devel/gcc-14: ICE in rewrite_into_loop_closed_ssa_1 when building games-r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 922597 922717 (view as bug list)
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-01-20 19:37 UTC by Toralf Förster
Modified: 2024-01-23 05:37 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.42 KB, text/plain)
2024-01-20 19:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,34.72 KB, text/plain)
2024-01-20 19:37 UTC, Toralf Förster
Details
environment (environment,124.29 KB, text/plain)
2024-01-20 19:37 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.17 KB, application/x-xz)
2024-01-20 19:37 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.34 KB, application/x-xz)
2024-01-20 19:37 UTC, Toralf Förster
Details
games-roguelike:stone-soup-0.31.0_pre20231027:20240120-192313.log (games-roguelike:stone-soup-0.31.0_pre20231027:20240120-192313.log,73.01 KB, text/plain)
2024-01-20 19:37 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,85.28 KB, text/plain)
2024-01-20 19:37 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 2024-01-20 19:37:25 UTC
json.cc:852:8: note: sb.SB::cur was declared here
  852 |     SB sb;
      |        ^~
x86_64-pc-linux-gnu-g++ -std=c++11  -O3 -pipe -march=native -fno-diagnostics-color -DLUA_COMPAT_OPENLIB=1   -DUSE_SOUND -Wall -Wformat-security -Wundef -Wextra -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wno-type-limits -Wno-uninitialized  -Wno-array-bounds -Wno-format-zero-length -Wmissing-declarations -Wredundant-decls -Wno-parentheses -Wwrite-strings -Wshadow -pedantic -Wuninitialized -Iutil -I. -isystem /usr/include/lua5.1    -DWIZARD -DASSERTS  -DCLUA_BINDINGS -DSAVE_DIR_PATH=\"~/.crawl-0.31\" -DDATA_DIR_PATH=\"/usr/share/stone-soup-0.31/\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -isystem /usr/include/ncursesw -MMD -c kills.cc -o kills.o
during GIMPLE pass: vect
items.cc: In constructor mon_inv_iterator::mon_inv_iterator(monster&):
items.cc:329:1: internal compiler error: Segmentation fault
  329 | mon_inv_iterator::mon_inv_iterator(monster& _mon)
      | ^~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd_merged_usr-20240119-164005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.6 linux/amd64

  HEAD of ::gentoo
commit 17082e9ea923c0de0fb26471257497280beaefad
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 20 18:33:18 2024 +0000

    2024-01-20 18:33:17 UTC

emerge -qpvO games-roguelike/stone-soup
[ebuild  N    ] games-roguelike/stone-soup-0.31.0_pre20231027  USE="ncurses sound -advpng -debug -test -tiles" LUA_SINGLE_TARGET="lua5-1"
Comment 1 Toralf Förster gentoo-dev 2024-01-20 19:37:26 UTC
Created attachment 882705 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-20 19:37:27 UTC
Created attachment 882706 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-01-20 19:37:29 UTC
Created attachment 882707 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-01-20 19:37:30 UTC
Created attachment 882708 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-01-20 19:37:31 UTC
Created attachment 882709 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-20 19:37:32 UTC
Created attachment 882710 [details]
games-roguelike:stone-soup-0.31.0_pre20231027:20240120-192313.log
Comment 7 Toralf Förster gentoo-dev 2024-01-20 19:37:33 UTC
Created attachment 882711 [details]
qlist-info.txt
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-21 10:48:25 UTC
This looks fixed on trunk, I think it's either:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113442 or https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113374
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-21 10:53:14 UTC
*** Bug 922597 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2024-01-22 04:56:47 UTC
The bug has been closed via the following commit(s):

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

commit 77a9314cece73d71ceec164369789b08e744a252
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-01-22 04:56:08 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-01-22 04:56:30 +0000

    sys-devel/gcc: add 14.0.1_pre20240121
    
    Includes a workaround for bug #922195.
    
    Closes: https://bugs.gentoo.org/922195
    Closes: https://bugs.gentoo.org/922580
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                      |  1 +
 sys-devel/gcc/gcc-14.0.1_pre20240121.ebuild | 64 +++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-23 05:37:53 UTC
*** Bug 922717 has been marked as a duplicate of this bug. ***