Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912152 - dev-lang/go-1.21.0 fails test - lto1: internal compiler error: qsort checking failed
Summary: dev-lang/go-1.21.0 fails test - lto1: internal compiler error: qsort checking...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: TESTFAILURE
: 926364 927861 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-08-11 22:40 UTC by Toralf Förster
Modified: 2024-05-11 00:55 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.01 KB, text/plain)
2023-08-11 22:40 UTC, Toralf Förster
Details
dev-lang:go-1.21.0:20230811-222254.log (dev-lang:go-1.21.0:20230811-222254.log,17.63 KB, text/plain)
2023-08-11 22:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,177.44 KB, text/plain)
2023-08-11 22:40 UTC, Toralf Förster
Details
environment (environment,63.99 KB, text/plain)
2023-08-11 22:40 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-08-11 22:40 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.55 KB, application/x-xz)
2023-08-11 22:40 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,232 bytes, application/x-xz)
2023-08-11 22:40 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-08-11 22:40:42 UTC
            0x1142fc5 lto_output()
            	???:0
            0x11d4907 ipa_write_optimization_summaries(lto_symtab_encoder_d*)
            	???:0
            0xd3122d lto_main()
            	???:0
            Please submit a full bug report, with preprocessed source (by using -freport-bug).
            Please include the complete backtrace with any bug report.
            See <https://bugs.gentoo.org/> for instructions.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_test-20230807-075536

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.7_p7 [openjdk-jre-bin-17]
2)	Eclipse Temurin JRE 8.372_p07 [openjdk-jre-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-8 
  [2]   openjdk-jre-bin-17  system-vm

php cli (if any):
go version go1.20.7 linux/amd64

  HEAD of ::gentoo
commit f91dd1dcb99eee2a2768945e4ec7ec458fea0561
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Aug 11 20:16:31 2023 +0000

    2023-08-11 20:16:31 UTC

emerge -qpvO dev-lang/go
[ebuild     U ] dev-lang/go-1.21.0 [1.20.7] CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2023-08-11 22:40:43 UTC
Created attachment 867662 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-11 22:40:44 UTC
Created attachment 867663 [details]
dev-lang:go-1.21.0:20230811-222254.log
Comment 3 Toralf Förster gentoo-dev 2023-08-11 22:40:45 UTC
Created attachment 867664 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-11 22:40:47 UTC
Created attachment 867665 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-11 22:40:47 UTC
Created attachment 867666 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-11 22:40:48 UTC
Created attachment 867667 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-11 22:40:49 UTC
Created attachment 867668 [details]
logs.tar.xz
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-08-19 09:14:51 UTC
I can reproduce with checking enabled (USE=debug on gcc).

I can't, however, make go preserve the work directory.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2023-08-20 20:15:15 UTC
(In reply to Sam James from comment #8)
> I can reproduce with checking enabled (USE=debug on gcc).
> 
> I can't, however, make go preserve the work directory.

Maybe William knows something.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-07 14:59:34 UTC
*** Bug 926364 has been marked as a duplicate of this bug. ***
Comment 11 Larry the Git Cow gentoo-dev 2024-03-16 04:44:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=486f9fc090b28ad5cc09b39c734ebbfadb81be08

commit 486f9fc090b28ad5cc09b39c734ebbfadb81be08
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-16 04:43:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-16 04:43:53 +0000

    go-env.eclass: filter LTO temporarily for gcc 14.0.1
    
    14.0.1 won't ever be a released version, just do this as a hack because
    gcc has a checking ICE w/ go LTO atm and this prohibits more testing.
    
    Bug: https://bugs.gentoo.org/912152
    Bug: https://gcc.gnu.org/PR113204
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/go-env.eclass | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-25 08:06:22 UTC
This only happens with checking compilers.
Comment 13 matoro archtester 2024-03-25 14:38:18 UTC
(In reply to Sam James from comment #12)
> This only happens with checking compilers.

Oops, thanks I totally didn't notice that, just happened to have temporarily flipped on USE=debug for a different bug immediately prior.
Comment 14 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-27 05:04:28 UTC
*** Bug 927861 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2024-05-11 00:55:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d6705884ff5a06e8dbbbd86d0b4f8decf300275

commit 4d6705884ff5a06e8dbbbd86d0b4f8decf300275
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-05-11 00:54:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-11 00:54:29 +0000

    go-env.eclass: update GCC workaround for LTO
    
    Not fixed upstream yet so change workaround to look for sys-devel/gcc[debug]
    instead as 14 is released now.
    
    Bug: https://bugs.gentoo.org/912152
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/go-env.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)