From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 59B413858D32; Tue, 26 Dec 2023 15:19:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 59B413858D32 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1703603992; bh=0wsSo6fkCjysgG15nJhzj1x8PayjauEdPZIvADzaAek=; h=From:To:Subject:Date:From; b=p2KAYk6b6HyxH+FFDq2sW72RPUy3mPayHmWJET/QKDidp+IJK/6gUswOEe9vJes4r BWMR4W8SJA0ci9H+mMOjKtf1DRILEKXBjkbd/5WgzManEqy0Q7bhfq34NmIbx/jDNw C8wDmZJ6/S32UaYGW43fXAK+Ee1LvgDv+uvmHYYk= From: "jdx at o2 dot pl" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/113147] New: Building a crosscompiler fails under MigW-W64/MSYS2 @ Windows 10 Date: Tue, 26 Dec 2023 15:19:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: jdx at o2 dot pl X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter target_milestone cf_gcchost cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D113147 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 sor= t.o text-art/box-drawing.o text-art/canvas.o text-art/ruler.o text-art/selftest= s.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=3D/usr/local --with-sysroot=3D$CWD/sysroot --target=3Dh8300-elf --disable-nls --disable-threads --disable-tls --enable-checking=3Drelease --enable-languages=3Dc --with-newlib --without-= headers --enable-multilib --enable-lto --disable-shared --enable-static --disable-host-shared --disable-bootstrap --disable-libatomic --disable-lib= gomp --disable-libitm --disable-libquadmath --disable-libsanitizer --disable-lib= ssp --disable-libvtv --with-system-zlib Everything is fine on Ubuntu with the same options.=