Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923797 - sys-devel/gcc-14: ICE when building sys-cluster/legion-23.03.0 (/.../legion_tasks.cc: internal compiler error: tree check: expected class type, have exceptional (error_mark) in useless_)
Summary: sys-devel/gcc-14: ICE when building sys-cluster/legion-23.03.0 (/.../legion_t...
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:
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-02-04 19:43 UTC by Toralf Förster
Modified: 2024-03-15 04:25 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.48 KB, text/plain)
2024-02-04 19:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,201.99 KB, text/plain)
2024-02-04 19:43 UTC, Toralf Förster
Details
environment (environment,99.33 KB, text/plain)
2024-02-04 19:43 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-02-04 19:43 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,30.56 KB, application/x-xz)
2024-02-04 19:43 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,52.89 KB, application/x-xz)
2024-02-04 19:43 UTC, Toralf Förster
Details
sys-cluster:legion-23.03.0:20240204-181526.log (sys-cluster:legion-23.03.0:20240204-181526.log,75.85 KB, text/plain)
2024-02-04 19:43 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.07 KB, application/x-xz)
2024-02-04 19:43 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-02-04 19:43:34 UTC
too long lines were shrinked:

[92/204] /usr/bin/x86_64-pc-linux-gnu-g++ -DLegionRuntime_EXPORTS -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runtime -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0_build/runtime  -O2 -pipe -march=native -fno-diagnostics-color -march=native -O2 
[93/204] /usr/bin/x86_64-pc-linux-gnu-g++ -DLegionRuntime_EXPORTS -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runtime -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0_build/runtime  -O2 -pipe -march=native -fno-diagnostics-color -march=native -O2 
FAILED: runtime/CMakeFiles/LegionRuntime.dir/legion/legion_tasks.cc.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DLegionRuntime_EXPORTS -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runtime -I/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0_build/runtime  -O2 -pipe -march=native -fno-diagnostics-color -march=native -O2 -g -fPIC 
during IPA pass: inline
/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runtime/legion/legion_tasks.cc: In member function virtual Legion::Internal::VersionInfo& Legion::Internal::PointTask::get_version_info(unsigned int):
/var/tmp/portage/sys-cluster/legion-23.03.0/work/legion-legion-23.03.0/runtime/legion/legion_tasks.cc:7022:18: internal compiler error: tree check: expected class type, have exceptional (error_mark) in useless_type_conversion_p, at gimple-expr.cc:85
 7022 |     VersionInfo& PointTask::get_version_info(unsigned idx)
      |                  ^~~~~~~~~

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

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

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

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:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	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 
  [4]   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 b73fa745b242c45dea79b09d3a5b008784000424
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Feb 4 16:48:31 2024 +0000

    2024-02-04 16:48:30 UTC

emerge -qpvO sys-cluster/legion
[ebuild  N    ] sys-cluster/legion-23.03.0  USE="-examples -gasnet -hwloc -test"
Comment 1 Toralf Förster gentoo-dev 2024-02-04 19:43:35 UTC
Created attachment 884234 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-04 19:43:36 UTC
Created attachment 884235 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-02-04 19:43:38 UTC
Created attachment 884236 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-04 19:43:39 UTC
Created attachment 884237 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-04 19:43:40 UTC
Created attachment 884238 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-04 19:43:41 UTC
Created attachment 884239 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-04 19:43:42 UTC
Created attachment 884240 [details]
sys-cluster:legion-23.03.0:20240204-181526.log
Comment 8 Toralf Förster gentoo-dev 2024-02-04 19:43:43 UTC
Created attachment 884241 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-05 00:06:18 UTC Comment hidden (obsolete)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-05 00:06:35 UTC
thanks, reported upstream at https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113757
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-15 04:25:07 UTC
commit f294934516cf497001ad114963a66adefda005ba
Author: Sam James <sam@gentoo.org>
Date:   Mon Mar 11 12:43:18 2024 +0000

    sys-devel/gcc: add 14.0.1_pre20240310

    Signed-off-by: Sam James <sam@gentoo.org>