Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917037 - sys-devel/gcc-14: ICE when building net-libs/libqmi-1.32.4 with -O3 -ftrivial-auto-var-init=zero
Summary: sys-devel/gcc-14: ICE when building net-libs/libqmi-1.32.4 with -O3 -ftrivial...
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: fixed in 14.0.0_pre20231112
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2023-11-08 14:15 UTC by Toralf Förster
Modified: 2024-11-01 18:15 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.50 KB, text/plain)
2023-11-08 14:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,158.75 KB, text/plain)
2023-11-08 14:15 UTC, Toralf Förster
Details
environment (environment,98.57 KB, text/plain)
2023-11-08 14:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.05 KB, application/x-xz)
2023-11-08 14:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,6.49 KB, application/x-xz)
2023-11-08 14:15 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.74 KB, application/x-xz)
2023-11-08 14:15 UTC, Toralf Förster
Details
net-libs:libqmi-1.32.4:20231108-124458.log (net-libs:libqmi-1.32.4:20231108-124458.log,39.84 KB, text/plain)
2023-11-08 14:16 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,47.37 KB, application/x-xz)
2023-11-08 14:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.44 KB, application/x-xz)
2023-11-08 14:16 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-08 14:15:53 UTC
0x5614ab46641d internal_error(char const*, ...)
	???:0
0x5614a9550026 tree_class_check_failed(tree_node const*, tree_code_class, char const*, int, char const*)
	???:0
0x5614a9fb6ca1 verify_gimple_in_cfg(function*, bool, bool)
	???: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: 23.0_desktop_systemd-20231105-205452

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

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
  [2]   rust-1.73.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-bin-21 

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

  HEAD of ::gentoo
commit 427440e1178c2b908267c1329d1a0aadfb4db573
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 8 12:03:48 2023 +0000

    2023-11-08 12:03:47 UTC

emerge -qpvO net-libs/libqmi
[ebuild  N    ] net-libs/libqmi-1.32.4  USE="mbim qrtr -gtk-doc"
Comment 1 Toralf Förster gentoo-dev 2023-11-08 14:15:54 UTC
Created attachment 874321 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-11-08 14:15:55 UTC
Created attachment 874322 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-11-08 14:15:56 UTC
Created attachment 874323 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-11-08 14:15:57 UTC
Created attachment 874324 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-11-08 14:15:58 UTC
Created attachment 874325 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-11-08 14:15:59 UTC
Created attachment 874326 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-11-08 14:16:00 UTC
Created attachment 874327 [details]
net-libs:libqmi-1.32.4:20231108-124458.log
Comment 8 Toralf Förster gentoo-dev 2023-11-08 14:16:01 UTC
Created attachment 874328 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-11-08 14:16:02 UTC
Created attachment 874329 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-08 14:24:44 UTC
toralf, could you run:

(cd /var/tmp/portage/net-libs/libqmi-1.32.4/work/libqmi-1.32.4-build && x86_64-pc-linux-gnu-gcc -Isrc/libqmi-glib/generated/libqmi-glib-generated.a.p -Isrc/libqmi-glib/generated -I../libqmi-1.32.4/src/libqmi-glib/generated -I. -I../libqmi-1.32.4 -Isrc/libqmi-glib -I../libqmi-1.32.4/src/libqmi-glib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libqrtr-glib -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu89 -DHAVE_CONFIG_H -Wno-unused-parameter -Wno-cast-function-type -Wno-packed -O3 -pipe -march=native -fno-diagnostics-color -fPIC -pthread -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_DISABLE_DEPRECATION_WARNINGS -DLIBQMI_GLIB_COMPILATION '-DG_LOG_DOMAIN="Qmi"' -Wno-unused-function -MD -MQ src/libqmi-glib/generated/libqmi-glib-generated.a.p/meson-generated_.._qmi-pbm.c.o -MF src/libqmi-glib/generated/libqmi-glib-generated.a.p/meson-generated_.._qmi-pbm.c.o.d -o src/libqmi-glib/generated/libqmi-glib-generated.a.p/meson-generated_.._qmi-pbm.c.o -c src/libqmi-glib/generated/qmi-pbm.c -freport-bug)

and give me the output it creates?
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-08 14:26:08 UTC
nvm, I reproduced it
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-08 14:29:28 UTC
Reported upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112444.
Comment 13 Larry the Git Cow gentoo-dev 2023-11-12 22:39:55 UTC
The bug has been closed via the following commit(s):

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

commit 7fdcd9f03c44ad03338b36a0e05122f692a60446
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-11-12 22:39:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-11-12 22:39:37 +0000

    sys-devel/gcc: add 14.0.0_pre20231112
    
    Closes: https://bugs.gentoo.org/916734
    Closes: https://bugs.gentoo.org/917037
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                      |  1 +
 sys-devel/gcc/gcc-14.0.0_pre20231112.ebuild | 64 +++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)