public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: David Edelsohn <dje.gcc@gmail.com>
To: Gary Oblock <gary@amperecomputing.com>
Cc: "gcc@gcc.gnu.org" <gcc@gcc.gnu.org>
Subject: Re: What is pex_run
Date: Thu, 25 Feb 2021 17:45:56 -0500	[thread overview]
Message-ID: <CAGWvny=Row6uG33mwTBgZ6BDU2im=28qO2xun-jsQNUEpL_o6A@mail.gmail.com> (raw)
In-Reply-To: <BYAPR01MB546484C6AB6FE197E08B4A92C69E9@BYAPR01MB5464.prod.exchangelabs.com>

On Thu, Feb 25, 2021 at 5:26 PM Gary Oblock via Gcc <gcc@gcc.gnu.org> wrote:
>
> I've got collect2 finding a linker error and I'm out of
> other options so I'm poking around in the collect2
> sources. I'm wondering what pex_run is (since it's
> getting handed the arguments this might mater?)
> I figure if I can get collect2 to spill its guts
> about what arguments are fed to "ld" I'll have
> at least a chance figuring out what in the bleep
> is going on... alternate debugging strategies
> are welcome.

collect2 will dump out a lot of extra information and save temporary
files if passed "-debug" option to collect2 (not to GCC).  In other
words

$ gcc -Wl,-debug -o foo foo.o

Thanks, David

      parent reply	other threads:[~2021-02-25 22:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-25 21:57 Gary Oblock
2021-02-25 22:03 ` Marek Polacek
2021-02-25 22:45 ` David Edelsohn [this message]

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='CAGWvny=Row6uG33mwTBgZ6BDU2im=28qO2xun-jsQNUEpL_o6A@mail.gmail.com' \
    --to=dje.gcc@gmail.com \
    --cc=gary@amperecomputing.com \
    --cc=gcc@gcc.gnu.org \
    /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).