Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930199 - sys-devel/gcc: ICE when building dev-libs/intel-compute-runtime-24.13.29138.7 (tracing_barrier_imp.cpp: internal compiler error: verify_cgraph_node failed)
Summary: sys-devel/gcc: ICE when building dev-libs/intel-compute-runtime-24.13.29138.7...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-18 14:11 UTC by Toralf Förster
Modified: 2024-07-22 15:05 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.04 KB, text/plain)
2024-04-18 14:11 UTC, Toralf Förster
Details
dev-libs:intel-compute-runtime-24.13.29138.7:20240418-101040.log.xz (dev-libs:intel-compute-runtime-24.13.29138.7:20240418-101040.log.xz,90.42 KB, application/x-xz)
2024-04-18 14:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.79 KB, text/plain)
2024-04-18 14:11 UTC, Toralf Förster
Details
environment (environment,99.21 KB, text/plain)
2024-04-18 14:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.18 KB, application/x-xz)
2024-04-18 14:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,35.94 KB, application/x-xz)
2024-04-18 14:11 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,122.82 KB, text/plain)
2024-04-18 14:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.12 KB, application/x-xz)
2024-04-18 14:11 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-04-18 14:11:27 UTC
too long lines were shrinked:

  Calls: _ZN2L019APITracerContextImp24releaseActivetracersListEv/2075678 (114435364 (estimated locally),0.40 per call) _ZNSt6vectorIPvSaIS0_EE6resizeEm.constprop.0/7377829 (inlined) (143044205 (estimated locally),0.50 per call) (can throw external) _ZNKSt6vectorIN2L025APITracerCallbackStateImpIPFvP4
   Indirect call(618839143 (estimated locally),2.16 per call) (can throw external) num speculative call targets: 0
   Indirect call(143044205 (estimated locally),0.50 per call) (can throw external) num speculative call targets: 0
   Indirect call(618839143 (estimated locally),2.16 per call) (can throw external) num speculative call targets: 0
   Indirect call(speculative) (28608841 (estimated locally),0.10 per call) (can throw external) num speculative call targets: 1
during IPA pass: inline
/var/tmp/portage/dev-libs/intel-compute-runtime-24.13.29138.7/work/compute-runtime-24.13.29138.7/level_zero/experimental/source/tracing/tracing_barrier_imp.cpp:32:35: internal compiler error: verify_cgraph_node failed
0x25ce642 internal_error(char const*, ...)
	???:0

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome-20240416-195647

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.10_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.2_p13 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-17 
  [2]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit c3a5f1e5b70eb34e28589436c387049d057c5eb0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Apr 18 04:34:23 2024 +0000

    2024-04-18 04:34:23 UTC

emerge -qpvO dev-libs/intel-compute-runtime
[ebuild  N    ] dev-libs/intel-compute-runtime-24.13.29138.7  USE="l0 -vaapi"
Comment 1 Toralf Förster gentoo-dev 2024-04-18 14:11:28 UTC
Created attachment 891043 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-18 14:11:29 UTC
Created attachment 891044 [details]
dev-libs:intel-compute-runtime-24.13.29138.7:20240418-101040.log.xz
Comment 3 Toralf Förster gentoo-dev 2024-04-18 14:11:31 UTC
Created attachment 891045 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-04-18 14:11:32 UTC
Created attachment 891046 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-04-18 14:11:33 UTC
Created attachment 891047 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-18 14:11:34 UTC
Created attachment 891048 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-18 14:11:36 UTC
Created attachment 891049 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-18 14:11:36 UTC
Created attachment 891050 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-20 13:25:17 UTC
looking
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-04-21 01:33:12 UTC
Thanks, reproduced & reported upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114790
Comment 11 Conrad Kostecki gentoo-dev 2024-06-28 19:46:10 UTC
Is this still reproducable on newer versions? This does not exist anymore in tree.
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-29 10:50:42 UTC
I think we should add a `filter-lto` given the GCC bug remains.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-29 10:57:38 UTC
(In reply to Sam James from comment #12)
> I think we should add a `filter-lto` given the GCC bug remains.

Ah, we already *do* filter.
Comment 14 Larry the Git Cow gentoo-dev 2024-06-29 10:58:35 UTC
The bug has been referenced in the following commit(s):

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

commit 1a6e4e473b4b5a9c04779b464c4a5b3da706379a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-29 10:57:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-29 10:57:48 +0000

    dev-libs/intel-compute-runtime: update filter-lto comment
    
    * Update link to upstream bug wrt ODR (original was a dupe)
    * Add ref to other bug (GCC ICE)
    
    Bug: https://gcc.gnu.org/PR114790
    Bug: https://bugs.gentoo.org/930199
    Signed-off-by: Sam James <sam@gentoo.org>

 .../intel-compute-runtime/intel-compute-runtime-24.17.29377.6.ebuild  | 4 +++-
 .../intel-compute-runtime/intel-compute-runtime-24.22.29735.21.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-06-29 10:58:45 UTC
Workaround applied and reported to GCC.