https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113147
Bug ID: 113147 Summary: Building a crosscompiler fails under MigW-W64/MSYS2 @ Windows 10 Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: jdx at o2 dot pl Target Milestone: --- Host: x86_64-w64-mingw32 Target: h8300-elf, arm-elf The following error occurs when I try to build a crosscompiler under MigW-W64/MSYS2: [...] rm -rf libcommon.a ar rc libcommon.a diagnostic-spec.o diagnostic.o diagnostic-color.o diagnostic-format-json.o diagnostic-format-sarif.o diagnostic-show-locus.o edit-context.o pretty-print.o intl.o json.o sbitmap.o vec.o input.o hash-table.o ggc-none.o memory-block.o selftest.o selftest-diagnostic.o sort.o text-art/box-drawing.o text-art/canvas.o text-art/ruler.o text-art/selftests.o text-art/style.o text-art/styled-string.o text-art/table.o text-art/theme.o text-art/widget.o ranlib libcommon.a make[2]: *** No rule to make target '../libiberty/pic/libiberty.a', needed by 'cc1-checksum.cc'. Stop. make[2]: Leaving directory '/d/Works/xcomp/gcc-build/gcc' make[1]: *** [Makefile:4683: all-gcc] Error 2 make[1]: Leaving directory '/d/Works/xcomp/gcc-build' make: *** [Makefile:1049: all] Error 2 Configure options: ../../gcc/configure --prefix=/usr/local --with-sysroot=$CWD/sysroot --target=h8300-elf --disable-nls --disable-threads --disable-tls --enable-checking=release --enable-languages=c --with-newlib --without-headers --enable-multilib --enable-lto --disable-shared --enable-static --disable-host-shared --disable-bootstrap --disable-libatomic --disable-libgomp --disable-libitm --disable-libquadmath --disable-libsanitizer --disable-libssp --disable-libvtv --with-system-zlib Everything is fine on Ubuntu with the same options.