From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 865413858C60; Mon, 29 Jan 2024 05:53:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 865413858C60 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706507595; bh=LUpTZmTC7+HkDQTx0H7IoU6gqDk/9JCIxFptAKv6UnM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jkPqcz27bR8FpaBUn2mLgy6ZZR9eLRRYfY7P7AmbM+1QqVh+1AlHDyoMnUCh0KoT6 dvtno3TSy+v7M9JmZx5b91h5C4rZGbUSpTV/E1ie0BZNIF9lsyletsVhyfaFc0xiBQ iIrU0dBwICF/xbfBtKIXQlBR6bJtzkCY1BWmicRs= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113648] Cross compiler cannot find cross binutils on macOS Date: Mon, 29 Jan 2024 05:53:15 +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.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: WAITING 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: everconfirmed cf_reconfirmed_on bug_status 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=3D113648 Andrew Pinski changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2024-01-29 Status|UNCONFIRMED |WAITING --- Comment #1 from Andrew Pinski --- Works for me for a cross from Linux: [apinski@xeond2 upstream-full-cross]$ ./install/bin/aarch64-linux-gnu-gcc -print-prog-name=3Dld /bajas/pinskia/src/upstream-full-cross/install/bin/../lib/gcc/aarch64-linux= -gnu/14.0.1/../../../../aarch64-linux-gnu/bin/ld My configure line: Configured with: ../configure --target=3Daarch64-linux-gnu --prefix=3D/home/apinski/src/upstream-full-cross/install --enable-languages=3Dc,c++,fortran,go --with-sysroot=3D/home/apinski/src/upstream-full-cross/install//sysroot Can you do: provide the output of `strace aarch64-linux-gnu-gcc -print-prog-name=3Dld `= ? Also provide the config.log from the original build?=