https://github.com/nodejs/node/pull/38567/checks?check_run_id=2518010690 ``` [2765/3170] LINK mksnapshot FAILED: mksnapshot c++ -pthread -rdynamic -m64 -m64 -flto=4 -fuse-linker-plugin -ffat-lto-objects -o mksnapshot -Wl,--start-group obj/deps/v8/src/snapshot/embedded/mksnapshot.embedded-empty.o obj/deps/v8/src/snapshot/embedded/mksnapshot.embedded-file-writer.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-aix.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-base.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-generic.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-mac.o obj/deps/v8/src/snapshot/embedded/mksnapshot.platform-embedded-file-writer-win.o obj/deps/v8/src/snapshot/mksnapshot.mksnapshot.o obj/deps/v8/src/snapshot/mksnapshot.snapshot-empty.o obj/tools/v8_gypfiles/libv8_base_without_compiler.a obj/tools/v8_gypfiles/libv8_init.a obj/tools/v8_gypfiles/libv8_libbase.a obj/tools/v8_gypfiles/libv8_libplatform.a obj/tools/icu/libicui18n.a obj/tools/icu/libicuucx.a obj/tools/icu/libicudata.a obj/tools/v8_gypfiles/libv8_libsampler.a obj/tools/v8_gypfiles/libv8_zlib.a obj/tools/v8_gypfiles/libv8_compiler.a obj/tools/v8_gypfiles/libv8_initializers.a -ldl -lrt -Wl,--end-group lto1: internal compiler error: in add_symbol_to_partition_1, at lto/lto-partition.c:153 Please submit a full bug report, with preprocessed source if appropriate. ```
Activity
gengjiawen commentedon May 8, 2021
cc @joyeecheung
joyeecheung commentedon May 8, 2021
It looks like a bug within gcc, can you get the CI to just do
python configure.py --gdb --ninja --enable-lto && ninja -C out/Release v8_snapshot?joyeecheung commentedon May 8, 2021
(or just
python configure.py --enable-lto && make -C out/Release v8_snapshot)gengjiawen commentedon May 16, 2021
Looks the same from my local
jesec commentedon May 21, 2021
Most likely a rare compiler bug. I am not able to reproduce with:
Nonetheless, the issue is indeed reproducible with:
gengjiawen commentedon May 23, 2021
Failed with gcc 8.5 too https://github.com/nodejs/node/pull/38567/checks?check_run_id=2649989513.
Also failed on 8.3, 8.4 from what I test on local machine (using gcc docker image).
gengjiawen commentedon May 24, 2021
Gcc 11 works.
gengjiawen commentedon Jun 16, 2021
Since it's a gcc bug. I will close this.