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

Bug 927830

Summary: sys-devel/gcc-13.2.1_p20240210[go]: internal compiler error (libgo/go/runtime/mheap.go:808:29: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2cfi.cc:1844)
Product: Gentoo Linux Reporter: Alan Mock <bugs.gentoo.org>
Component: Current packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: UNCONFIRMED ---    
Severity: normal CC: bugs.gentoo.org
Priority: Normal    
Version: unspecified   
Hardware: PPC64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
emerge --info '=sys-devel/gcc-13.2.1_p20240210::gentoo'
emerge -pqv '=sys-devel/gcc-13.2.1_p20240210::gentoo'

Description Alan Mock 2024-03-25 18:50:11 UTC
Created attachment 888573 [details]
Build log

I am trying to update from default/linux/ppc64/17.0 to default/linux/ppc64/23.0/split-usr and the results of running emerge --ask --oneshot sys-devel/gcc is that the build fails with:

during RTL pass: dwarf2
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/libgo/go/runtime/mheap.go: In function ‘runtime.mheap.reclaimChunk..stub2’:
/var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/libgo/go/runtime/mheap.go:808:29: internal compiler error: in dwarf2out_frame_debug_expr, at dwarf2cfi.cc:1844
  808 | func (h *mheap) reclaimChunk(arenas []arenaIdx, pageIdx, n uintptr) uintptr {
      |                             ^
Comment 1 Alan Mock 2024-03-25 18:50:41 UTC
Created attachment 888574 [details]
emerge --info '=sys-devel/gcc-13.2.1_p20240210::gentoo'
Comment 2 Alan Mock 2024-03-25 18:51:00 UTC
Created attachment 888575 [details]
emerge -pqv '=sys-devel/gcc-13.2.1_p20240210::gentoo'
Comment 3 Alan Mock 2024-03-25 20:03:04 UTC
The build is successful if I add -go to the use flags.