public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <iant@google.com>
To: Uri Moszkowicz <uri@4refs.com>
Cc: gcc-help <gcc-help@gcc.gnu.org>
Subject: Re: Trouble building AR
Date: Wed, 19 Jun 2013 19:25:00 -0000	[thread overview]
Message-ID: <CAKOQZ8xWaM3AbF=Kk2xtYSDT2ie3vDnW2Z0o9TPXkmydf8Kdiw@mail.gmail.com> (raw)
In-Reply-To: <CAMJd5ATaYdqe151E+FFo47_1b8dWCiUQC0he5YiL4j7+PCPHUA@mail.gmail.com>

On Wed, Jun 19, 2013 at 12:10 PM, Uri Moszkowicz <uri@4refs.com> wrote:

> ld exists in the target path:
> -rwxr-xr-x  4 <user> <group> 6238594 Jun 18 16:06 /tools/gcc-4.7.2/bin/ld
>
> strace shows a number of stat calls before GCC exists but not to this
> path or LD at all. Seems to be looking for ld-new and real-ld. I don't
> see either of those in the installed directory (/tools/gcc-4.7.2) but
> I see a few instances of ld-new in the build directory (<root>/x86_64
> above: ./prev-ld/ld-new, ./stage1-ld/ld-new, and ./ld/ld-new). Any
> idea what's wrong now?

I'm just guessing but try removing your gcc object directory, while
not touching your installed binutils, and build again.  These days GCC
looks for the linker at configure time and it may not have found it
when you ran your configure.

Ian

  reply	other threads:[~2013-06-19 19:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-18 20:08 Uri Moszkowicz
2013-06-18 23:16 ` Ian Lance Taylor
2013-06-19 19:10   ` Uri Moszkowicz
2013-06-19 19:25     ` Ian Lance Taylor [this message]
2013-06-19 21:21       ` Uri Moszkowicz
2013-06-19 21:38         ` Ian Lance Taylor
2013-06-19 22:04           ` Uri Moszkowicz
2013-06-19 23:06             ` Ian Lance Taylor
2013-06-21 19:19               ` Uri Moszkowicz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKOQZ8xWaM3AbF=Kk2xtYSDT2ie3vDnW2Z0o9TPXkmydf8Kdiw@mail.gmail.com' \
    --to=iant@google.com \
    --cc=gcc-help@gcc.gnu.org \
    --cc=uri@4refs.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).