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

Bug 940307

Summary: media-libs/netpbm-11.2.10 - [ncurses-6.5] [gcc-15] pnmcrop.c: internal compiler error:<snip> Segmentation fault
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Viorel Munteanu <ceamac>
Status: RESOLVED FIXED    
Severity: normal CC: toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116861
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 932474    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
media-libs:netpbm-11.2.10:20240926-143813.log.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-09-26 17:46:46 UTC
pnmhisteq.c: In function main:
pnmhisteq.c:107:18: note: pixelCount was declared here
  107 |     unsigned int pixelCount;
      |                  ^~~~~~~~~~
during GIMPLE pass: widening_mul
pnmcrop.c: In function main:
pnmcrop.c:1438:1: internal compiler error: Segmentation fault
 1438 | main(int argc, const char *argv[]) {
      | ^~~~

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

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

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Issues involving opaque types / incomplete typedefs should block bug 930805
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  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 19.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
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.1 linux/amd64

  HEAD of ::gentoo
commit 5b1165969a131b0d88bca80e29cc43d91d0b966b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 26 14:06:10 2024 +0000

    2024-09-26 14:06:09 UTC

emerge -qpvO =media-libs/netpbm-11.2.10
[ebuild  N    ] media-libs/netpbm-11.2.10  USE="X jpeg png tiff xml -jbig -postscript -rle -static-libs (-svga)" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2024-09-26 17:46:47 UTC
Created attachment 903895 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-26 17:46:48 UTC
Created attachment 903897 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-26 17:46:49 UTC
Created attachment 903898 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-26 17:46:50 UTC
Created attachment 903899 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-26 17:46:51 UTC
Created attachment 903900 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-26 17:46:52 UTC
Created attachment 903901 [details]
media-libs:netpbm-11.2.10:20240926-143813.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-26 17:46:53 UTC
Created attachment 903902 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-09-26 17:46:55 UTC
Created attachment 903903 [details]
temp.tar.xz
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-26 19:21:31 UTC
Filed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116861 upstream, thanks
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-09-26 22:28:37 UTC
*** Bug 940303 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2024-09-29 22:59:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b70d3a88d7d8a7bbf7dbdcf4ac5592c199fa862

commit 0b70d3a88d7d8a7bbf7dbdcf4ac5592c199fa862
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-09-29 22:58:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-09-29 22:58:29 +0000

    sys-devel/gcc: add 15.0.0_pre20240929
    
    Closes: https://bugs.gentoo.org/940225
    Closes: https://bugs.gentoo.org/940307
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gcc/Manifest                      |  2 ++
 sys-devel/gcc/gcc-15.0.0_pre20240929.ebuild | 53 +++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)