Summary: | sys-devel/gcc-11.2.1_p20220115 : ICE when compiling PGO+LTO'd Pythons | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John Helmert III <ajak> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | backbone, herrtimson |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=90a29845bfe7d6002e6c2fd49a97820b00fbc4a3#patch1 | ||
See Also: |
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105282 https://bugs.gentoo.org/show_bug.cgi?id=914578 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
listobject.i
python-3.10.4.build.log python-3.9.12.build.log |
Description
John Helmert III
![]() ![]() ![]() ![]() Created attachment 770384 [details]
python-3.10.4.build.log
Created attachment 770387 [details]
python-3.9.12.build.log
Thread 2.1 "cc1" hit Breakpoint 1, internal_error (gmsgid=gmsgid@entry=0x1d64e62 "in %s, at %s:%d") at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/diagnostic.c:1803 1803 { (gdb) bt #0 internal_error (gmsgid=gmsgid@entry=0x1d64e62 "in %s, at %s:%d") at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/diagnostic.c:1803 #1 0x0000000000f568b6 in fancy_abort (file=0x1cf47b0 "/var/tmp/portage/sys-devel/gcc-11.2.1_p20220115/work/gcc-11-20220115/gcc/value-prof.c", line=340, function=0x1cf3546 "stream_out_histogram_value") at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/diagnostic.c:1907 #2 0x0000000000c7dd85 in stream_out_histogram_value (ob=0x2412640, hist=<optimized out>) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/value-prof.c:340 #3 0x00000000008492b0 in output_gimple_stmt (stmt=0x7ffff6c34b40, fn=<optimized out>, ob=0x2412640) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/gimple-streamer-out.c:192 #4 output_bb (ob=0x2412640, bb=<optimized out>, fn=<optimized out>) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/gimple-streamer-out.c:227 #5 0x000000000117c68e in output_function (node=0x7ffff6f31550) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/lto-streamer-out.c:2450 #6 lto_output () at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/lto-streamer-out.c:2793 #7 0x00000000015e48e0 in write_lto () at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/passes.c:2680 #8 0x0000000000736762 in ipa_write_summaries_1 (encoder=0x2257be0) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/passes.c:2744 #9 ipa_write_summaries () at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/passes.c:2800 #10 0x00000000010d8ab8 in ipa_passes () at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/cgraphunit.c:2204 #11 symbol_table::compile (this=0x7ffff7704000) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/cgraphunit.c:2291 #12 0x00000000015b1c85 in symbol_table::finalize_compilation_unit (this=0x7ffff7704000) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/cgraphunit.c:2539 #13 0x000000000159b4f2 in compile_file () at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/toplev.c:482 #14 0x0000000001577561 in do_compile () at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/toplev.c:2205 #15 toplev::main (this=this@entry=0x7fffffffd7b6, argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/toplev.c:2344 #16 0x000000000157699c in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/sys-devel/gcc-11.2.1_p20220115/gcc-11-20220115/gcc/main.c:39 Please forward upstream; may need to tar up the dir and try extract the profiles too? (In reply to Sergei Trofimovich from comment #5) > https://gcc.gnu.org/PR105282 Thanks! Thanks Slyfox! Fixed in 12.1 and will be in the next version after 11.3.0 (inc. snapshots). |