runner icon indicating copy to clipboard operation
runner copied to clipboard

LTO - internal compiler error on ubuntu 24.04runner

Open ShannonBase opened this issue 1 year ago • 0 comments

I met simimilar problem #2508 , LTO error.

lto-wrapper: warning: using serial compilation of 15 LTRANS jobs
lto-wrapper: note: see the ‘-flto’ option documentation for more information
lto1: internal compiler error: original not compressed with zstd
0x12009c2 lto_uncompression_zstd
	../../src/gcc/lto-compress.cc:163
0x12009c2 lto_end_uncompression(lto_compression_stream*, lto_compression)
	../../src/gcc/lto-compress.cc:406
0x11ff200 lto_get_section_data(lto_file_decl_data*, lto_section_type, char const*, int, unsigned long*, bool)
	../../src/gcc/lto-section-in.cc:168
0xe8477a cgraph_node::get_untransformed_body()
	../../src/gcc/cgraph.cc:4074
0xe9014d cgraph_node::expand()
	../../src/gcc/cgraphunit.cc:1816
0xe9014d cgraph_node::expand()
	../../src/gcc/cgraphunit.cc:1798
0xe9201a expand_all_functions
	../../src/gcc/cgraphunit.cc:2028
0xe9201a symbol_table::compile()
	../../src/gcc/cgraphunit.cc:2404
0xdd5ea1 lto_main()
	../../src/gcc/lto/lto.cc:687
Please submit a full bug report, with preprocessed source (by using -freport-bug).
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-14/README.Bugs> for instructions.
lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status

And GCC is 14.0.1

Does anyone know this?

ShannonBase avatar Sep 05 '24 09:09 ShannonBase