Closed RingsC closed 2 months ago
on gcc 14.0.1, it err with these messages. re-open it when gcc version is 14.1.0.
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
make[2]: *** [sql/CMakeFiles/mysqld.dir/build.make:164: runtime_output_directory/mysqld] Error 1
make[1]: *** [CMakeFiles/Makefile2:13491: sql/CMakeFiles/mysqld.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
I hereby agree to the terms of the CLA available at: http://www.shannondata.ai/doc/cla/
Summary
upgrade gcc to 14, that can be used by mysql 8.1 and mysql 8.4 either.
Tests
Type of change