Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916997 - sys-devel/gcc-14.0.0_pre20231029: ICE when building games-action/minetest-5.7.0-r2: mesh.cpp:275:40: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference, at expr.cc:7931
Summary: sys-devel/gcc-14.0.0_pre20231029: ICE when building games-action/minetest-5.7...
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:
: 917334 (view as bug list)
Depends on:
Blocks: gcc-14 917305
  Show dependency tree
 
Reported: 2023-11-07 09:24 UTC by Toralf Förster
Modified: 2023-11-26 23:15 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.79 KB, text/plain)
2023-11-07 09:24 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,62.36 KB, application/x-xz)
2023-11-07 09:24 UTC, Toralf Förster
Details
environment (environment,123.28 KB, text/plain)
2023-11-07 09:24 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-07 09:24 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,48.24 KB, application/x-xz)
2023-11-07 09:24 UTC, Toralf Förster
Details
games-action:minetest-5.7.0-r2:20231107-083920.log (games-action:minetest-5.7.0-r2:20231107-083920.log,56.16 KB, text/plain)
2023-11-07 09:24 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,67.35 KB, application/x-xz)
2023-11-07 09:24 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,39.59 KB, application/x-xz)
2023-11-07 09:24 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 2023-11-07 09:24:37 UTC
0x55d593f5b8c1 build_x_binary_op(op_location_t const&, tree_code, tree_node*, tree_code, tree_node*, tree_code, tree_node*, tree_node**, int)
	???:0
0x55d593e9f7dd c_parse_file()
	???:0
0x55d593ff9dff c_common_parse_file()
	???:0
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20231102-160004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.4
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.4
Python 3.11.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

php cli (if any):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit c4a9a8b3a6763d9e9498e15ed6482f01ae13ee33
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Nov 7 07:01:59 2023 +0000

    2023-11-07 07:01:58 UTC

emerge -qpvO games-action/minetest
[ebuild  N    ] games-action/minetest-5.7.0-r2  USE="client curl ncurses nls server sound -doc -leveldb -postgres -prometheus -redis -spatial -test" LUA_SINGLE_TARGET="lua5-1 -luajit"
Comment 1 Toralf Förster gentoo-dev 2023-11-07 09:24:38 UTC
Created attachment 874226 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-07 09:24:40 UTC
Created attachment 874227 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-11-07 09:24:41 UTC
Created attachment 874228 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-07 09:24:42 UTC
Created attachment 874229 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-07 09:24:43 UTC
Created attachment 874230 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-07 09:24:45 UTC
Created attachment 874231 [details]
games-action:minetest-5.7.0-r2:20231107-083920.log
Comment 7 Toralf Förster gentoo-dev 2023-11-07 09:24:46 UTC
Created attachment 874232 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-11-07 09:24:47 UTC
Created attachment 874233 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-07 19:30:52 UTC
Reproduced.

/var/tmp/portage/games-action/minetest-5.7.0-r2/work/minetest-5.7.0/src/client/mesh.cpp: In lambda function:
/var/tmp/portage/games-action/minetest-5.7.0-r2/work/minetest-5.7.0/src/client/mesh.cpp:275:40: internal compiler error: tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’
 in get_inner_reference, at expr.cc:7931
  275 |                 float u = vertex->Pos.*U;
      |                                        ^
0x55f974876090 tree_contains_struct_check_failed(tree_node const*, tree_node_structure_enum, char const*, int, char const*)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/tree.cc:9123
0x55f97379df18 contains_struct_check(tree_node*, tree_node_structure_enum, char const*, int, char const*)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/tree.h:3744
0x55f97379df18 get_inner_reference(tree_node*, poly_int<1u, long>*, poly_int<1u, long>*, tree_node**, machine_mode*, int*, int*, int*)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/expr.cc:7931
0x55f9751136c4 fold_unary_loc(unsigned int, tree_code, tree_node*, tree_node*)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/fold-const.cc:9498
0x55f97504d660 fold_build1_loc(unsigned int, tree_code, tree_node*, tree_node*)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/fold-const.cc:14022
0x55f97504d660 fold_convert_loc(unsigned int, tree_node*, tree_node*)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/fold-const.cc:2597
0x55f97415e5f2 build_m_component_ref(tree_node*, tree_node*, int)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/typeck2.cc:2381
0x55f973a883f8 build_x_binary_op(op_location_t const&, tree_code, tree_node*, tree_code, tree_node*, tree_code, tree_node*, tree_node**, int)
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/typeck.cc:4716
0x55f9751fb21c cp_parser_binary_expression
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:10434
0x55f9751f9f18 cp_parser_assignment_expression
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:10595
0x55f975221b63 cp_parser_constant_expression
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:10885
0x55f975221b63 cp_parser_initializer_clause
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:25746
0x55f975221b63 cp_parser_initializer
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:25685
0x55f975153e70 cp_parser_init_declarator
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:23255
0x55f975142e4d cp_parser_simple_declaration
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:15649
0x55f9752b6e0f cp_parser_declaration_statement
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:14730
0x55f9751eed4a cp_parser_statement
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:12686
0x55f9751eaaf5 cp_parser_statement_seq_opt
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:13210
0x55f9751eaaf5 cp_parser_compound_statement
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:13064
0x55f9752019bf cp_parser_function_body
        /usr/src/debug/sys-devel/gcc-14.0.0_pre20231105/gcc-14-20231105/gcc/cp/parser.cc:25589
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <https://bugs.gentoo.org/> for instructions.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-07 19:38:18 UTC
Reported upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112427.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-14 11:06:47 UTC
*** Bug 917334 has been marked as a duplicate of this bug. ***
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-26 23:15:19 UTC
Fixed in gcc-14.0.0_pre20231119.