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

Bug 927861

Summary: dev-lang/go-1.22.1 fails test - lto1: internal compiler error: qsort checking failed
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: RESOLVED DUPLICATE    
Severity: normal CC: toolchain
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-lang:go-1.22.1:20240326-080418.log
emerge-history.txt
environment
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt

Description Toralf Förster gentoo-dev 2024-03-26 08:20:40 UTC
    --- FAIL: TestCGOLTO/0 (9.52s)
        cgo_test.go:123: CGO_CFLAGS="-O2 -g -flto" /var/tmp/portage/dev-lang/go-1.22.1/work/go/bin/go build
        cgo_test.go:125: # cgolto
            /var/tmp/portage/dev-lang/go-1.22.1/work/go/pkg/tool/linux_amd64/link: running x86_64-pc-linux-gnu-gcc failed: exit status 1
            lto1: error: qsort comparator non-negative on sorted output: 64
            during IPA pass: static-var
            lto1: internal compiler error: qsort checking failed
            0x2902ca2 internal_error(char const*, ...)
            	???:0

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd_test-20240326-053428

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
Python 3.11.8
php cli (if any):

  HEAD of ::gentoo
commit 05bec097ea3d92328189702c799b1970c0f8921b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 26 07:03:59 2024 +0000

    2024-03-26 07:03:58 UTC

emerge -qpvO dev-lang/go
[ebuild  N    ] dev-lang/go-1.22.1  CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2024-03-26 08:20:42 UTC
Created attachment 888620 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-03-26 08:20:43 UTC
Created attachment 888621 [details]
dev-lang:go-1.22.1:20240326-080418.log
Comment 3 Toralf Förster gentoo-dev 2024-03-26 08:20:44 UTC
Created attachment 888622 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-03-26 08:20:45 UTC
Created attachment 888623 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-03-26 08:20:46 UTC
Created attachment 888624 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-03-26 08:20:46 UTC
Created attachment 888625 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-03-26 08:20:48 UTC
Created attachment 888626 [details]
qlist-info.txt
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-27 05:04:28 UTC

*** This bug has been marked as a duplicate of bug 912152 ***