From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 810E23857726; Wed, 27 Sep 2023 05:38:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 810E23857726 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1695793123; bh=DZtUD9XdCXwdECg/OLXVDmiD18DtIPnEoNO7DCVsv0I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=KuPJ151AOL+7J3tcO7KJsc1xF/xW/Y0K+tW2O/JX/5NxRPVzv0r3/KVJznwxVDQbG JjeCQVjkyOCtiI/izFj4sPsrNFRSSOehGiu9YsF4fTHjDfs4gUrirK0mprZzHmnp3O 2TZRLkufi4YnP0bz/YjUF8OhmXsn9YO0jSQGMpWg= From: "rui314 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/111605] Cross compilation doesn't work with `-fuse-ld=mold` Date: Wed, 27 Sep 2023 05:38:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Version: unknown X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rui314 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=3D111605 --- Comment #8 from Rui Ueyama --- Sure, I agree with that. But would there be any problem if gcc, after faili= ng to find `-mold` and `mold` in the embedded toolchain's directory, l= ooks for `ld.mold` in the $PATH?"=