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

Bug 937387

Summary: sys-devel/gcc-15.0.0_pre20240804 - [icu-75.1] [gcc-15] f951: internal compiler error:<snip> Segmentation fault
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: toolchain
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: Fixed upstream already
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
gcc-build-logs.tar.xz
logs.tar.xz
qlist-info.txt
sys-devel:gcc-15.0.0_pre20240804:20240805-025709.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-08-05 17:35:26 UTC
Warning: Variable 'async_arg' at (1) is a dummy argument of the BIND(C) procedure 'acc_memcpy_from_device_async' but may not be C interoperable [-Wc-binding-type]
/var/tmp/portage/sys-devel/gcc-15.0.0_pre20240804/work/gcc-15-20240804/libgomp/openacc.f90:1017:59:

 1017 |                                            bytes, async_arg) bind(C)
      |                                                           1
Warning: Variable 'async_arg' at (1) is a dummy argument of the BIND(C) procedure 'acc_memcpy_to_device_async' but may not be C interoperable [-Wc-binding-type]
f951: internal compiler error: Segmentation fault
0x5580cf514f49 internal_error(char const*, ...)
	/var/tmp/portage/sys-devel/gcc-15.0.0_pre20240804/work/gcc-15-20240804/gcc/diagnostic-global-context.cc:491

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_musl-20240804-000501

  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
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-15 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

php cli (if any):
  (none found)
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 64657af8687bef2768bba19c469f2194093f598c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Aug 5 02:36:06 2024 +0000

    2024-08-05 02:36:05 UTC

emerge -qpvO sys-devel/gcc
Comment 1 Toralf Förster gentoo-dev 2024-08-05 17:35:27 UTC
Created attachment 899084 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-05 17:35:28 UTC
Created attachment 899085 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-05 17:35:30 UTC
Created attachment 899086 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-05 17:35:31 UTC
Created attachment 899087 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-05 17:35:32 UTC
Created attachment 899088 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-05 17:35:37 UTC
Created attachment 899089 [details]
gcc-build-logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-05 17:35:41 UTC
Created attachment 899090 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-05 17:35:44 UTC
Created attachment 899091 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-08-05 17:35:45 UTC
Created attachment 899092 [details]
sys-devel:gcc-15.0.0_pre20240804:20240805-025709.log.xz
Comment 10 Toralf Förster gentoo-dev 2024-08-05 17:35:46 UTC
Created attachment 899093 [details]
temp.tar.xz
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-08-05 21:53:46 UTC
USE=vanilla and it's fixed upstream in trunk.
Comment 12 Larry the Git Cow gentoo-dev 2024-08-11 22:45:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=501c1e3ac274bcc8f151069c02d1e6e60567fbe8

commit 501c1e3ac274bcc8f151069c02d1e6e60567fbe8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-08-11 22:44:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-08-11 22:44:36 +0000

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

 sys-devel/gcc/Manifest                      |  2 ++
 sys-devel/gcc/gcc-15.0.0_pre20240811.ebuild | 52 +++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)