Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938194 - net-libs/libyang-2.1.148 - [gcc-15] /.../tree_data.c: internal compiler error: in factor_out_conditional_operation, at tree-ssa-phiopt.cc:407
Summary: net-libs/libyang-2.1.148 - [gcc-15] /.../tree_data.c: internal compiler error...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-08-19 17:40 UTC by Toralf Förster
Modified: 2024-08-19 18:47 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.61 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,78.29 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
environment (environment,99.50 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-08-19 17:40 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,37.26 KB, application/x-xz)
2024-08-19 17:40 UTC, Toralf Förster
Details
net-libs:libyang-2.1.148:20240819-072223.log (net-libs:libyang-2.1.148:20240819-072223.log,16.94 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,169.92 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.04 KB, application/x-xz)
2024-08-19 17:40 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-08-19 17:40:05 UTC
too long lines were shrinked:

[9/101] /usr/bin/x86_64-pc-linux-gnu-gcc -DLIBYANG_BUILD -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148_build/src -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src/plugins_exts -I/var/tmp/portag
[10/101] /usr/bin/x86_64-pc-linux-gnu-gcc -DLIBYANG_BUILD -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148_build/src -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src/plugins_exts -I/var/tmp/porta
FAILED: CMakeFiles/yangobj.dir/src/tree_data.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DLIBYANG_BUILD -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148_build/src -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src -I/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src/plugins_exts -I/var/tmp/portage/net-li
during GIMPLE pass: phiopt
/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src/tree_data.c: In function lyd_path:
/var/tmp/portage/net-libs/libyang-2.1.148/work/libyang-2.1.148/src/tree_data.c:3269:1: internal compiler error: in factor_out_conditional_operation, at tree-ssa-phiopt.cc:407
 3269 | }
      | ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20240817-145313

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 18.1.8
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.8
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.80.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 419b350c940868cea4f0b62030d03d31d3e597ab
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 19 06:23:05 2024 +0000

    2024-08-19 06:23:04 UTC

emerge -qpvO =net-libs/libyang-2.1.148
[ebuild  N    ] net-libs/libyang-2.1.148  USE="-doc -test"
Comment 1 Toralf Förster gentoo-dev 2024-08-19 17:40:05 UTC
Created attachment 900638 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-19 17:40:07 UTC
Created attachment 900639 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-19 17:40:08 UTC
Created attachment 900640 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-19 17:40:08 UTC
Created attachment 900641 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-19 17:40:09 UTC
Created attachment 900642 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-19 17:40:10 UTC
Created attachment 900643 [details]
net-libs:libyang-2.1.148:20240819-072223.log
Comment 7 Toralf Förster gentoo-dev 2024-08-19 17:40:11 UTC
Created attachment 900644 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-08-19 17:40:12 UTC
Created attachment 900645 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-08-19 18:43:38 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/gcc-patches.git/commit/?id=b151680d1549ca7429f970c87b7c11987a351527

commit b151680d1549ca7429f970c87b7c11987a351527
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-19 18:42:11 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-19 18:42:11 +0000

    15.0.0: pull in phiopt fixes
    
    Bug: https://bugs.gentoo.org/938203
    Bug: https://bugs.gentoo.org/938200
    Bug: https://bugs.gentoo.org/938199
    Bug: https://bugs.gentoo.org/938198
    Bug: https://bugs.gentoo.org/938196
    Bug: https://bugs.gentoo.org/938194
    Bug: https://bugs.gentoo.org/938193
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-for-non-const-functions-for-factor_out_c.patch | 100 +++++++++++++++++++++
 ...ct-non-gimple-val-inside-factor_out_condi.patch |  64 +++++++++++++
 15.0.0/gentoo/README.history                       |   5 +-
 3 files changed, 167 insertions(+), 2 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2024-08-19 18:47:32 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00d7cc20714961c992512a810c8494a225ecd073

commit 00d7cc20714961c992512a810c8494a225ecd073
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-19 18:46:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-19 18:47:05 +0000

    sys-devel/gcc: backport phiopt ICE fix for 15
    
    Closes: https://bugs.gentoo.org/938203
    Closes: https://bugs.gentoo.org/938200
    Closes: https://bugs.gentoo.org/938199
    Closes: https://bugs.gentoo.org/938198
    Closes: https://bugs.gentoo.org/938196
    Closes: https://bugs.gentoo.org/938194
    Closes: https://bugs.gentoo.org/938193
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                         |  1 +
 sys-devel/gcc/gcc-15.0.0_pre20240818-r1.ebuild | 52 ++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)