From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 456563858D39; Thu, 29 Jun 2023 16:26:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 456563858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1688056010; bh=IsQ2+UKfkEc7pUDh70b5Oa+ZS8f8CusXjYs4I6OgDy4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=F1+WeEmiyZgcpN9WJAYnBrx/mliZMk+/ChnB31M84pXxHBVfbZHLfEC7aLb30e5BT YE7ZYg+S1v/+kNUao9Cj8Ov9+yYLmbdZbzTu+raLZks4oFEmgdxOTRCe2CXX8oHpwp l0lHH58bMZ/RnRE8t+rXlCbxATl6TMMzotXuaI5Q= From: "bmeng.cn at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110478] RISC-V multilib gcc zicsr in the -march causing incorrect libgcc to be used Date: Thu, 29 Jun 2023 16:26:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 13.1.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bmeng.cn at gmail dot com 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: Message-ID: In-Reply-To: References: 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=3D110478 --- Comment #4 from Bin Meng --- I can't get the build to pass with the same configure scripts on current GCC HEAD :( --host=3Dx86_64-linux-gnu --build=3Daarch64-linux --target=3Driscv64-linux --enable-targets=3Dall --prefix=3D/home/arnd/cross/x86_64/gcc-13.1.0-nolibc/riscv64-linux --enable-languages=3Dc --without-headers --disable-bootstrap --disable-nls --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float --disable-libquadmath --disable-libatomic --disable-libcc1 --disable-libmpx --enable-checking=3Dr= elease --with-static-standard-libraries Error below: Checking multilib configuration for libgcc... make[2]: Entering directory '/home/bmeng/git/gcc/riscv64-linux/libgcc' Makefile:183: ../.././gcc/libgcc.mvars: No such file or directory make[2]: *** No rule to make target '../.././gcc/libgcc.mvars'. Stop. make[2]: Leaving directory '/home/bmeng/git/gcc/riscv64-linux/libgcc' make[1]: *** [Makefile:12855: all-target-libgcc] Error 2=