https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97124
Bug ID: 97124 Summary: ICE when bootstrapping GCC on x86_64-w64-mingw32 Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: lh_mouse at 126 dot com Target Milestone: --- Created attachment 49242 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49242&action=edit build log This happens inside MSYS2 with `makepkg-mingw` [1]. Last known working revision should be around 2020-08-26. Reverting these commits locally did NOT help: 7ad48f0a6b498e4fb89d0ab1208d8e74fe747101 2cbd82044b21679fa533445f373374576f638da1 436ee9fec2751826bc48069d4dd320207fd9dfa4 a41439a06901dfff7c01d2455cb881ff939b57b5 [1] https://github.com/lhmouse/MINGW-packages/blob/master/mingw-w64-gcc-git/PKGBUILD ``` In file included from E:/GitHub/MINGW-packages/mingw-w64-gcc-git/src/build-x86_64-w64-mingw32/gcc/include/immintrin.h:55, from E:/GitHub/MINGW-packages/mingw-w64-gcc-git/src/build-x86_64-w64-mingw32/gcc/include/x86intrin.h:32, from C:/MinGW/MSYS2/mingw64/x86_64-w64-mingw32/include/winnt.h:1555, from C:/MinGW/MSYS2/mingw64/x86_64-w64-mingw32/include/minwindef.h:163, from C:/MinGW/MSYS2/mingw64/x86_64-w64-mingw32/include/windef.h:9, from C:/MinGW/MSYS2/mingw64/x86_64-w64-mingw32/include/windows.h:69, from ../../../gcc-git/libgcc/libgcc2.c:2183: E:/GitHub/MINGW-packages/mingw-w64-gcc-git/src/build-x86_64-w64-mingw32/gcc/include/avx512fintrin.h: In function '_mm512_mask_reduce_mul_ps': E:/GitHub/MINGW-packages/mingw-w64-gcc-git/src/build-x86_64-w64-mingw32/gcc/include/avx512fintrin.h:15958:3: internal compiler error: Segmentation fault 15958 | __A = _mm512_mask_mov_ps (_mm512_set1_ps (1.0f), __U, __A); | ^~~ libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc-mcf.lhmouse.com/> for instructions. make[3]: *** [Makefile:501: _trampoline.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/e/GitHub/MINGW-packages/mingw-w64-gcc-git/src/build-x86_64-w64-mingw32/x86_64-w64-mingw32/libgcc' make[2]: *** [Makefile:17959: all-stage1-target-libgcc] Error 2 make[2]: Leaving directory '/e/GitHub/MINGW-packages/mingw-w64-gcc-git/src/build-x86_64-w64-mingw32' make[1]: *** [Makefile:21867: stage1-bubble] Error 2 make[1]: Leaving directory '/e/GitHub/MINGW-packages/mingw-w64-gcc-git/src/build-x86_64-w64-mingw32' make: *** [Makefile:1009: all] Error 2 ==> ERROR: A failure occurred in build(). ```