https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97481
Bug ID: 97481 Summary: GCC ice when build with RISCV on msys2 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: euloanty at live dot com Target Milestone: --- unlvs@DESKTOP-DFHPDC1 MINGW64 /glibc_riscv_build $ ../glibc_riscv/configure --prefix=${PREFIX}/${TARGET} --build=$(gcc -dumpmachine) --host=${TARGET} --target=${TARGET} --disable-werror libc_cv_forced_unwind=yes libc_cv_c_cleanup=yes --enable-add-ons --disable-multilib configure: loading site script /mingw64/etc/config.site checking build system type... x86_64-w64-mingw32 checking host system type... riscv-unknown-linux-gnu checking for riscv-linux-gcc... riscv-linux-gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether riscv-linux-gcc accepts -g... yes checking for gcc... gcc checking for riscv-linux-readelf... riscv-linux-readelf checking for riscv-linux-g++... riscv-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether riscv-linux-g++ accepts -g... yes checking whether riscv-linux-g++ can link programs... no checking for sysdeps preconfigure fragments... aarch64 alpha arc arm csky hppa i386 m68k microblaze checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E mips nios2 powerpc riscv <built-in>: internal compiler error: Segmentation fault libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. <built-in>: internal compiler error: Segmentation fault libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. <built-in>: internal compiler error: Segmentation fault libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. <built-in>: internal compiler error: Segmentation fault libbacktrace could not find executable to open Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. Unable to determine XLEN