From: Costas Argyris <costas.argyris@gmail.com>
To: gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] gcc-ar: Handle response files properly [PR77576]
Date: Mon, 3 Jul 2023 12:07:31 +0100 [thread overview]
Message-ID: <CAHyHGC=pE7MxWo7VQ6jGn=nKDQ19_rnCSL36OKBWzTj-zBuB4w@mail.gmail.com> (raw)
In-Reply-To: <CAHyHGCkNf173Xp1FVDpSBJ9whQJwxeFxbKek6qpY1U8tHbaRdw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 679 bytes --]
I should also add that for a rsp file that contains just "--version":
gcc-ar @rsp
fails without the patch (current problem) and successfully prints
the version info with it.
On Sat, 1 Jul 2023 at 22:45, Costas Argyris <costas.argyris@gmail.com>
wrote:
> Basically implementing what Andrew said in the PR:
>
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576
>
> If @file has been passed to gcc-ar, do the following:
>
> 1) Expand it to get an argv without any @files.
> 2) Then apply the plugin modifications to argv.
> 3) Create temporary response file.
> 4) Put the modified argv in the temporary file.
> 5) Call ar with @tmp.
> 6) Delete the temporary response file.
>
next prev parent reply other threads:[~2023-07-03 11:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-01 21:45 Costas Argyris
2023-07-03 11:07 ` Costas Argyris [this message]
2023-07-07 10:33 ` Costas Argyris
2023-07-07 12:00 ` Costas Argyris
2023-07-14 8:05 ` Costas Argyris
2023-07-28 11:59 ` Costas Argyris
2023-07-28 21:11 ` Joseph Myers
2023-07-31 16:58 ` Jeff Law
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='CAHyHGC=pE7MxWo7VQ6jGn=nKDQ19_rnCSL36OKBWzTj-zBuB4w@mail.gmail.com' \
--to=costas.argyris@gmail.com \
--cc=gcc-patches@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).