Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 938200

Summary: net-analyzer/gvm-libs-22.10.0 - [gcc-15] /.../passwordbasedauthentication.c: internal compiler error: in factor_out_conditional_operation, at tree-ssa-phiopt.c
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Giuseppe Foti <foti.giuseppe>
Status: RESOLVED FIXED    
Severity: normal CC: jonas.licht, toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tar.xz
net-analyzer:gvm-libs-22.10.0:20240819-115153.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-08-19 17:41:50 UTC
too long lines were shrinked:

/usr/bin/x86_64-pc-linux-gnu-gcc -DGVM_LIBS_VERSION=\"22.10.0\" -DHAVE_MQTT=1 -DREDIS_SOCKET_PATH=\"/run/redis/redis.sock\" -Dgvm_util_shared_EXPORTS -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2  -O2 -pipe -march=native -fno-diagnostics-color      -std=c11     -Wall  
/var/tmp/portage/net-analyzer/gvm-libs-22.10.0/work/gvm-libs-22.10.0/util/passwordbasedauthentication.c:45:3: warning: initializer-string for array of char is too long [-Wunterminated-string-initialization]
   45 |   "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
during GIMPLE pass: phiopt
/var/tmp/portage/net-analyzer/gvm-libs-22.10.0/work/gvm-libs-22.10.0/util/passwordbasedauthentication.c: In function pba_verify_hash:
/var/tmp/portage/net-analyzer/gvm-libs-22.10.0/work/gvm-libs-22.10.0/util/passwordbasedauthentication.c:282:1: internal compiler error: in factor_out_conditional_operation, at tree-ssa-phiopt.cc:407
  282 | }
      | ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20240816-201002

  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):
/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 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_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.23.0 linux/amd64

  HEAD of ::gentoo
commit 476a39cff2f5cb83931a2b15e2344e48a928d882
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 19 10:50:02 2024 +0000

    2024-08-19 10:50:02 UTC

emerge -qpvO =net-analyzer/gvm-libs-22.10.0
[ebuild  N    ] net-analyzer/gvm-libs-22.10.0  USE="-doc -ldap -radius -test"
Comment 1 Toralf Förster gentoo-dev 2024-08-19 17:41:51 UTC
Created attachment 900687 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-19 17:41:52 UTC
Created attachment 900688 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-19 17:41:54 UTC
Created attachment 900689 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-19 17:41:55 UTC
Created attachment 900690 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-19 17:41:55 UTC
Created attachment 900691 [details]
net-analyzer:gvm-libs-22.10.0:20240819-115153.log
Comment 6 Toralf Förster gentoo-dev 2024-08-19 17:41:56 UTC
Created attachment 900692 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-19 17:41:57 UTC
Created attachment 900693 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-08-19 18:43:34 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 9 Larry the Git Cow gentoo-dev 2024-08-19 18:47:28 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(+)