Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 938196 - dev-lang/R-4.4.1 - [gcc-15] printutils.c: internal compiler error: in factor_out_conditional_operation, at tree-ssa-phiopt.cc:407
Summary: dev-lang/R-4.4.1 - [gcc-15] printutils.c: internal compiler error: in factor_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
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.67 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
dev-lang:R-4.4.1:20240819-102604.log (dev-lang:R-4.4.1:20240819-102604.log,91.19 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,86.06 KB, text/plain)
2024-08-19 17:40 UTC, Toralf Förster
Details
environment (environment,106.51 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:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,37.30 KB, application/x-xz)
2024-08-19 17:41 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,31.59 KB, application/x-xz)
2024-08-19 17:41 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,184.23 KB, text/plain)
2024-08-19 17:41 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,28.63 KB, application/x-xz)
2024-08-19 17:41 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:55 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc  -I/usr/include/tirpc -I. -I../../src/include -I../../src/include   -I../../src/nmath -DHAVE_CONFIG_H   -fopenmp -fpic  -O2 -pipe -march=native -fno-diagnostics-color  -c printarray.c -o printarray.o
x86_64-pc-linux-gnu-gcc  -I/usr/include/tirpc -I. -I../../src/include -I../../src/include   -I../../src/nmath -DHAVE_CONFIG_H   -fopenmp -fpic  -O2 -pipe -march=native -fno-diagnostics-color  -c printvector.c -o printvector.o
x86_64-pc-linux-gnu-gcc  -I/usr/include/tirpc -I. -I../../src/include -I../../src/include   -I../../src/nmath -DHAVE_CONFIG_H   -fopenmp -fpic  -O2 -pipe -march=native -fno-diagnostics-color  -c printutils.c -o printutils.o
x86_64-pc-linux-gnu-gcc  -I/usr/include/tirpc -I. -I../../src/include -I../../src/include   -I../../src/nmath -DHAVE_CONFIG_H   -fopenmp -fpic  -O2 -pipe -march=native -fno-diagnostics-color  -c qsort.c -o qsort.o
during GIMPLE pass: phiopt
printutils.c: In function Rf_EncodeString:
printutils.c:1072:1: internal compiler error: in factor_out_conditional_operation, at tree-ssa-phiopt.cc:407
 1072 | }
      | ^

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

  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 a322c70d79abc261a46518ca086c10cfd2135688
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 19 08:49:06 2024 +0000

    2024-08-19 08:49:05 UTC

emerge -qpvO =dev-lang/R-4.4.1
[ebuild  N    ] dev-lang/R-4.4.1  USE="X cairo icu jpeg libdeflate nls openmp png readline tiff tk -doc -java -lto -minimal -perl (-prefix) -profile -test"
Comment 1 Toralf Förster gentoo-dev 2024-08-19 17:40:56 UTC
Created attachment 900654 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-19 17:40:57 UTC
Created attachment 900655 [details]
dev-lang:R-4.4.1:20240819-102604.log
Comment 3 Toralf Förster gentoo-dev 2024-08-19 17:40:58 UTC
Created attachment 900656 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-08-19 17:40:59 UTC
Created attachment 900657 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-08-19 17:41:00 UTC
Created attachment 900658 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-19 17:41:01 UTC
Created attachment 900659 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-19 17:41:02 UTC
Created attachment 900660 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-19 17:41:03 UTC
Created attachment 900661 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-08-19 17:41:04 UTC
Created attachment 900662 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-08-19 18:43:37 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 11 Larry the Git Cow gentoo-dev 2024-08-19 18:47:31 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(+)